Copyright | Copyright (c) 2012-2015, David Sorokin <david.sorokin@gmail.com> |
---|---|
License | BSD3 |
Maintainer | David Sorokin <david.sorokin@gmail.com> |
Stability | experimental |
Safe Haskell | None |
Language | Haskell98 |
Tested with: GHC 7.10.1
The module defines SamplingStatsWriter
that knows how to write
the sampling statistics in HTML.
- data SamplingStatsWriter a = SamplingStatsWriter {
- samplingStatsWidth :: Int
- samplingStatsMeanText :: String
- samplingStatsDeviationText :: String
- samplingStatsMinText :: String
- samplingStatsMaxText :: String
- samplingStatsCountText :: String
- samplingStatsFormatter :: ShowS
- samplingStatsWrite :: SamplingStatsWriter a -> String -> SamplingStats a -> HtmlWriter ()
- defaultSamplingStatsWriter :: Show a => SamplingStatsWriter a
Documentation
data SamplingStatsWriter a Source
Defines a writer that knows how to represent the SamplingStats
as the HTML table.
SamplingStatsWriter | |
|
defaultSamplingStatsWriter :: Show a => SamplingStatsWriter a Source
The default writer.