gda@creare.UUCP (06/03/88)
Does anyone know how to profile Microsoft C programs. I'm looking for profiles like those available in Unix, indicating the amount of time spent in different functions. I need to speed up an MSC program and I'd like to measure it rather than just guessing where it spends its time. I figure I could write some assembly code to service timer interrupts and then determine which function was active when the interrupt occurred, but I'd rather avoid doing this myself, if I can. Also, I don't know how to get the symbolic names; where are they and in what form?
Devin_E_Ben-Hur@cup.portal.com (06/05/88)
Gary Abbott asks about profiling MSC programs. There are quite a few commercial profilers available. I did a survey of them about 2 years ago and the best of the lot was pFinish from Pheonix software. All of the profilers get their symbolic information from the linker's MAP file. Some of them can also use the Pheonix PLINK format symbolic information which is appended to the .EXE file. I've also seen some public domain profilers but they're pretty rudimentary. Some of the tech-rags (DDJ, PJ, PC-Tech, etc.) have source code for programming the PC's clock chip to provide high ^published resolution timing.