Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Synopsis
- initCostCentres :: CollectedCCs -> G ()
- emitCostCentreDecl :: CostCentre -> G ()
- emitCostCentreStackDecl :: CostCentreStack -> G ()
- enterCostCentreFun :: CostCentreStack -> JStat
- enterCostCentreThunk :: JStat
- setCC :: CostCentre -> Bool -> Bool -> G JStat
- pushRestoreCCS :: JStat
- jCurrentCCS :: JExpr
- jCafCCS :: JExpr
- jSystemCCS :: JExpr
- costCentreLbl :: CostCentre -> G Ident
- costCentreStackLbl :: CostCentreStack -> G (Maybe Ident)
- singletonCCSLbl :: CostCentre -> G Ident
- ccsVarJ :: CostCentreStack -> G (Maybe JExpr)
- profiling :: G Bool
- ifProfiling :: Monoid m => m -> G m
- ifProfilingM :: Monoid m => G m -> G m
- profStat :: StgToJSConfig -> JStat -> JStat
Documentation
initCostCentres :: CollectedCCs -> G () Source #
emitCostCentreDecl :: CostCentre -> G () Source #
emitCostCentreStackDecl :: CostCentreStack -> G () Source #
jCurrentCCS :: JExpr Source #
jSystemCCS :: JExpr Source #
costCentreLbl :: CostCentre -> G Ident Source #
costCentreStackLbl :: CostCentreStack -> G (Maybe Ident) Source #
singletonCCSLbl :: CostCentre -> G Ident Source #
Predicates
ifProfiling :: Monoid m => m -> G m Source #