profiling question

Simon Marlow simonmar@microsoft.com
Thu, 27 Mar 2003 14:01:10 -0000


> I think this question was asked by someone else as part of another
> thread back in January, but I couldn't find an answer on the list
> archive. What do the zeros for "entries" mean in a time profiling
> report? If I want to know why "getAppropriatePreds" takes up so much
> time (14.7%) in my code, does the zero mean an overflowed=20
> count or that
> the cost centre has never been entered? I'm using 5.04.2 on Linux, and
> my program is compiled with -O -prof -auto-all.
>=20
>   compose         InfrequentCheck   1137    12280580   2.1    2.5=20
> 2.1    2.5
> align            InfrequentCheck   1127           0   3.7   =20
> 6.2     8.3=20
>     6.7
>   align2          InfrequentCheck   1139     8577943   0.4    0.0=20
> 0.4    0.0
>   lookupModeArgs  InfrequentCheck   1136    86747940   4.2    0.4=20
> 4.2    0.4
>   getAppropriatePreds InfrequentCheck  1126        0  14.7    6.6=20
> 14.7    6.6

I think the best answer to give here is that the entries count is not at
all reliable.  Please feel free to file a bug, we'll get around to it
next time I have the profiling system paged in ;-)

Cheers,
	SImon