zephyr/subsys/pm/pm_stats.h
Keith Short 5615e466c9 pm: Cleanup PM stats
Convert PM stats code to use IS_ENABLED in place of #ifdefs.

Signed-off-by: Keith Short <keithshort@google.com>
2025-04-30 18:44:32 +02:00

17 lines
382 B
C

/*
* Copyright (c) 2018 Intel Corporation.
* Copyright (c) 2021 Nordic Semiconductor ASA
*
* SPDX-License-Identifier: Apache-2.0
*/
#ifndef ZEPHYR_SUBSYS_PM_PM_STATS_H_
#define ZEPHYR_SUBSYS_PM_PM_STATS_H_
#include <zephyr/pm/state.h>
void pm_stats_start(void);
void pm_stats_stop(void);
void pm_stats_update(enum pm_state state);
#endif /* ZEPHYR_SUBSYS_PM_PM_STATS_H_ */