ProfClear

3.0

  void ProfClear(void)    

The ProfClear function discards all Microsoft Windows Profiler samples currently in the sampling buffer.

Parameters

This function has no parameters.

Return Value

This function does not return a value.

Comments

For more information about using Profiler, see Microsoft Windows Programming Tools.

Example

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  */