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