3 static inline unsigned int realcc (
void)
6 #define CYCLES_PER_SEC 466000000
8 asm volatile(
"rpcc %0" :
"=r"(cc) : :
"memory");
10 #elif defined (__I386)
11 #define CYCLES_PER_SEC 800000000
12 unsigned long eax, edx;
13 asm volatile(
"rdtsc":
"=a" (eax),
"=d" (edx));