Mail Archives: djgpp/1999/01/12/15:11:41
Eli Zaretskii wrote:
>
> 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.
Sheesh! We're not doing very well with the profiling support, are we?
First the _mono_printf in v2.01, and now this...
Does this warrant an update of the DJDEV zips?
--
Nate Eldredge
nate AT cartsys DOT com
- Raw text -