[project @ 2002-03-01 18:11:20 by keithw]
authorkeithw <unknown>
Fri, 1 Mar 2002 18:11:20 +0000 (18:11 +0000)
committerkeithw <unknown>
Fri, 1 Mar 2002 18:11:20 +0000 (18:11 +0000)
commitee1aabdc2f6adb4a21aaea684989db1bfeaff891
tree86e59cf573c81331dd7ef4c8873be236e22824d8
parent06944f8bd1219e4bd74a1182d63f1143ac2dfdd8
[project @ 2002-03-01 18:11:20 by keithw]
Fix bug in ticky-ticky stats (particularly obvious in
nofib/imaginary/queens) that was meaning some thunk entries were not
being counted in ENT_{STATIC,DYN}_THK_ctr.  Specifically, tick the
counter for the stg_sel and stg_ap thunks, as well as non-standard
thunks!

Also add TICK_UPDF_OMITTED into the stg_sel_noupd thunks (there are no
stg_ap_noupd thunks, or else I would have put it there too).

Also, fix a bug in the sense of the test for update squeezing when
printing (or not) ENT_PERM_IND: we don't print out ENT_PERM_IND unless
update squeezing is turned off, because it may be invalid (see note).
If someone needs this counter, please just remove the test entirely
and always print ENT_PERM_IND.
ghc/rts/StgStdThunks.hc
ghc/rts/Ticky.c