RTEMS CPU Kit with SuperCore  4.10.99.0
Data Fields
Heap_Statistics Struct Reference

Run-time heap statistics. More...

#include <heap.h>

Data Fields

uint32_t instance
 Instance number of this heap.
uintptr_t size
 Size of the allocatable area in bytes.
uintptr_t free_size
 Current free size in bytes.
uintptr_t min_free_size
 Minimum free size ever in bytes.
uint32_t free_blocks
 Current number of free blocks.
uint32_t max_free_blocks
 Maximum number of free blocks ever.
uint32_t used_blocks
 Current number of used blocks.
uint32_t max_search
 Maximum number of blocks searched ever.
uint32_t allocs
 Total number of successful allocations.
uint32_t searches
 Total number of searches ever.
uint32_t frees
 Total number of suceessful calls to free.
uint32_t resizes
 Total number of successful resizes.

Detailed Description

Run-time heap statistics.

The value searches / allocs gives the mean number of searches per allocation, while max_search gives maximum number of searches ever performed on a single allocation call.


Field Documentation

Current free size in bytes.

This value is an integral multiple of the page size.

Minimum free size ever in bytes.

This value is an integral multiple of the page size.

Size of the allocatable area in bytes.

This value is an integral multiple of the page size.

Referenced by _Heap_Get_size().


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