projects
/
ghc-hetmet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
69721cd
)
[project @ 1998-08-24 11:16:10 by sof]
author
sof
<unknown>
Mon, 24 Aug 1998 11:16:10 +0000
(11:16 +0000)
committer
sof
<unknown>
Mon, 24 Aug 1998 11:16:10 +0000
(11:16 +0000)
[Semi-experimental]
ENTER_CC_PAP: tick the entry count of a PAP's CC when entering it.
ghc/includes/CostCentre.lh
patch
|
blob
|
history
diff --git
a/ghc/includes/CostCentre.lh
b/ghc/includes/CostCentre.lh
index
404d286
..
acc800e
100644
(file)
--- a/
ghc/includes/CostCentre.lh
+++ b/
ghc/includes/CostCentre.lh
@@
-308,6
+308,7
@@
On entering a closure we only count the enter to thunks ...
ASSERT_IS_REGISTERED(cc,1); \
if ( ! IS_CAF_OR_DICT_OR_SUB_CC(cc) ) { \
CCC = cc; \
+ CCC->scc_count++; \
} else { \
CCC_DETAIL_COUNT(cc->caffun_subsumed); \
CCC_DETAIL_COUNT(CCC->subsumed_caf_count); \