-- Hoogle documentation, generated by Haddock -- See Hoogle, http://www.haskell.org/hoogle/ -- | Visualise an eventlog -- -- eventlog2html is a library for visualising eventlogs. At the moment, -- the intended use is to visualise eventlogs which have heap profiling -- events, as a replacement to hp2ps and hp2pretty. eventlog2html creates -- a static webpage which contains a collection of different interactive -- charts for analysing heap usage. Trace events are displayed on the -- chart and the charts can be zoomed, scrolled and filtered to give a -- more exploratory feel to heap profile analysis. @package eventlog2html @version 0.4.0 module Eventlog.Args args :: IO Args argsInfo :: ParserInfo Args data Args Args :: Sort -> Bool -> Int -> Bool -> Bool -> Bool -> Bool -> Bool -> Text -> [Text] -> [Text] -> Maybe String -> [String] -> Args [sorting] :: Args -> Sort [reversing] :: Args -> Bool [nBands] :: Args -> Int [heapProfile] :: Args -> Bool [noIncludejs] :: Args -> Bool [json] :: Args -> Bool [noTraces] :: Args -> Bool -- | By default, only traceMarkers are included. This option enables the -- inclusion of traceEvents. [traceEvents] :: Args -> Bool [userColourScheme] :: Args -> Text [includeStr] :: Args -> [Text] [excludeStr] :: Args -> [Text] [outputFile] :: Args -> Maybe String [files] :: Args -> [String] data Sort Size :: Sort StdDev :: Sort Name :: Sort module Eventlog.Javascript vegaLite :: Text vegaEmbed :: Text vega :: Text stylesheet :: Text tablogic :: Text milligram :: Text normalizecss :: Text module Eventlog.Prune prune :: Args -> Map Text (Double, Double) -> Map Text Int module Eventlog.Types data Header Header :: Text -> Text -> Text -> Text -> Int -> Header [hJob] :: Header -> Text [hDate] :: Header -> Text [hSampleUnit] :: Header -> Text [hValueUnit] :: Header -> Text [hCount] :: Header -> Int data Sample Sample :: Text -> Double -> Sample data Frame Frame :: Double -> [Sample] -> Frame -- | A trace we also want to show on the graph data Trace Trace :: Double -> Text -> Trace data ProfData ProfData :: Header -> Map Text (Double, Double) -> [Frame] -> [Trace] -> ProfData instance GHC.Show.Show Eventlog.Types.Trace instance GHC.Show.Show Eventlog.Types.Frame instance GHC.Show.Show Eventlog.Types.Sample module Eventlog.Total total :: [Frame] -> (Int, Map Text (Double, Double)) module Eventlog.HeapProf chunk :: FilePath -> IO ProfData module Eventlog.Events chunk :: Args -> FilePath -> IO ProfData instance GHC.Show.Show Eventlog.Events.EL instance GHC.Show.Show Eventlog.Events.CostCentre instance GHC.Show.Show Eventlog.Events.FrameEL module Eventlog.Bands bands :: Header -> Map Text Int -> [Frame] -> (UArray Int Double, UArray (Int, Int) Double) series :: Set Text -> [Frame] -> [Series] bandsToSeries :: Map Text Int -> (UArray Int Double, UArray (Int, Int) Double) -> [Series] instance GHC.Generics.Generic Eventlog.Bands.Series instance Data.Aeson.Types.ToJSON.ToJSON Eventlog.Bands.Series instance GHC.Show.Show Eventlog.Bands.Series module Eventlog.Vega bandsToVega :: Map Text Int -> (UArray Int Double, UArray (Int, Int) Double) -> [VegaEntry] tracesToVega :: [Trace] -> [VegaTrace] instance GHC.Generics.Generic Eventlog.Vega.VegaTrace instance Data.Aeson.Types.ToJSON.ToJSON Eventlog.Vega.VegaTrace instance GHC.Show.Show Eventlog.Vega.VegaTrace instance GHC.Generics.Generic Eventlog.Vega.VegaEntry instance Data.Aeson.Types.ToJSON.ToJSON Eventlog.Vega.VegaEntry instance GHC.Show.Show Eventlog.Vega.VegaEntry module Eventlog.Data generateJson :: FilePath -> Args -> IO (Header, Value) generateJsonValidate :: (ProfData -> IO ()) -> FilePath -> Args -> IO (Header, Value) module Eventlog.VegaTemplate data AreaChartType Stacked :: AreaChartType Normalized :: AreaChartType StreamGraph :: AreaChartType data ChartConfig ChartConfig :: Double -> Double -> Bool -> Text -> ChartType -> ChartConfig [cwidth] :: ChartConfig -> Double [cheight] :: ChartConfig -> Double [traces] :: ChartConfig -> Bool [colourScheme] :: ChartConfig -> Text [chartType] :: ChartConfig -> ChartType data ChartType AreaChart :: AreaChartType -> ChartType LineChart :: ChartType vegaResult :: ChartConfig -> VegaLite vegaJson :: ChartConfig -> Value vegaJsonText :: ChartConfig -> Text module Eventlog.HtmlTemplate type VizID = Int insertJsonData :: Value -> Html encloseScript :: VizID -> Text -> Html htmlHeader :: Value -> Args -> Html template :: Header -> Value -> Args -> Html htmlConf :: Args -> ChartType -> ChartConfig renderChart :: VizID -> Text -> Html renderChartWithJson :: Int -> Value -> Text -> Html templateString :: Header -> Value -> Args -> String