mbed library sources. Supersedes mbed-src.

Dependents:   Nucleo_Hello_Encoder BLE_iBeaconScan AM1805_DEMO DISCO-F429ZI_ExportTemplate1 ... more

Embed: (wiki syntax)

« Back to documentation index

mbed_stats_heap_t Struct Reference

mbed_stats_heap_t Struct Reference
[stats functions]

struct mbed_stats_heap_t definition More...

#include <mbed_stats.h>

Data Fields

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

Detailed Description

struct mbed_stats_heap_t definition

Definition at line 60 of file cmsis/BUILD/mbed/platform/mbed_stats.h.


Field Documentation

uint32_t alloc_cnt

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

Definition at line 65 of file cmsis/BUILD/mbed/platform/mbed_stats.h.

uint32_t alloc_fail_cnt

Number of failed allocations since reset.

Definition at line 66 of file cmsis/BUILD/mbed/platform/mbed_stats.h.

uint32_t current_size

Bytes currently allocated on the heap.

Definition at line 61 of file cmsis/BUILD/mbed/platform/mbed_stats.h.

uint32_t max_size

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

Definition at line 62 of file cmsis/BUILD/mbed/platform/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 67 of file cmsis/BUILD/mbed/platform/mbed_stats.h.

uint32_t reserved_size

Current number of bytes reserved for the heap.

Definition at line 64 of file cmsis/BUILD/mbed/platform/mbed_stats.h.

uint32_t total_size

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

Definition at line 63 of file cmsis/BUILD/mbed/platform/mbed_stats.h.