Merge branch 'fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/evalenti/linux...
[linux/fpc-iii.git] / tools / perf / arch / x86 / util / tsc.h
blob2edc4d31065c1941dc7d4f6027aa6fd0ee81fc63
1 #ifndef TOOLS_PERF_ARCH_X86_UTIL_TSC_H__
2 #define TOOLS_PERF_ARCH_X86_UTIL_TSC_H__
4 #include <linux/types.h>
6 struct perf_tsc_conversion {
7 u16 time_shift;
8 u32 time_mult;
9 u64 time_zero;
12 struct perf_event_mmap_page;
14 int perf_read_tsc_conversion(const struct perf_event_mmap_page *pc,
15 struct perf_tsc_conversion *tc);
17 #endif /* TOOLS_PERF_ARCH_X86_UTIL_TSC_H__ */