Zephyr API Documentation
3.6.0
A Scalable Open Source RTOS
3.6.0
Toggle main menu visibility
Main Page
Related Pages
Modules
Data Structures
Data Structures
Data Structure Index
Data Fields
All
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Functions
Variables
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Enumerations
Enumerator
Files
File List
Globals
All
$
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Functions
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Variables
$
a
b
c
d
f
g
h
i
k
l
m
n
o
p
r
s
t
x
z
Typedefs
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Enumerations
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
x
z
Enumerator
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
x
z
Macros
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
•
All
Data Structures
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
Modules
Pages
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 Sat Feb 24 2024 03:45:05 for Zephyr API Documentation by
1.9.6