nRF Connect SDK API 2.8.0
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
12#ifdef __cplusplus
13extern "C" {
14#endif
15
32int cpu_load_init(void);
33
39void cpu_load_reset(void);
40
48uint32_t cpu_load_get(void);
49
52#ifdef __cplusplus
53}
54#endif
55
56#endif /* __CPU_LOAD_H */
void cpu_load_reset(void)
Reset measurement.
int cpu_load_init(void)
Initialize the CPU load measurement module.
uint32_t cpu_load_get(void)
Get the CPU load measurement value.