Go to the documentation of this file. 1 #ifndef _ASM_X86_TIMER_H
2 #define _ASM_X86_TIMER_H
8 #define TICK_SIZE (tick_nsec / 1000)
56 #define CYC2NS_SCALE_FACTOR 10
58 static inline unsigned long long __cycles_2_ns(
unsigned long long cyc)
61 unsigned long long ns =
per_cpu(cyc2ns_offset, cpu);
67 static inline unsigned long long cycles_2_ns(
unsigned long long cyc)
69 unsigned long long ns;
73 ns = __cycles_2_ns(cyc);