Copyright | (c) 2022 Tim Emiola |
---|---|
License | BSD3 |
Maintainer | Tim Emiola <adetokunbo@emio.la> |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
System.MemInfo.Print
Description
This module provides functions that format the output of the printmem command
Documentation
class AsCmdName a where Source #
Identifies a type as a label to use to index programs in the report output
The label is also used to group related processes under a single program
Minimal complete definition
asCmdName, cmdWithCount, hdrHasPid
fmtAsHeader :: Bool -> Bool -> Text Source #
Generates the text of the printed header of the memory report
fmtOverall :: Bool -> (Int, Int) -> Text Source #
Generates the text showing the overall memory in the memory report