void ProfSetup(nBufferKB, nSamplesKB) | |||||
int nBufferKB; | /* size of output buffer | */ | |||
int nSamplesKB; | /* amount of sample data written to disk | */ |
The ProfSetup function specifies the size of the Microsoft Windows Profiler output buffer and how much sampling data Profiler is to write to the disk.
Profiler ignores the ProfSetup function when running with Windows in any mode other than 386 enhanced mode.
nBufferKB
Specifies the size, in kilobytes, of the output buffer. This value is in the range 1 through 1064. The default value is 64.
nSamplesKB
Specifies the amount, in kilobytes, of sampling data Profiler writes to the disk. A value of zero (the default value) specifies unlimited sampling data.
This function does not return a value.
Do not call the ProfSetup function after calling ProfStart. To resize memory after ProfStart has been called, first call the ProfStop function.