Provides Report on memory usage by the application and writes it to the logfile for the current thread Arguments: None Returns: None
| Return Type | Function name | Arguments |
|---|---|---|
| void | RecordMemoryUsage | (bool,) |
Declared in file: hzProcess.h
Defined in file : hzMemory.cpp
Function Logic:
Function body:
void RecordMemoryUsage (bool bHtml)
{
// Category: Diagnostics
//
// Provides Report on memory usage by the application and writes it to the logfile for the current thread
//
// Arguments: None
// Returns: None
hzChain Z ; // Report output chain
hzLogger* pLog ; // Current thread logger
pLog = GetThreadLogger() ;
if (!pLog)
return ;
pLog->Out("Start of Memory Report\n") ;
ReportMemoryUsage(Z, bHtml) ;
pLog->Out(Z) ;
}