10.3 Using Profiler Functions

In addition to the mandatory ProfStart and ProfStop functions, Profiler includes functions that determine whether Profiler is installed, specify a rate for sampling, and control the output buffer. Following are the available Profiler functions:

Function Description

ProfClear Discards all buffered Profiler samples.
ProfFinish Stops profile sampling and flushes profile buffer.
ProfFlush Flushes the Profiler sampling buffer to disk.
ProfInsChk Determines whether Profiler is installed.
ProfSampRate Sets the Profiler sampling rate.
ProfSetup Sets Profiler buffer size and sample quantity.
ProfStart Starts Profiler sampling.
ProfStop Stops Profiler sampling.