Platform Package reference: Function EwDumpHeap()

Description of the function EwDumpHeap() available in all Platform Packages for C compatible target systems. This function is intended to be used when integrating the Embedded Wizard created GUI application with the underlying graphics subsystem, graphics hardware or other external GUI applications coexisting on the same system.

Declaration

void EwDumpHeap( int aDetailed )

Parameters

aDetailed

If != 0 (zero), the functions prints a list of all memory blocks. If == 0, only heap overview is printed.

Discussion

The function EwDumpHeap() exists for debugging purpose. It evaluates the contents of all memory pools managed actually be the heap manager and prints the associated information as well as the existing blocks if the parameter aDetailed is not 0 (zero).