Gitiles
Code Review
Sign In
LeafOS
/
LeafOS-Devices
/
android_kernel_samsung_universal7904
/
f55a7ceaf4851573d2cb494e1c701136748334d2
/
.
/
tools
/
perf
/
util
/
tsc.h
blob: a8b78f1b3243891c40560c6501c93ba2d377e37c [
file
] [
log
] [
blame
]
#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
);
u64 rdtsc
(
void
);
#endif