https://github.com/torvalds/linux
Raw File
Tip revision: 93ee7a9340d64f20295aacc3fb6a22b759323280 authored by Linus Torvalds on 14 August 2011, 22:09:08 UTC
Linux 3.1-rc2
Tip revision: 93ee7a9
trace_clock.h
#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 */
back to top