1 #ifndef UTILITIES_TIMING_PENTIUMTIMER_H
2 #define UTILITIES_TIMING_PENTIUMTIMER_H
13 #if defined(__x86_64__) || defined(__i386__)
17 __asm__
volatile (
".byte 0x0f, 0x31" :
"=A" (
x));
20 #elif defined(__arm__)
21 #warning PentiumTimeType rdtscPentium() is not yet implemented for ARM architecture. Default return 0.
26 #error PentiumTimeType rdtscPentium() is not implemented for your CPU architecture.
65 #endif // UTILITIES_TIMING_PENTIUMTIMER_H
static TimeType time(int)
PentiumTimeIntervalType IntervalType
unsigned long long int PentiumTimeType
long long int PentiumTimeIntervalType
GenTimer< PentiumTime > PentiumTimer
GenTimeInterval< PentiumTime > TimeInterval