LCOV - code coverage report
Current view: top level - subsys/pm - pm_stats.h (source / functions) Hit Total Coverage
Test: coverage.info Lines: 0 3 0.0 %
Date: 2022-08-18 11:36:24 Functions: 0 3 0.0 %
Legend: Lines: hit not hit | Branches: + taken - not taken # not executed Branches: 0 0 -

           Branch data     Line data    Source code
       1                 :            : /*
       2                 :            :  * Copyright (c) 2018 Intel Corporation.
       3                 :            :  * Copyright (c) 2021 Nordic Semiconductor ASA
       4                 :            :  *
       5                 :            :  * SPDX-License-Identifier: Apache-2.0
       6                 :            :  */
       7                 :            : 
       8                 :            : #ifndef ZEPHYR_SUBSYS_PM_PM_STATS_H_
       9                 :            : #define ZEPHYR_SUBSYS_PM_PM_STATS_H_
      10                 :            : 
      11                 :            : #include <pm/state.h>
      12                 :            : 
      13                 :            : #ifdef CONFIG_PM_STATS
      14                 :            : void pm_stats_start(void);
      15                 :            : void pm_stats_stop(void);
      16                 :            : void pm_stats_update(enum pm_state state);
      17                 :            : #else
      18                 :          0 : static inline void pm_stats_start(void) {}
      19                 :          0 : static inline void pm_stats_stop(void) {}
      20                 :          0 : static inline void pm_stats_update(enum pm_state state) {}
      21                 :            : #endif /* CONFIG_PM_STATS */
      22                 :            : 
      23                 :            : #endif /* ZEPHYR_SUBSYS_PM_PM_STATS_H_ */

Generated by: LCOV version 1.14