Date: Tue, 16 Aug 1994 17:57:58 -0400 (EDT) From: Kimberley Burchett Subject: profiling more stuff To: DJGPP Mailing List I really like the gprof profiler - gives me lots of information... but is there some way for it to give me a little _more_ information? Like suppose I have a function like this: void foo() { int counter; for (counter=0; counter<100000; counter++) { /* do one thing that I want timed */ /* do another thing that I don't want timed */ } } Is there some way I could insert a label or something so I could find out how much time the first part of the loop takes w/o figuring in the time in the second loop? Do I have to break it up into separate functions? Kim