CostCentre
Documentation
data CostCentre
Constructors
NoCostCentre | |
NormalCC | |
AllCafsCC | |
type CcName = FastString
data IsDupdCC
Constructors
OriginalCC | |
DupdCC |
data CostCentreStack
type CollectedCCs = ([CostCentre], [CostCentre], [CostCentreStack])
noCCAttached :: CostCentre -> Bool
noCCSAttached :: CostCentreStack -> Bool
isCurrentCCS :: CostCentreStack -> Bool
isSubsumedCCS :: CostCentreStack -> Bool
decomposeCCS :: CostCentreStack -> ([CostCentre], CostCentreStack)
pushCCisNop :: CostCentre -> CostCentreStack -> Bool
mkUserCC :: FastString -> Module -> CostCentre
mkAutoCC :: Id -> Module -> IsCafCC -> CostCentre
mkAllCafsCC :: Module -> CostCentre
dupifyCC :: CostCentre -> CostCentre
isCafCCS :: CostCentreStack -> Bool
isCafCC :: CostCentre -> Bool
sccAbleCostCentre :: CostCentre -> Bool
ccFromThisModule :: CostCentre -> Module -> Bool
pprCostCentreCore :: CostCentre -> SDoc
cmpCostCentre :: CostCentre -> CostCentre -> Ordering