]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/blame - include/linux/trace_clock.h
ACPI: fix acpi_find_child_device() invocation in acpi_preset_companion()
[mirror_ubuntu-bionic-kernel.git] / include / linux / trace_clock.h
CommitLineData
b2441318 1/* SPDX-License-Identifier: GPL-2.0 */
14131f2f
IM
2#ifndef _LINUX_TRACE_CLOCK_H
3#define _LINUX_TRACE_CLOCK_H
4
5/*
6 * 3 trace clock variants, with differing scalability/precision
7 * tradeoffs:
8 *
9 * - local: CPU-local trace clock
10 * - medium: scalable global clock with some jitter
11 * - global: globally monotonic, serialized clock
12 */
13#include <linux/compiler.h>
14#include <linux/types.h>
15
8cbd9cc6
DS
16#include <asm/trace_clock.h>
17
14131f2f
IM
18extern u64 notrace trace_clock_local(void);
19extern u64 notrace trace_clock(void);
8aacf017 20extern u64 notrace trace_clock_jiffies(void);
14131f2f 21extern u64 notrace trace_clock_global(void);
6249687f 22extern u64 notrace trace_clock_counter(void);
14131f2f
IM
23
24#endif /* _LINUX_TRACE_CLOCK_H */