Copyright | Copyright (c) 2012-2017 David Sorokin <david.sorokin@gmail.com> |
---|---|
License | BSD3 |
Maintainer | David Sorokin <david.sorokin@gmail.com> |
Stability | experimental |
Safe Haskell | None |
Language | Haskell2010 |
Tested with: GHC 8.0.1
The module defines SamplingStatsWriter
that knows how to write
the sampling statistics in HTML.
Synopsis
- 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.