[comp.sources.d] v08i002: A C execution profiler for MS-DOS

psfales@cbnewsc.ATT.COM (Peter Fales) (08/21/89)

In article <64297@uunet.UU.NET>, allbery@uunet.UU.NET (Brandon S. Allbery - comp.sources.misc) writes:
> Posting-number: Volume 8, Issue 2
> Submitted-by: diomidis@ecrcvax.UUCP ("Diomidis Spinellis")
> Archive-name: prof.msc
> 
> [...so how about a Turbo C version?  ++bsa]
> 
> XIncluded here is the source for an execution profiling system that can
> Xbe used with the Microsoft C or the Microsoft Quick C compiler.  It
> Xgives the time percentage a program spends in different functions.  It
> Xis an indispensable tool when trying to optimise a program.  The system
> Xhas been tested with Microsoft C Version 5.00.

I feel compelled to point out here that the MKS toolkit includes a
C profiler that works with any compiler that creates MAP files (i.e.
uses the Microsoft linker), and requires no modifications to the 
source, makefile, or object file (i.e. you don't have to link in
a special .obj).  It does include a utility to add an MKS specific
symbol table to the .EXE file.

The only compiler I haved personally tested it with is the Ecosoft
C-88 compiler, but it is supposed to work with others as well.
-- 
Peter Fales			AT&T, Room 5B-420
				2000 N. Naperville Rd.
UUCP:	...att!peter.fales	Naperville, IL 60566
Domain: peter.fales@att.com	work:	(312) 979-8031

dold@mitisft.Convergent.COM (Clarence Dold) (08/22/89)

in article <2559@cbnewsc.ATT.COM>, psfales@cbnewsc.ATT.COM (Peter Fales) says:

> I feel compelled to point out here that the MKS toolkit includes a
> C profiler that works with any compiler that creates MAP files (i.e.

Yes, and if I'd spent the $150 for MKS, I wouldn't have downloaded this
FREE profiler.  No ;-) on that comment.
-- 
---
Clarence A Dold - dold@tsmiti.Convergent.COM		(408) 434-5293
		...pyramid!ctnews!tsmiti!dold
		P.O.Box 6685, San Jose, CA 95150-6685	MS#10-007

ciamac@ccnysci.UUCP (Ciamac Moallemi) (08/22/89)

In article <2559@cbnewsc.ATT.COM> psfales@cbnewsc.ATT.COM (Peter Fales) writes:
}In article <64297@uunet.UU.NET>, allbery@uunet.UU.NET (Brandon S. Allbery - comp.sources.misc) writes:
}> [...so how about a Turbo C version?  ++bsa]
}
}I feel compelled to point out here that the MKS toolkit includes a
}C profiler that works with any compiler that creates MAP files (i.e.
}uses the Microsoft linker), and requires no modifications to the 
}source, makefile, or object file (i.e. you don't have to link in
}a special .obj).  It does include a utility to add an MKS specific
}symbol table to the .EXE file.

I've seen a shareware code profiler called CodeScope.  It also works
with any compiler that generates a decent .map file (includeing msc
and turbo c).  It's registeration fee is $25 (also gets you source
code) and it is available from:
	CodeCrafters
	P.O. Box 1317
	Londonderry, NH 03053-1317

//cm

-- 
Ciamac Moallemi                       | ciamac@sci.ccny.cuny.edu
Dept. of Earth and Planetary Sciences | cmoallem@puscs.poly.edu
City College of New York              | ciamac@ccnysci.BITNET
           ...!{cmcl2,philabs,phri}!ccnysci!ciamac