Changes between Version 10 and Version 11 of Debugging/TickyTicky


Ignore:
Timestamp:
Apr 2, 2013 12:41:39 PM (13 months ago)
Author:
nfrisby
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Debugging/TickyTicky

    v10 v11  
    3232== Ticky-ticky overview == 
    3333 
     34(This is a high-level overview, see the following section for details.) 
     35 
    3436It is possible to compile Haskell programs so that they will count several kinds of interesting things, e.g., number of updates, number of data constructors entered, etc.  We call this "ticky-ticky" profiling because that's the sound a CPU makes when it is running up all those counters (''slowly''). 
    3537 
     
    4850    Each "global counter" describes some aspect of the entire program execution. For example, one global counter tracks total heap allocation; another tracks allocation for PAPs. 
    4951 
    50 == Enabling ticky-ticky and its extension flags == 
     52== Flags: ticky-ticky and its extensions == 
     53 
     54|| flag || effect || 
     55|| `-ticky` || count entries and allocation ticky-ticky (both global and name-specific counters) || 
     56|| `-ticky-dyn` || also use name-specific counters for dynamic thunks || 
     57|| `-ticky-LNE` || also use name-specific counters for let-no-escapes || 
     58|| `-ticky-allocd` || also track allocation ''of'' each named thing in addition to allocation ''by'' that thing || 
    5159 
    5260Ticky-ticky counters are enabled in two ways.