[comp.lang.pascal] Profiling in Turbo Pascal

ciao@freja.diku.dk (Lars Christensen) (04/09/89)

     I would like to find the places in my TP-program, where most of the
time is spent. A simple strategi like writing an interrupt rutine, invoked
"often", which looks at the address at which the program was intterupted, and
storing this info in table for later inspection, would be fine.
     But as far as I know, the only periodic time interrupt on the PC,
ticks 18 times pr second or so. This is not what I would call "often".
     Any ideas???

Thanks in advance!

Lars Christensen.

taylorj@yvax.byu.edu (04/18/89)

Sounds like you need Turbo Analyst from Turbo Power Software, 800-538-8157 ext.
830.  This package includes excellent source code analysis utilities including
a high-resolution profiler.

If you want to do it on your own, you can reprogram the timer chip to send
iterrupts much more often.

(I'm not affiliated with Turbo Power, etc., etc., blah, blah...)

Jim Taylor
Microcomputer Support for Curriculum
101 HRCB, Brigham Young University     |   BITNET: taylorj@byuvax.bitnet
Provo, UT  84602                       |   INTERNET: taylorj@yvax.byu.edu