]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/blob - include/linux/trace_clock.h
Merge tag 'f2fs-for-v3.10' of git://git.kernel.org/pub/scm/linux/kernel/git/jaegeuk...
[mirror_ubuntu-zesty-kernel.git] / include / linux / trace_clock.h
1 #ifndef _LINUX_TRACE_CLOCK_H
2 #define _LINUX_TRACE_CLOCK_H
3
4 /*
5 * 3 trace clock variants, with differing scalability/precision
6 * tradeoffs:
7 *
8 * - local: CPU-local trace clock
9 * - medium: scalable global clock with some jitter
10 * - global: globally monotonic, serialized clock
11 */
12 #include <linux/compiler.h>
13 #include <linux/types.h>
14
15 #include <asm/trace_clock.h>
16
17 extern u64 notrace trace_clock_local(void);
18 extern u64 notrace trace_clock(void);
19 extern u64 notrace trace_clock_jiffies(void);
20 extern u64 notrace trace_clock_global(void);
21 extern u64 notrace trace_clock_counter(void);
22
23 #endif /* _LINUX_TRACE_CLOCK_H */