ProfFlush

3.0

  void ProfFlush(void)    

The ProfFlush function flushes the Microsoft Windows Profiler sampling buffer to disk.

Parameters

This function has no parameters.

Return Value

This function does not return a value.

Comments

Excessive use of the ProfFlush function can seriously impair application performance. An application should not use ProfFlush when MS-DOS may be unstable (inside an interrupt handler, for example).

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

Example

The following example uses the ProfFlush function to flush the Profiler buffer before changing the buffer size:

ProfFlush();                /* flushes existing buffer */
ProfSetup(1024, 0);         /* uses a 1024K buffer     */