Zephyr API Documentation
4.2.99
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
cpu_load.h
Go to the documentation of this file.
1
/*
2
* Copyright (c) 2025 Analog Devices, Inc.
3
*
4
* SPDX-License-Identifier: Apache-2.0
5
*/
6
7
#ifndef ZEPHYR_SUBSYS_CPU_LOAD_H_
8
#define ZEPHYR_SUBSYS_CPU_LOAD_H_
9
10
#include <
stdint.h
>
11
12
#ifdef __cplusplus
13
extern
"C"
{
14
#endif
15
24
37
int
cpu_load_get
(
int
cpu_id);
38
42
43
#ifdef __cplusplus
44
}
45
#endif
46
47
#endif
/* ZEPHYR_SUBSYS_CPU_LOAD_H_ */
cpu_load_get
int cpu_load_get(int cpu_id)
Get the CPU load as a percentage.
stdint.h
zephyr
cpu_load
cpu_load.h
Generated on
for Zephyr API Documentation by
1.14.0