Structure used to pass information about the heap out of HeapP_getHeapStats().
Data Fields | |
size_t | availableHeapSpaceInBytes |
size_t | sizeOfLargestFreeBlockInBytes |
size_t | sizeOfSmallestFreeBlockInBytes |
size_t | numberOfFreeBlocks |
size_t | minimumEverFreeBytesRemaining |
size_t | numberOfSuccessfulAllocations |
size_t | numberOfSuccessfulFrees |
size_t HeapP_MemStats::availableHeapSpaceInBytes |
The total heap size, in bytes, currently available - this is the sum of all the free blocks, not the largest block that can be allocated.
size_t HeapP_MemStats::sizeOfLargestFreeBlockInBytes |
The maximum size, in bytes, of all the free blocks within the heap at the time vPortGetHeapStats() is called.
size_t HeapP_MemStats::sizeOfSmallestFreeBlockInBytes |
The minimum size, in bytes, of all the free blocks within the heap at the time vPortGetHeapStats() is called.
size_t HeapP_MemStats::numberOfFreeBlocks |
The number of free memory blocks within the heap at the time vPortGetHeapStats() is called.
size_t HeapP_MemStats::minimumEverFreeBytesRemaining |
The minimum amount of total free memory, in bytes, (sum of all free blocks) there has been in the heap since the system booted.
size_t HeapP_MemStats::numberOfSuccessfulAllocations |
The number of calls to HeapP_alloc() that have returned a valid memory block.
size_t HeapP_MemStats::numberOfSuccessfulFrees |
The number of calls to HeapP_free() that has successfully freed a block of memory.