Merge git://git.infradead.org/intel-iommu
[deliverable/linux.git] / arch / x86 / kernel / trace_clock.c
CommitLineData
8cbd9cc6
DS
1/*
2 * X86 trace clocks
3 */
4#include <asm/trace_clock.h>
5#include <asm/barrier.h>
6#include <asm/msr.h>
7
8/*
9 * trace_clock_x86_tsc(): A clock that is just the cycle counter.
10 *
11 * Unlike the other clocks, this is not in nanoseconds.
12 */
13u64 notrace trace_clock_x86_tsc(void)
14{
03b9730b 15 return rdtsc_ordered();
8cbd9cc6 16}
This page took 0.194149 seconds and 5 git commands to generate.