include: replace linux/module.h with "struct module" wherever possible
[linux-2.6/next.git] / include / linux / trace_clock.h
blob7a8130384087422668463ca916bd623c75d4adcf
1 #ifndef _LINUX_TRACE_CLOCK_H
2 #define _LINUX_TRACE_CLOCK_H
4 /*
5 * 3 trace clock variants, with differing scalability/precision
6 * tradeoffs:
8 * - local: CPU-local trace clock
9 * - medium: scalable global clock with some jitter
10 * - global: globally monotonic, serialized clock
12 #include <linux/compiler.h>
13 #include <linux/types.h>
15 extern u64 notrace trace_clock_local(void);
16 extern u64 notrace trace_clock(void);
17 extern u64 notrace trace_clock_global(void);
19 #endif /* _LINUX_TRACE_CLOCK_H */