Return to time.c CVS log | Up to [ELWIX - Embedded LightWeight unIX -] / libelwix / src |
version 1.2.10.1, 2013/06/06 11:55:25 | version 1.3.22.1, 2014/01/14 22:38:58 |
---|---|
Line 283 time_rdtsc(void) | Line 283 time_rdtsc(void) |
asm volatile("rdtsc" : "=a" (res)); | asm volatile("rdtsc" : "=a" (res)); |
return res; | return res; |
#elif | #else |
/* unsupported for this architecture, get time by ordinary way */ | /* unsupported for this architecture, get time by ordinary way */ |
struct timespec ts = { 0, 0LL }; | struct timespec ts = { 0, 0LL }; |
uint64_t res; | uint64_t res; |