mirror of
https://github.com/Qortal/Brooklyn.git
synced 2025-01-31 07:12:18 +00:00
2a709f28fa
* 0day explit mitigation * Memory corruption prevention * Privilege escalation prevention * Buffer over flow prevention * File System corruption defense * Thread escape prevention This may very well be the most intensive inclusion to BrooklynR. This will not be part of an x86 suite nor it will be released as tool kit. The security core toolkit will remain part of kernel base.
24 lines
628 B
C
24 lines
628 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>
|
|
|
|
#include <asm/trace_clock.h>
|
|
|
|
extern u64 notrace trace_clock_local(void);
|
|
extern u64 notrace trace_clock(void);
|
|
extern u64 notrace trace_clock_jiffies(void);
|
|
extern u64 notrace trace_clock_global(void);
|
|
extern u64 notrace trace_clock_counter(void);
|
|
|
|
#endif /* _LINUX_TRACE_CLOCK_H */
|