21 #ifndef AVUTIL_X86_TIMER_H
22 #define AVUTIL_X86_TIMER_H
28 #define FF_TIMER_UNITS "decicycles"
29 #define AV_READ_TIME read_time
35 #if ARCH_X86_64 || defined(__SSE2__)
39 :
"=a" (
a),
"=d" (d));
40 return ((uint64_t)d << 32) + a;
46 #define AV_READ_TIME __rdtsc
static uint64_t read_time(void)