Release 4.14 arch/x86/kernel/trace_clock.c
// SPDX-License-Identifier: GPL-2.0
/*
* X86 trace clocks
*/
#include <asm/trace_clock.h>
#include <asm/barrier.h>
#include <asm/msr.h>
/*
* trace_clock_x86_tsc(): A clock that is just the cycle counter.
*
* Unlike the other clocks, this is not in nanoseconds.
*/
u64 notrace trace_clock_x86_tsc(void)
{
return rdtsc_ordered();
}
Contributors
Person | Tokens | Prop | Commits | CommitProp |
David Sharp | 10 | 83.33% | 1 | 50.00% |
Andrew Lutomirski | 2 | 16.67% | 1 | 50.00% |
Total | 12 | 100.00% | 2 | 100.00% |
Overall Contributors
Person | Tokens | Prop | Commits | CommitProp |
David Sharp | 21 | 87.50% | 1 | 33.33% |
Andrew Lutomirski | 2 | 8.33% | 1 | 33.33% |
Greg Kroah-Hartman | 1 | 4.17% | 1 | 33.33% |
Total | 24 | 100.00% | 3 | 100.00% |
Information contained on this website is for historical information purposes only and does not indicate or represent copyright ownership.