Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Synopsis
Documentation
data CostCentreState Source #
Per-module state for tracking cost centre indices.
See documentation of cc_flavour
for more details.
newCostCentreState :: CostCentreState Source #
Initialize cost centre state.
data CostCentreIndex Source #
An index into a given cost centre module,name,flavour set
Instances
getCCIndex :: FastString -> CostCentreState -> (CostCentreIndex, CostCentreState) Source #
Get a new index for a given cost centre name.