Changes between Version 15 and Version 16 of Commentary/Profiling
- Timestamp:
- 02/28/13 15:24:19 (4 months ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Commentary/Profiling
v15 v16 14 14 * Front-end support in [[GhcFile(compiler/deSugar/DsExpr.lhs)]], for converting {{{SCC}}} pragma into the {{{Tick}}} constructor in Core. 15 15 * Modifications to optimization behavior in [[GhcFile(compiler/coreSyn/CoreUtils.lhs)]] and [[GhcFile(compiler/coreSyn/CorePrep.lhs)]] to prevent optimizations which would result in misleading profile information. Most of this is to handle the fact that SCCs also count entries (tickishCounts, also applies to [wiki:Commentary/Hpc]); otherwise the only relevant optimization is avoiding floating expressions out of SCCs. 16 * The {{{StgSCC}}} constructor in STG, and code generation for it [[Ghc file(compiler/codeGen/StgCmmProf.hs)]]16 * The {{{StgSCC}}} constructor in STG, and code generation for it [[GhcFile(compiler/codeGen/StgCmmProf.hs)]] 17 17 * A pass over STG in [[GhcFile(compiler/profiling/SCCfinal.lhs)]] to collect cost centres so that they can be statically declared by [[GhcFile(compiler/profiling/ProfInit.hs)]], and add extra SCCs in the case of {{{-auto-all}}; see also [[GhcFile(compiler/profiling/NOTES)]] 18 18 * Code-generation for setting labels found in [[GhcFile(compiler/codeGen/StgCmmProf.hs)]], in particular saving and restoring CC labels and well as counting ticks; note that cost-centres even get their own constructor in C-- as CC_Labels (cost-centre labels).
