LCOV - code coverage report
Current view: top level - arch/x86/kernel - trace_clock.c (source / functions) Hit Total Coverage
Test: combined.info Lines: 0 2 0.0 %
Date: 2022-03-28 16:04:14 Functions: 0 1 0.0 %
Branches: 0 0 -

           Branch data     Line data    Source code
       1                 :            : // SPDX-License-Identifier: GPL-2.0
       2                 :            : /*
       3                 :            :  * X86 trace clocks
       4                 :            :  */
       5                 :            : #include <asm/trace_clock.h>
       6                 :            : #include <asm/barrier.h>
       7                 :            : #include <asm/msr.h>
       8                 :            : 
       9                 :            : /*
      10                 :            :  * trace_clock_x86_tsc(): A clock that is just the cycle counter.
      11                 :            :  *
      12                 :            :  * Unlike the other clocks, this is not in nanoseconds.
      13                 :            :  */
      14                 :          0 : u64 notrace trace_clock_x86_tsc(void)
      15                 :            : {
      16                 :          0 :         return rdtsc_ordered();
      17                 :            : }

Generated by: LCOV version 1.14