Changes between Version 16 and Version 17 of Commentary/Profiling


Ignore:
Timestamp:
Feb 28, 2013 11:40:08 PM (14 months ago)
Author:
ezyang
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Commentary/Profiling

    v16 v17  
    1313 * Data-structures for representing cost-centres in [[GhcFile(compiler/profiling/CostCentre.lhs)]]. 
    1414 * Front-end support in [[GhcFile(compiler/deSugar/DsExpr.lhs)]], for converting {{{SCC}}} pragma into the {{{Tick}}} constructor in Core. 
    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. 
     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. Note that the simplifier also has "ticks" (so it can decide when to stop optimizing); these are not the same thing at all. 
    1616 * The {{{StgSCC}}} constructor in STG, and code generation for it [[GhcFile(compiler/codeGen/StgCmmProf.hs)]] 
    1717 * 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)]]