aivika-experiment-4.0.3: Simulation experiments for the Aivika library

CopyrightCopyright (c) 2012-2015, David Sorokin <david.sorokin@gmail.com>
LicenseBSD3
MaintainerDavid Sorokin <david.sorokin@gmail.com>
Stabilityexperimental
Safe HaskellNone
LanguageHaskell98

Simulation.Aivika.Experiment.TimingStatsWriter

Description

Tested with: GHC 7.10.1

The module defines TimingStatsWriter that knows how to write the timing statistics in HTML.

Synopsis

Documentation

data TimingStatsWriter a Source

Defines a writer that knows how to represent the TimingStats as the HTML table.

Constructors

TimingStatsWriter 

Fields

timingStatsWidth :: Int

The width of the HTML table.

timingStatsTimeText :: String

Translated text "time".

timingStatsMeanText :: String

Translated text "mean".

timingStatsDeviationText :: String

Translated text "deviation".

timingStatsMinText :: String

Translated text "minimum".

timingStatsMaxText :: String

Translated text "maximum".

timingStatsFormatter :: ShowS

The formatter of numbers.

timingStatsWrite :: TimingStatsWriter a -> String -> TimingStats a -> HtmlWriter ()

This function reprensents the named statistics as the HTML table.