void ProfFlush()
When running the Microsoft Windows Profiler, this function flushes the sampling buffer to disk, provided that samples do not exceed predefined limits.
When running with Windows in any mode other than 386 enhanced mode, you must specify the size of the output buffer and the amount of samples to be written to disk.
When running with Windows in 386 enhanced mode, an application calls the ProfSetup function to specify the size of the output buffer and the amount of samples to be written to disk.
This function has no parameters.
None.
Do not call ProfFlush repeatedly because it can seriously impair the performance of the application. Additionally, do not call the function when DOS may be unstable, as in interrupt handling.