Safe Haskell | None |
---|---|
Language | Haskell2010 |
- aggregateCostCentres :: Profile -> [AggregateCostCentre]
- aggregateCostCentresOrderBy :: Ord a => (AggregateCostCentre -> a) -> Profile -> [AggregateCostCentre]
- costCentres :: Profile -> Maybe (Tree CostCentre)
- costCentresOrderBy :: Ord a => (CostCentre -> a) -> Profile -> Maybe (Tree CostCentre)
- callSites :: Text -> Text -> Profile -> Maybe (Callee, [CallSite])
- callSitesOrderBy :: Ord a => (CostCentre -> a) -> Text -> Text -> Profile -> Maybe (Callee, [CallSite])
- buildAggregateCostCentresOrderBy :: Ord a => (AggregateCostCentre -> a) -> CostCentreTree -> [AggregateCostCentre]
- buildCostCentresOrderBy :: Ord a => (CostCentre -> a) -> CostCentreTree -> Maybe (Tree CostCentre)
- buildCallSitesOrderBy :: Ord a => (CostCentre -> a) -> Text -> Text -> CostCentreTree -> Maybe (Callee, [CallSite])
Documentation
aggregateCostCentres :: Profile -> [AggregateCostCentre] Source #
Build a list of cost-centres from a profiling report ordered by the time spent and the amount of allocation.
aggregateCostCentresOrderBy Source #
:: Ord a | |
=> (AggregateCostCentre -> a) | Sorting key function |
-> Profile | |
-> [AggregateCostCentre] |
Build a list of cost-centres from a profling report ordered by the given key.
costCentres :: Profile -> Maybe (Tree CostCentre) Source #
Build a tree of cost-centres from a profiling report.
:: Ord a | |
=> (CostCentre -> a) | Sorting key function |
-> Profile | |
-> Maybe (Tree CostCentre) |
Build a tree of cost-centres from a profiling report. Nodes are sorted by the given key function for each level of the tree.
Build a list of call-sites (caller functions) for a specified cost-centre name and module name.
:: Ord a | |
=> (CostCentre -> a) | Sorting key function |
-> Text | Cost-centre name |
-> Text | Module name |
-> Profile | |
-> Maybe (Callee, [CallSite]) |
Build a list of call-sites (caller function) for a specified cost-centre name and module name. Nodes are sorted by the given key function.
buildAggregateCostCentresOrderBy :: Ord a => (AggregateCostCentre -> a) -> CostCentreTree -> [AggregateCostCentre] Source #
buildCostCentresOrderBy Source #
:: Ord a | |
=> (CostCentre -> a) | Sorting key function |
-> CostCentreTree | |
-> Maybe (Tree CostCentre) |
buildCallSitesOrderBy Source #
:: Ord a | |
=> (CostCentre -> a) | Sorting key function |
-> Text | Cost-centre name |
-> Text | Module name |
-> CostCentreTree | |
-> Maybe (Callee, [CallSite]) |