Mail Archives: djgpp/1994/08/16/21:49:04
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
- Raw text -