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
34 __asm__
volatile(
"rdtsc" :
"=a" (
a),
"=d" (d));
35 return ((uint64_t)d << 32) + a;
41 #define AV_READ_TIME __rdtsc
static uint64_t read_time(void)