[project @ 2000-02-29 16:58:08 by simonmar]
authorsimonmar <unknown>
Tue, 29 Feb 2000 16:58:09 +0000 (16:58 +0000)
committersimonmar <unknown>
Tue, 29 Feb 2000 16:58:09 +0000 (16:58 +0000)
commit426fa533dfe8c716e3557eb544eee5b605bd5b49
tree92f5793b7ebba3aeb8223582daa952b01342ea7c
parent2edb47935ae6e86c1e55efba9f2fa0ddf69dcd6f
[project @ 2000-02-29 16:58:08 by simonmar]
Change the behaviour of the cost-centre stack profiler for recursive
sccs.  Before, we used to remove the old copy of the CC from the stack
and push the new one on.  Now, we record back-edges in the graph when
a recursive scc is detected.

This should give saner-looking cost-centre stacks for heavily
recursive code.  Indeed, it reduces the number of stacks in the
profile for some examples considerably.
ghc/includes/Profiling.h
ghc/rts/Profiling.c