Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- step :: RemoteClockModel -> Time -> Int -> StatsA -> ( Maybe OneWayDeltaQSample , StatsA )
-
data
OneWayDeltaQSample
=
OneWaySample
{
- duration :: Double
- sumPackets :: Int
- sumTotalSDU :: Int
- estDeltaQS :: Double
- estDeltaQVMean :: Double
- estDeltaQVVar :: Double
- estR :: Double
- sizeDist :: String
- constructSample :: StatsA -> OneWayDeltaQSample
- data StatsA
- initialStatsA :: StatsA
Documentation
:: RemoteClockModel |
Remote clock timestamp |
-> Time |
Local clock timestamp |
-> Int |
the number of octets in the observed outcome |
-> StatsA |
accumulation state |
-> ( Maybe OneWayDeltaQSample , StatsA ) |
data OneWayDeltaQSample Source #
One way measurement for interval. Note that the fields are lazy here so that only calcuation necessary to satisfy strictness of use occurs.
OneWaySample | |
|
Statistics accumulator. Strict evaluation used to keep the memory footprint strictly bounded.
initialStatsA :: StatsA Source #
Initial StatsA