NS-3 based Named Data Networking (NDN) simulator
ndnSIM 2.5: NDN, CCN, CCNx, content centric networks
API Documentation
ndn::util::RttEstimator::Options Class Reference

#include <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...
 
int k = 4
 factor of RTT variation when calculating RTO More...
 
MillisecondsDouble initialRto = MillisecondsDouble(1000.0)
 initial RTO value More...
 
MillisecondsDouble minRto = MillisecondsDouble(200.0)
 lower bound of RTO More...
 
MillisecondsDouble maxRto = MillisecondsDouble(20000.0)
 upper bound of RTO More...
 
int rtoBackoffMultiplier = 2
 

Detailed Description

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

Constructor & Destructor Documentation

◆ Options()

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

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

Member Data Documentation

◆ alpha

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

weight of exponential moving average for meanRtt

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

Referenced by ndn::util::RttEstimator::addMeasurement().

◆ beta

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

weight of exponential moving average for varRtt

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

Referenced by ndn::util::RttEstimator::addMeasurement().

◆ k

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

factor of RTT variation when calculating RTO

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

Referenced by ndn::util::RttEstimator::addMeasurement().

◆ initialRto

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

initial RTO value

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

◆ minRto

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

lower bound of RTO

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

Referenced by ndn::util::RttEstimator::addMeasurement(), and ndn::util::RttEstimator::backoffRto().

◆ maxRto

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

upper bound of RTO

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

Referenced by ndn::util::RttEstimator::addMeasurement(), and ndn::util::RttEstimator::backoffRto().

◆ rtoBackoffMultiplier

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

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

Referenced by ndn::util::RttEstimator::backoffRto().


The documentation for this class was generated from the following file: