Mistake on this page?
Report an issue in GitHub or email us
Data Fields
mbed_stats_heap_t Struct Reference

struct mbed_stats_heap_t definition More...

#include <mbed_stats.h>

Data Fields

uint32_t current_size
 Bytes currently allocated on the heap. More...
 
uint32_t max_size
 Maximum bytes allocated on the heap at one time since reset. More...
 
uint32_t total_size
 Cumulative sum of bytes allocated on the heap that have not been freed. More...
 
uint32_t reserved_size
 Current number of bytes reserved for the heap. More...
 
uint32_t alloc_cnt
 Current number of allocations that have not been freed since reset. More...
 
uint32_t alloc_fail_cnt
 Number of failed allocations since reset. More...
 
uint32_t overhead_size
 Number of bytes used to store heap statistics. More...
 

Detailed Description

struct mbed_stats_heap_t definition

Definition at line 61 of file mbed_stats.h.

Field Documentation

uint32_t alloc_cnt

Current number of allocations that have not been freed since reset.

Definition at line 66 of file mbed_stats.h.

uint32_t alloc_fail_cnt

Number of failed allocations since reset.

Definition at line 67 of file mbed_stats.h.

uint32_t current_size

Bytes currently allocated on the heap.

Definition at line 62 of file mbed_stats.h.

uint32_t max_size

Maximum bytes allocated on the heap at one time since reset.

Definition at line 63 of file mbed_stats.h.

uint32_t overhead_size

Number of bytes used to store heap statistics.

This overhead takes up space on the heap, reducing the available heap space

Definition at line 68 of file mbed_stats.h.

uint32_t reserved_size

Current number of bytes reserved for the heap.

Definition at line 65 of file mbed_stats.h.

uint32_t total_size

Cumulative sum of bytes allocated on the heap that have not been freed.

Definition at line 64 of file mbed_stats.h.

Important Information for this Arm website

This site uses cookies to store information on your computer. By continuing to use our site, you consent to our cookies. If you are not happy with the use of these cookies, please review our Cookie Policy to learn how they can be disabled. By disabling cookies, some features of the site will not work.