ndn::util::RttEstimator::Options Struct Reference

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

Public Attributes

double alpha = 0.125
 weight of exponential moving average for smoothed RTT More...
 
double beta = 0.25
 weight of exponential moving average for RTT variation More...
 
time::nanoseconds initialRto = 1_s
 initial RTO value More...
 
int k = 4
 RTT variation multiplier used when calculating RTO. More...
 
time::nanoseconds maxRto = 1_min
 upper bound of RTO More...
 
time::nanoseconds minRto = 200_ms
 lower bound of RTO More...
 
int rtoBackoffMultiplier = 2
 RTO multiplier used in backoff operation. More...
 

Detailed Description

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

Member Data Documentation

◆ alpha

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

weight of exponential moving average for smoothed RTT

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

◆ beta

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

weight of exponential moving average for RTT variation

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

◆ initialRto

time::nanoseconds ndn::util::RttEstimator::Options::initialRto = 1_s

initial RTO value

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

◆ k

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

RTT variation multiplier used when calculating RTO.

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

◆ maxRto

time::nanoseconds ndn::util::RttEstimator::Options::maxRto = 1_min

upper bound of RTO

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

◆ minRto

time::nanoseconds ndn::util::RttEstimator::Options::minRto = 200_ms

lower bound of RTO

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

◆ rtoBackoffMultiplier

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

RTO multiplier used in backoff operation.

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