| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
Network.Mux.DeltaQ.TraceStats
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
Arguments
| :: 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 calculation necessary to satisfy strictness of use occurs.
Constructors
| OneWaySample | |
Fields
| |
Statistics accumulator. Strict evaluation used to keep the memory footprint strictly bounded.
initialStatsA :: StatsA Source #
Initial StatsA