#ifndef TIMING_H #define TIMING_H #include // Support for OS X #ifdef __MACH__ #include #include #endif // Support for Windows #ifdef WINDOWS #include #define timespec timeval #endif void getTime(timespec* time); double diffclock(timespec time1,timespec time2); #endif