void ProfClear(void) |
The ProfClear function discards all Microsoft Windows Profiler samples currently in the sampling buffer.
This function has no parameters.
This function does not return a value.
For more information about using Profiler, see Microsoft Windows Programming Tools.
The following example uses the ProfClear function to clear the Profiler sampling buffer before changing the sampling rate:
ProfClear(); /* clears existing buffer */
ProfSampRate(5, 1); /* changes sampling rate */