Embedded SDK
Embedded SDK
Loading...
Searching...
No Matches
Public Attributes | List of all members
mem_stat_t Struct Reference

this structure, filled by mem_stat More...

#include <mem_alloc.h>

Public Attributes

size_t total_size
 total size of the heap (including allocator internal data)
 
size_t free_size
 
size_t allocated_size
 nb bytes allocated in the heap (including headers)
 
uint32_t nb_chunks
 total number of chunks
 
uint32_t nb_allocated
 number of allocated chunks
 

Detailed Description

this structure, filled by mem_stat

Definition at line 46 of file mem_alloc.h.

Member Data Documentation

◆ allocated_size

size_t mem_stat_t::allocated_size

nb bytes allocated in the heap (including headers)

Definition at line 50 of file mem_alloc.h.

◆ free_size

size_t mem_stat_t::free_size

nb bytes free in the heap (be careful, it doesn't mean it can be allocated in a single chunk)

Definition at line 48 of file mem_alloc.h.

◆ nb_allocated

uint32_t mem_stat_t::nb_allocated

number of allocated chunks

Definition at line 52 of file mem_alloc.h.

◆ nb_chunks

uint32_t mem_stat_t::nb_chunks

total number of chunks

Definition at line 51 of file mem_alloc.h.

◆ total_size

size_t mem_stat_t::total_size

total size of the heap (including allocator internal data)

Definition at line 47 of file mem_alloc.h.


The documentation for this struct was generated from the following file: