Stub rdtsc on other platforms to ease porting.

ck_pring
Samy Al Bahra 14 years ago
parent bcaadcf094
commit b87d6f8af1

@ -99,6 +99,8 @@ rdtsc(void)
__asm__ __volatile__("rd %%tick, %0" : "=r" (r) :: "memory"); __asm__ __volatile__("rd %%tick, %0" : "=r" (r) :: "memory");
return r; return r;
#else
return 0;
#endif #endif
} }

Loading…
Cancel
Save