4 # error gcc asm extensions required
7 # error only i386 platform supported
26 __asm__ __volatile__(
"rdtsc" :
"=A" (result));
27 }
while (__builtin_expect ((
int) result == -1, 0));
unsigned long long g_tw_clock_rate
void tw_clock_init(tw_pe *me)
Holds the entire PE state.
static const tw_optdef clock_opts[]
const tw_optdef * tw_clock_setup(void)
#define TWOPT_ULONGLONG(n, v, h)
tw_clock clock_offset
Initial clock value for this PE.
tw_clock clock_time
Most recent clock value for this PE.
tw_clock tw_clock_read(void)
tw_clock tw_clock_now(tw_pe *me)