Go to the source code of this file.
Data Structures | |
struct | HeapP_MemStats |
Structure used to pass information about the heap out of HeapP_getHeapStats(). More... | |
struct | HeapBlockLink_t |
The linked list structure is used to link free blocks in order of their memory address. More... | |
struct | StaticHeap_t |
Static heap instance structure. More... | |
struct | HeapP_Object |
Opaque heap object used with the heap APIs. More... | |
Macros | |
#define | HeapP_BYTE_ALIGNMENT (64u) |
Minimum alignment for heap allocations, in units of bytes. More... | |
Functions | |
int32_t | HeapP_construct (HeapP_Object *heapObj, void *heapAddr, size_t heapSize) |
Create a user defined heap. More... | |
void | HeapP_destruct (HeapP_Object *heapObj) |
Delete the user defined heap. More... | |
void * | HeapP_alloc (HeapP_Object *heapObj, size_t allocSize) |
Alloc memory from user defined heap. More... | |
int32_t | HeapP_free (HeapP_Object *heapObj, void *ptr) |
Free memory from user defined heap. More... | |
size_t | HeapP_getFreeHeapSize (HeapP_Object *heapObj) |
Get free heap size, in bytes. More... | |
size_t | HeapP_getMinimumEverFreeHeapSize (HeapP_Object *heapObj) |
Get lowest ever free heap size, in bytes. More... | |
int32_t | HeapP_getHeapStats (HeapP_Object *heapObj, HeapP_MemStats *pHeapStats) |
Get detailed heap statistics. More... | |