Mail Archives: djgpp/1999/01/11/08:52:58
On Mon, 11 Jan 1999, George Lugovoy wrote:
> Each sample counts as 0.055556 seconds.
> % cumulative self self total
> time seconds seconds calls Ts/call Ts/call name
> 100.00 0.28 0.28
> __get_current_directory
> 0.00 0.28 0.00 27113 0.00 0.00 ForceExt
> 0.00 0.28 0.00 15148 0.00 0.00 FL_Open
> 0.00 0.28 0.00 14039 0.00 0.00 Long2Str
Was this program linked with DJGPP v2.02?
If so, then the profiling code there has a bug that manifests itself in
the above way: the first function is shown to take 100% of the time, and
the rest take 0%. This info is bogus, don't make any conclusions based
on it.
I can send you a patched source of a library module which is responsible
for this. You will need to compile it, put it into libc.a, and then
rebuild your program and run it again. *Then* the profile should make
sense.
- Raw text -