#include <memtrack.H>
Memory tracking functions
Static Public Member Functions | |
void | ReportUnfreedMemory (ostream &os) |
produce a formated output onto os of memory usage. | |
void | UnfreedMemory () |
calls ReportUnfreedMemory with pout() | |
void | memTrackingOn () |
void | memtrackingOff () |
void | overallMemoryUsage (long long ¤tTotal, long long &peak) |
|
produce a formated output onto os of memory usage. memory is reported one a class-by-class basis. When ENABLE_MEMORY_TRACKING is turned on you also get a report from the atexit() function. This can be handy for spotting memory leaks. The memory tracking functionality consumes very little runtime and does not impede optimized performance. |
|
calls ReportUnfreedMemory with pout()
|
|
|
|
|
|
|