Zephyr API Documentation
4.4.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
12
13
#ifndef ZEPHYR_SUBSYS_CPU_LOAD_H_
14
#define ZEPHYR_SUBSYS_CPU_LOAD_H_
15
16
#include <
stdint.h
>
17
18
#ifdef __cplusplus
19
extern
"C"
{
20
#endif
21
30
43
int
cpu_load_metric_get
(
int
cpu_id);
44
48
49
#ifdef __cplusplus
50
}
51
#endif
52
53
#endif
/* ZEPHYR_SUBSYS_CPU_LOAD_H_ */
cpu_load_metric_get
int cpu_load_metric_get(int cpu_id)
Get the CPU load as a percentage.
stdint.h
zephyr
sys
cpu_load.h
Generated on
for Zephyr API Documentation by
1.16.1