Please enable JavaScript to view this site.

Memory Validator Help

Navigation: Native API

Setting Watermarks & Bookmarks

Scroll Prev Top Next More

 

API Functions setting watermarks and bookmarks

 

 

mvSetWatermark()

 

Creates a named watermark in Memory Validator. This watermark applies to data regardless of which thread the data is collected on.

 

You can use this watermark in the main tab views when filtering results and detecting memory leaks.

 

The watermarks can also be used in the API to notify your target program (via a callback) of leaks detected after or between named watermarks.

 

The watermark created will reference the most recent data trace recorded at the time of calling.

 

extern "C" 
void mvSetWatermark(const TCHAR   *name);

 

 

mvSetWatermarkEx()

 

Creates a named watermark in Memory Validator. This watermark applies to data collected on this thread only.

 

You can use this watermark in the main tab views when filtering results and detecting memory leaks.

 

The watermarks can also be used in the API to notify your target program (via a callback) of leaks detected after or between named watermarks.

 

The watermark created will reference the most recent data trace recorded at the time of calling.

 

extern "C" 
void mvSetWatermarkEx(const TCHAR   *name);

 

 

mvSetBookmark()

 

Creates a named bookmark, referencing the most recent data trace recorded at the time of calling.

 

This is useful to automatically generate a point of interest in the event history that you might want to locate easily in the main tab views.

 

extern "C" 
void mvSetBookmark(const TCHAR   *name);