34 #ifndef OCTOMAP_TIMING_H_ 35 #define OCTOMAP_TIMING_H_ 39 #include <sys/timeb.h> 40 #include <sys/types.h> 42 void gettimeofday(
struct timeval* t,
void* timezone) {
43 struct _timeb timebuffer;
44 _ftime64_s( &timebuffer );
45 t->tv_sec= (long) timebuffer.time;
46 t->tv_usec=1000*timebuffer.millitm;