mirror of
https://github.com/edk2-porting/linux-next.git
synced 2024-12-23 12:43:55 +08:00
12 lines
237 B
C
12 lines
237 B
C
|
#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
|