background image
<< the standard ANSI functions | Exporting a Report to HTML >>
<< the standard ANSI functions | Exporting a Report to HTML >>

Using the Memory Profiling Viewer

Test RealTime - User Guide
) \
{ \
void *ret; \
ret = func ( _PurifyLTHeapAction (
_PurifyLT_API_BEFORE_REALLOC, \
ptr, size, delayed_free ), \
_PurifyLTHeapActualSize ( size ) ); \
return _PurifyLTHeapAction ( _PurifyLT_API_ALLOC, ret, size, 0
); \
}
#define _PurifyLT_FREE_LIKE(func,delayed_free) \
void RTRT_CONCAT_MACRO(usr_,func) ( void *ptr ) \
{ \
if ( delayed_free ) \
{ \
_PurifyLTHeapAction ( _PurifyLT_API_FREE, ptr, 0,
delayed_free ); \
} \
else \
{ \
func ( _PurifyLTHeapAction ( _PurifyLT_API_FREE, ptr, 0,
delayed_free ) ); \
} \
}
Using the Memory Profiling Viewer
Memory Profiling results for C and C++ are displayed in the Memory Profiling
Viewer. Memory Profiling for Java uses the Report Viewer.
Error and Warning Filter
The Memory Profiling Viewer for C and C++ allows you to filter out any particular
type of Error or Warning message from the report.
To filter out error or warning messages:
1.
Select an active Memory Profiling Viewer window.
2. From
the
Memory Profiling menu, select Errors and Warnings.
3.
Select or clear the type of message that you want to show or hide.
Reloading a Report
If a Memory Profiling report has been updated since the moment you have opened it
in the Memory Profiling Viewer, you can use the Reload command to refresh the
display:
To reload a report:
1.
From the View Toolbar, click the Reload button.
76