#ifndef TIMING_H #define TIMING_H #include #include #include #ifdef WINDOWS // Import windows only stuff #else #include #endif // Support for OS X #ifdef __MACH__ #include #include #endif // Support for Windows #ifdef WINDOWS #include #define timespec timeval #endif namespace alpr { void getTimeMonotonic(timespec* time); int64_t getTimeMonotonicMs(); double diffclock(timespec time1,timespec time2); int64_t getEpochTimeMs(); } #endif