Mail Archives: djgpp/2001/03/08/02:02:28
> From: damon AT WRONG DOT redshift DOT com (Damon Casale)
> Newsgroups: comp.os.msdos.djgpp
> Date: Wed, 07 Mar 2001 22:54:18 GMT
> >
> >> Each sample counts as 0.0555556 seconds.
> >> % cumulative self self total
> >> time seconds seconds calls Ts/call Ts/call name
> >> 100.00 424.17 424.17 __dpmi_int
> >
> >See the FAQ. In a nutshell: either you've hit a gprof bug, or your
> >program is completely bottlenecked by I/O operations.
>
> Hmm. Apparently, I already have DJGPP v2.03.
Are you sure? The above output surely look amazingly similar to the
problem with v2.02 library described in the FAQ. How did you check
that you have v2.03?
One way to be sure is to compile and link a simple program with -pg,
then profile it. If that shows a non-trivial profile, I'd suggest
recompile and relink your real program and try again.
> I'm beginning to suspect that interrupts might have gotten turned off
> somehow, or something like that.
The only thing that can disable profiling is to turn off the timer
tick, or catch it in your code and never chain to the previous
handlers.
- Raw text -