Safe Haskell | Safe-Infered |
---|
xentop CPU data collector
- dcName :: String
- dcVersion :: DCVersion
- dcFormatVersion :: Int
- dcCategory :: Maybe DCCategory
- dcKind :: DCKind
- readXentop :: IO (Result String)
- parseXentop :: String -> Result (Map String Double)
- combineWithRollover :: Seq (ClockTime, Double) -> Seq (ClockTime, Double) -> Seq (ClockTime, Double)
- dcUpdate :: Maybe CollectorData -> IO CollectorData
- loadAverage :: Seq (ClockTime, Double) -> Maybe Double
- dcReport :: Maybe CollectorData -> IO DCReport
Documentation
dcFormatVersion :: IntSource
The version number for the data format of this data collector.
dcCategory :: Maybe DCCategorySource
The category of this data collector.
readXentop :: IO (Result String)Source
parseXentop :: String -> Result (Map String Double)Source
combineWithRollover :: Seq (ClockTime, Double) -> Seq (ClockTime, Double) -> Seq (ClockTime, Double)Source
dcUpdate :: Maybe CollectorData -> IO CollectorDataSource
Updates the given Collector data.
loadAverage :: Seq (ClockTime, Double) -> Maybe DoubleSource
dcReport :: Maybe CollectorData -> IO DCReportSource
The data exported by the data collector, taken from the default location.