| Safe Haskell | Safe-Inferred |
|---|---|
| Language | Haskell2010 |
Profiteur.Core
Synopsis
- data CostCentre = CostCentre {
- ccName :: !Text
- ccModule :: !Text
- ccSrc :: !Text
- ccId :: !Id
- ccEntries :: !Int
- ccIndividualTime :: !Double
- ccIndividualAlloc :: !Double
- ccInheritedTime :: !Double
- ccInheritedAlloc :: !Double
- ccChildren :: !(Vector CostCentre)
- data Node = Node {}
- nodesFromCostCentre :: CostCentre -> Maybe (Node, [Node])
- data NodeMap = NodeMap {}
- nodeMapFromNodes :: Id -> [Node] -> NodeMap
- nodeMapFromCostCentre :: CostCentre -> NodeMap
Documentation
data CostCentre Source #
Constructors
| CostCentre | |
Fields
| |
Instances
| Show CostCentre Source # | |
Defined in Profiteur.Core Methods showsPrec :: Int -> CostCentre -> ShowS # show :: CostCentre -> String # showList :: [CostCentre] -> ShowS # | |
nodesFromCostCentre :: CostCentre -> Maybe (Node, [Node]) Source #
Returns the node and its (transitive) children.
nodeMapFromNodes :: Id -> [Node] -> NodeMap Source #