Stability | experimental |
---|---|
Maintainer | David Sorokin <david.sorokin@gmail.com> |
Safe Haskell | None |
Tested with: GHC 7.6.3
It represents an optimized source of statistical data.
- data SamplingStatsSource a
- providerToDoubleStatsSource :: SeriesProvider -> Maybe (SamplingStatsSource Double)
- providerToIntStatsSource :: SeriesProvider -> Maybe (SamplingStatsSource Int)
- data SamplingStatsData a
- samplingStatsSourceData :: SamplingStatsSource a -> Dynamics (SamplingStatsData a)
- addDataToSamplingStats :: SamplingData a => SamplingStatsData a -> SamplingStats a -> SamplingStats a
Documentation
data SamplingStatsSource a Source
Represents the optimized source of data for the statistics.
providerToDoubleStatsSource :: SeriesProvider -> Maybe (SamplingStatsSource Double)Source
Try to return the source of statistical data by the specified provider.
providerToIntStatsSource :: SeriesProvider -> Maybe (SamplingStatsSource Int)Source
Try to return the source of statistical data.
data SamplingStatsData a Source
Represents the optimized data to be included in the statistics.
samplingStatsSourceData :: SamplingStatsSource a -> Dynamics (SamplingStatsData a)Source
Get data from the source in the current time point.
addDataToSamplingStats :: SamplingData a => SamplingStatsData a -> SamplingStats a -> SamplingStats aSource
Add data from the source to the statistics.