-- Hoogle documentation, generated by Haddock -- See Hoogle, http://www.haskell.org/hoogle/ -- | Convert an eventlog into the speedscope json format -- -- Convert an eventlog into the speedscope json format. The interactive -- visualisation displays an approximate trace of the program and summary -- views akin to .prof files. There is also support for parallel -- programs, each capability is rendered in its own profile. @package hs-speedscope @version 0.2 module HsSpeedscope data SSOptions SSOptions :: FilePath -> Maybe String -> Maybe String -> SSOptions [file] :: SSOptions -> FilePath [isolateStart] :: SSOptions -> Maybe String [isolateEnd] :: SSOptions -> Maybe String optsParser :: Parser SSOptions entry :: IO () run :: SSOptions -> IO () data ReadState ReadAll :: ReadState IgnoreUntil :: String -> ReadState -> ReadState ReadUntil :: String -> ReadState -> ReadState IgnoreAll :: ReadState shouldRead :: ReadState -> Bool transition :: String -> ReadState -> ReadState initState :: Maybe String -> Maybe String -> ReadState convertToSpeedscope :: (Maybe String, Maybe String) -> EventLog -> Value mkProfile :: String -> Word64 -> (Capset, [[Int]]) -> Value parseIdent :: String -> Maybe (Version, String) data EL EL :: Maybe String -> Maybe (Version, String) -> Maybe Word64 -> [CostCentre] -> [Sample] -> EL [prog_name] :: EL -> Maybe String [rts_version] :: EL -> Maybe (Version, String) [prof_interval] :: EL -> Maybe Word64 [cost_centres] :: EL -> [CostCentre] [el_samples] :: EL -> [Sample] data CostCentre CostCentre :: Word32 -> Text -> Text -> Text -> CostCentre data Sample Sample :: Capset -> [Word32] -> Sample instance GHC.Show.Show HsSpeedscope.CostCentre instance GHC.Show.Show HsSpeedscope.ReadState instance GHC.Show.Show HsSpeedscope.SSOptions