repo.or.cz
/
linux
/
fpc-iii.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Merge branch 'fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/evalenti/linux...
[linux/fpc-iii.git]
/
tools
/
perf
/
util
/
tsc.h
blob
a8b78f1b3243891c40560c6501c93ba2d377e37c
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
8
u64
perf_time_to_tsc
(
u64 ns
,
struct
perf_tsc_conversion
*
tc
);
9
u64
tsc_to_perf_time
(
u64 cyc
,
struct
perf_tsc_conversion
*
tc
);
10
u64
rdtsc
(
void
);
11
12
#endif