| 35 | #endif |
| 36 | |
| 37 | void timeStampRecord::readNew(void) |
| 38 | { |
| 39 | #if defined(__linux__) || defined(__APPLE__) || defined(__unix__) |
| 40 | clock_gettime( CLOCK_REALTIME, &ts ); |
| 41 | #else |
| 42 | QueryPerformanceCounter((LARGE_INTEGER*)&ts); |
| 43 | #endif |
| 44 | tsc = rdtsc(); |
| 45 | } |
| 46 | #if defined(WIN32) |
| 47 | void timeStampRecord::qpcCalibrate(void) |
| 48 | { |
no test coverage detected