Zephyr API Documentation  3.6.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
17extern "C" {
18#endif
19
20#include <stddef.h>
21
22/* A common structure used to report runtime memory usage statistics */
23
25 size_t free_bytes;
28};
29
30#ifdef __cplusplus
31}
32#endif
33
34#endif /* ZEPHYR_INCLUDE_SYS_MEM_STATS_H_ */
Definition: mem_stats.h:24
size_t max_allocated_bytes
Definition: mem_stats.h:27
size_t allocated_bytes
Definition: mem_stats.h:26
size_t free_bytes
Definition: mem_stats.h:25