void ProfFlush(void) |
The ProfFlush function flushes the Microsoft Windows Profiler sampling buffer to disk.
This function has no parameters.
This function does not return a value.
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.
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 */