]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/blame - tools/perf/util/tsc.h
Merge branch 'for-rafael' of https://git.kernel.org/pub/scm/linux/kernel/git/mzx...
[mirror_ubuntu-artful-kernel.git] / tools / perf / util / tsc.h
CommitLineData
0b437860
AH
1#ifndef __PERF_TSC_H
2#define __PERF_TSC_H
3
4#include <linux/types.h>
5
6#include "../arch/x86/util/tsc.h"
7
8u64 perf_time_to_tsc(u64 ns, struct perf_tsc_conversion *tc);
9u64 tsc_to_perf_time(u64 cyc, struct perf_tsc_conversion *tc);
a6a69db4 10u64 rdtsc(void);
0b437860
AH
11
12#endif