ndn::util::RttEstimator::Options Class Reference

#include <ndn-cxx/util/rtt-estimator.hpp>

Public Member Functions

constexpr Options () noexcept
 

Public Attributes

double alpha = 0.125
 weight of exponential moving average for meanRtt More...
 
double beta = 0.25
 weight of exponential moving average for varRtt More...
 
MillisecondsDouble initialRto = MillisecondsDouble(1000.0)
 initial RTO value More...
 
int k = 4
 factor of RTT variation when calculating RTO More...
 
MillisecondsDouble maxRto = MillisecondsDouble(20000.0)
 upper bound of RTO More...
 
MillisecondsDouble minRto = MillisecondsDouble(200.0)
 lower bound of RTO More...
 
int rtoBackoffMultiplier = 2
 

Detailed Description

Definition at line 47 of file rtt-estimator.hpp.

Constructor & Destructor Documentation

constexpr ndn::util::RttEstimator::Options::Options ( )
inlinenoexcept

Definition at line 51 of file rtt-estimator.hpp.

Member Data Documentation

double ndn::util::RttEstimator::Options::alpha = 0.125

weight of exponential moving average for meanRtt

Definition at line 56 of file rtt-estimator.hpp.

double ndn::util::RttEstimator::Options::beta = 0.25

weight of exponential moving average for varRtt

Definition at line 57 of file rtt-estimator.hpp.

MillisecondsDouble ndn::util::RttEstimator::Options::initialRto = MillisecondsDouble(1000.0)

initial RTO value

Definition at line 59 of file rtt-estimator.hpp.

int ndn::util::RttEstimator::Options::k = 4

factor of RTT variation when calculating RTO

Definition at line 58 of file rtt-estimator.hpp.

MillisecondsDouble ndn::util::RttEstimator::Options::maxRto = MillisecondsDouble(20000.0)

upper bound of RTO

Definition at line 61 of file rtt-estimator.hpp.

MillisecondsDouble ndn::util::RttEstimator::Options::minRto = MillisecondsDouble(200.0)

lower bound of RTO

Definition at line 60 of file rtt-estimator.hpp.

int ndn::util::RttEstimator::Options::rtoBackoffMultiplier = 2

Definition at line 62 of file rtt-estimator.hpp.