2 * linux/include/asm-x86_64/timex.h
4 * x86-64 architecture timex specifications
6 #ifndef _ASMx8664_TIMEX_H
7 #define _ASMx8664_TIMEX_H
9 #include <linux/config.h>
10 #include <asm/8253pit.h>
12 #include <asm/vsyscall.h>
15 #define CLOCK_TICK_RATE PIT_TICK_RATE /* Underlying HZ */
17 typedef unsigned long long cycles_t;
19 extern cycles_t cacheflush_time;
21 static inline cycles_t get_cycles (void)
23 unsigned long long ret;
29 extern unsigned int cpu_khz;
31 extern struct vxtime_data vxtime;