LCOV - code coverage report
Current view: top level - lib/eal/x86 - rte_spinlock.c (source / functions) Hit Total Coverage
Test: Code coverage Lines: 3 3 100.0 %
Date: 2025-01-02 22:41:34 Functions: 1 1 100.0 %
Legend: Lines: hit not hit | Branches: + taken - not taken # not executed Branches: 0 0 -

           Branch data     Line data    Source code
       1                 :            : /* SPDX-License-Identifier: BSD-3-Clause
       2                 :            :  * Copyright(c) 2010-2014 Intel Corporation
       3                 :            :  */
       4                 :            : 
       5                 :            : #include <stdint.h>
       6                 :            : 
       7                 :            : #include "rte_cpuflags.h"
       8                 :            : 
       9                 :            : uint8_t rte_rtm_supported; /* cache the flag to avoid the overhead
      10                 :            :                               of the rte_cpu_get_flag_enabled function */
      11                 :            : 
      12                 :        251 : RTE_INIT(rte_rtm_init)
      13                 :            : {
      14                 :        251 :         rte_rtm_supported = rte_cpu_get_flag_enabled(RTE_CPUFLAG_RTM);
      15                 :        251 : }

Generated by: LCOV version 1.14