To: morphine AT whatever DOT cs DOT jhu DOT edu (Michael Phelps) Cc: djgpp AT sun DOT soe DOT clarkson DOT edu Subject: Re: Profiling Date: Fri, 18 Nov 94 11:50:00 +0200 From: "Eli Zaretskii" > Is it possible to achieve profiling with djgpp? Compile with -pg, then invoke gprof: gprof Note that currently, profiling doesn't work in DPMI mode (well, actually it ``works'', but the histogram is returned all zeroes :-(), so you better not run under Windows when profiling. Also, the profile only sees the parts of program which run in protected mode, so if your program spends significant portion of its time in DOS I/O, you will get a very distorted view of your hot spots.