LCOV - code coverage report
Current view: top level - zephyr/arch/arc/v2 - misc.h Hit Total Coverage
Test: new.info Lines: 1 5 20.0 %
Date: 2024-12-21 18:13:37

          Line data    Source code
       1           1 : /*
       2             :  * Copyright (c) 2014 Wind River Systems, Inc.
       3             :  *
       4             :  * SPDX-License-Identifier: Apache-2.0
       5             :  */
       6             : 
       7             : /**
       8             :  * @file
       9             :  * @brief ARCv2 public kernel miscellaneous
      10             :  *
      11             :  * ARC-specific kernel miscellaneous interface. Included by arc/arch.h.
      12             :  */
      13             : 
      14             : #ifndef ZEPHYR_INCLUDE_ARCH_ARC_V2_MISC_H_
      15             : #define ZEPHYR_INCLUDE_ARCH_ARC_V2_MISC_H_
      16             : 
      17             : #ifdef __cplusplus
      18             : extern "C" {
      19             : #endif
      20             : 
      21             : #ifndef _ASMLANGUAGE
      22             : extern unsigned int z_arc_cpu_sleep_mode;
      23             : 
      24           0 : extern uint32_t sys_clock_cycle_get_32(void);
      25             : 
      26           0 : static inline uint32_t arch_k_cycle_get_32(void)
      27             : {
      28             :         return sys_clock_cycle_get_32();
      29             : }
      30             : 
      31           0 : extern uint64_t sys_clock_cycle_get_64(void);
      32             : 
      33           0 : static inline uint64_t arch_k_cycle_get_64(void)
      34             : {
      35             :         return sys_clock_cycle_get_64();
      36             : }
      37             : #endif
      38             : 
      39             : #ifdef __cplusplus
      40             : }
      41             : #endif
      42             : 
      43             : #endif /* ZEPHYR_INCLUDE_ARCH_ARC_V2_MISC_H_ */

Generated by: LCOV version 1.14