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

Stabilityexperimental
MaintainerDavid Sorokin <david.sorokin@gmail.com>
Safe HaskellNone

Simulation.Aivika.Experiment.TimingStatsWriter

Description

Tested with: GHC 7.4.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.