mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-28 11:18:45 +07:00
20 lines
506 B
C
20 lines
506 B
C
|
#ifndef _LINUX_TRACE_CLOCK_H
|
||
|
#define _LINUX_TRACE_CLOCK_H
|
||
|
|
||
|
/*
|
||
|
* 3 trace clock variants, with differing scalability/precision
|
||
|
* tradeoffs:
|
||
|
*
|
||
|
* - local: CPU-local trace clock
|
||
|
* - medium: scalable global clock with some jitter
|
||
|
* - global: globally monotonic, serialized clock
|
||
|
*/
|
||
|
#include <linux/compiler.h>
|
||
|
#include <linux/types.h>
|
||
|
|
||
|
extern u64 notrace trace_clock_local(void);
|
||
|
extern u64 notrace trace_clock(void);
|
||
|
extern u64 notrace trace_clock_global(void);
|
||
|
|
||
|
#endif /* _LINUX_TRACE_CLOCK_H */
|