Zephyr API Documentation
4.0.99
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
mem_stats.h
Go to the documentation of this file.
1
/*
2
* Copyright (c) 2022 Intel Corporation
3
*
4
* SPDX-License-Identifier: Apache-2.0
5
*/
6
13
#ifndef ZEPHYR_INCLUDE_SYS_MEM_STATS_H_
14
#define ZEPHYR_INCLUDE_SYS_MEM_STATS_H_
15
16
#ifdef __cplusplus
17
extern
"C"
{
18
#endif
19
20
#include <stddef.h>
21
22
/* A common structure used to report runtime memory usage statistics */
23
24
struct
sys_memory_stats
{
25
size_t
free_bytes
;
26
size_t
allocated_bytes
;
27
size_t
max_allocated_bytes
;
28
};
29
30
#ifdef __cplusplus
31
}
32
#endif
33
34
#endif
/* ZEPHYR_INCLUDE_SYS_MEM_STATS_H_ */
sys_memory_stats
Definition
mem_stats.h:24
sys_memory_stats::max_allocated_bytes
size_t max_allocated_bytes
Definition
mem_stats.h:27
sys_memory_stats::allocated_bytes
size_t allocated_bytes
Definition
mem_stats.h:26
sys_memory_stats::free_bytes
size_t free_bytes
Definition
mem_stats.h:25
zephyr
sys
mem_stats.h
Generated on Thu Nov 21 2024 21:02:49 for Zephyr API Documentation by
1.12.0