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 ARMv7 architecture. Default return 0.
25 #elif defined(__aarch64__)
26 #warning PentiumTimeType rdtscPentium() is not yet implemented for ARMv8 (AArch64) architecture. Default return 0.
31 #error PentiumTimeType rdtscPentium() is not implemented for your CPU architecture.
70 #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