Go to the documentation of this file.
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