nRF Connect SDK API 3.3.99
Loading...
Searching...
No Matches
cpu_load.h
Go to the documentation of this file.
1/*
2 * Copyright (c) 2019 Nordic Semiconductor ASA
3 *
4 * SPDX-License-Identifier: LicenseRef-Nordic-5-Clause
5 */
6
7#ifndef __CPU_LOAD_H
8#define __CPU_LOAD_H
9
10#include <zephyr/types.h>
11#include <zephyr/toolchain.h>
12
13#ifdef __cplusplus
14extern "C" {
15#endif
16
34__deprecated int cpu_load_init(void);
35
41void cpu_load_reset(void);
42
51int cpu_load_get(void);
52
55#ifdef __cplusplus
56}
57#endif
58
59#endif /* __CPU_LOAD_H */
int cpu_load_get(void)
Get the CPU load measurement value.
void cpu_load_reset(void)
Reset measurement.
int cpu_load_init(void)
Initialize the CPU load measurement module. The module is now automatically initialized....