Path: utzoo!utgpu!water!watmath!clyde!bellcore!faline!thumper!ulysses!andante!princeton!udel!rochester!bbn!mit-eddie!bu-cs!dartvax!creare!gda
From: gda@creare.UUCP
Newsgroups: comp.sys.ibm.pc
Subject: Profiling for MS C ?
Summary: Need UNIX-style profiling for MSC
Keywords: MSC, profile, optimization
Message-ID: <687@creare.UUCP>
Date: 3 Jun 88 18:31:30 GMT
References: <1284@adec23.UUCP> <559@wsccs.UUCP>
Reply-To: gda@creare.UUCP (Gray Abbott)
Distribution: na
Organization: Creare, Inc.  Hanover, NH
Lines: 11
Posted: Fri Jun  3 14:31:30 1988

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?