summaryrefslogtreecommitdiff
path: root/tools/perf/util/tsc.h
blob: 4eca84887c8a5e9a4c16b53eadd2e0d0db1d98b9 (plain)
1
2
3
4
5
6
7
8
9
10
11
#ifndef __PERF_TSC_H
#define __PERF_TSC_H

#include <linux/types.h>

#include "../arch/x86/util/tsc.h"

u64 perf_time_to_tsc(u64 ns, struct perf_tsc_conversion *tc);
u64 tsc_to_perf_time(u64 cyc, struct perf_tsc_conversion *tc);

#endif