idfxx 1.0.0
Modern C++23 components for ESP-IDF
Loading...
Searching...
No Matches
idfxx::heap_info Struct Reference

Heap region statistics. More...

Public Attributes

size_t total_free_bytes
 Total free bytes across matching regions.
 
size_t total_allocated_bytes
 Total allocated bytes across matching regions.
 
size_t largest_free_block
 Size of the largest contiguous free block.
 
size_t minimum_free_bytes
 Minimum free bytes since boot (high-water mark).
 
size_t allocated_blocks
 Number of allocated blocks.
 
size_t free_blocks
 Number of free blocks.
 
size_t total_blocks
 Total number of blocks (allocated + free).
 

Detailed Description

Heap region statistics.

Aggregated information about heap regions matching a set of capability flags. Returned by get_heap_info().

Definition at line 76 of file memory.hpp.

Member Data Documentation

◆ allocated_blocks

size_t idfxx::heap_info::allocated_blocks

Number of allocated blocks.

Definition at line 81 of file memory.hpp.

◆ free_blocks

size_t idfxx::heap_info::free_blocks

Number of free blocks.

Definition at line 82 of file memory.hpp.

◆ largest_free_block

size_t idfxx::heap_info::largest_free_block

Size of the largest contiguous free block.

Definition at line 79 of file memory.hpp.

◆ minimum_free_bytes

size_t idfxx::heap_info::minimum_free_bytes

Minimum free bytes since boot (high-water mark).

Definition at line 80 of file memory.hpp.

◆ total_allocated_bytes

size_t idfxx::heap_info::total_allocated_bytes

Total allocated bytes across matching regions.

Definition at line 78 of file memory.hpp.

◆ total_blocks

size_t idfxx::heap_info::total_blocks

Total number of blocks (allocated + free).

Definition at line 83 of file memory.hpp.

◆ total_free_bytes

size_t idfxx::heap_info::total_free_bytes

Total free bytes across matching regions.

Definition at line 77 of file memory.hpp.


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