13.07.2015 Views

REFERENCE GUIDE

REFERENCE GUIDE

REFERENCE GUIDE

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

ProfinsChkParametersReturn valueNone.The return value specifies whether Profiler is installed and the versioninstalled. The return value is zero if Profiler is not installed, 1 if theWindows Profiler is installed for a mode other than 386 enhanced mode,and 2 if the Windows 386 enhanced mode Profiler is installed.ProfSampRate 3.0Syntaxvoid ProfSampRate(nRate286, nRate386)When running the Microsoft Windows Profiler, this function sets the rateof code sampling. See Tools for more information on using the Profiler.Parameters nRate286 int Specifies the sampling rate of Profiler if the application isrunning with Windows in any mode other than 386enhanced mode. The value of nRate286 ranges from 1 to 13,indicating the following sampling rates:Return valueCommentsnRate386None.Value Sampling Rate1 122.070 microseconds2 244.141 microseconds3 488.281 microseconds4 976.562 microseconds5 1.953125 milliseconds6 3.90625 milliseconds7 7.8125 milliseconds8 15.625 milliseconds9 31.25 milliseconds10 62.5 milliseconds11 125 milliseconds12 250 milliseconds13 500 millisecondsint Specifies the sampling rate of Profiler if the application isrunning with Windows in 386 enhanced mode. The value ofnRate386 can range from 1 to 1000, specifying the samplingrate in milliseconds.The default rate is 5 (1.953125 milliseconds) for Windows in any modeother than 386 enhanced mode. The default rate is 2 milliseconds forWindows in 386 enhanced mode.Chapter 4, Functions directory 461

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!