profiling only part of a program

Glen McCluskey glenm at athena.UUCP
Tue Mar 18 09:11:15 AEST 1986


Is it possible to use the `-pg' flag to profile only
part of a program?  For example, if you don't use the
flag except for loading, you will get a profile of
the library routines and system calls.

The tests I have done seem to show that you can get
reliable call counts, but not reliable times, this way.
Can someone verify this?

	Glen McCluskey
	..tektronix!athena!glenm



More information about the Comp.unix.wizards mailing list