[GHC] #7952: Can cost-centre annotations be included in -ddump-simpl?
GHC
ghc-devs at haskell.org
Mon Jun 17 17:02:25 CEST 2013
#7952: Can cost-centre annotations be included in -ddump-simpl?
---------------------------------+------------------------------------------
Reporter: nr | Owner:
Type: feature request | Status: new
Priority: normal | Milestone:
Component: Compiler | Version: 7.6.3
Keywords: Core | Os: Unknown/Multiple
Architecture: Unknown/Multiple | Failure: None/Unknown
Difficulty: Unknown | Testcase:
Blockedby: | Blocking:
Related: |
---------------------------------+------------------------------------------
Comment(by simonmar):
Sadly the situation with Cost Centre Stacks is that it's still work in
progress and I didn't manage to document it (beyond comments in the code)
before I left MSR.
Simon is right that you can't statically determine which CCS a particular
allocation will be attributed to. However, if the `let` is within the
scope of a particular SCC, then the allocation should be attributed to
Cost Centre Stacks that have that SCC label on the top. There might be
many such stacks in the profile, if the current function was called from
multiple different places.
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/7952#comment:2>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list