The modified version of "Mean--Deviation" RTT estimator, as discussed by Van Jacobson that better suits NDN communication model. More...
#include <ndn-rtt-mean-deviation.h>
Public Member Functions | |
RttMeanDeviation (const RttMeanDeviation &) | |
virtual TypeId | GetInstanceTypeId (void) const |
void | SentSeq (SequenceNumber32 seq, uint32_t size) |
Note that a particular sequence has been sent. More... | |
Time | AckSeq (SequenceNumber32 ackSeq) |
Note that a particular ack sequence has been received. More... | |
void | Measurement (Time measure) |
Add a new measurement to the estimator. More... | |
Time | RetransmitTimeout () |
Returns the estimated RTO. More... | |
Ptr< RttEstimator > | Copy () const |
void | Reset () |
Resets the estimation to its initial state. | |
void | Gain (double g) |
Public Member Functions inherited from ns3::ndn::RttEstimator | |
RttEstimator (const RttEstimator &) | |
virtual void | ClearSent () |
Clear all history entries. | |
virtual void | IncreaseMultiplier () |
Increase the estimation multiplier up to MaxMultiplier. | |
virtual void | ResetMultiplier () |
Resets the estimation multiplier to 1. | |
void | SetMinRto (Time minRto) |
Sets the Minimum RTO. More... | |
Time | GetMinRto (void) const |
Get the Minimum RTO. More... | |
void | SetMaxRto (Time maxRto) |
Sets the Maximum RTO. More... | |
Time | GetMaxRto (void) const |
Get the Maximum RTO. More... | |
void | SetCurrentEstimate (Time estimate) |
Sets the current RTT estimate (forcefully). More... | |
Time | GetCurrentEstimate (void) const |
gets the current RTT estimate. More... | |
Static Public Member Functions | |
static TypeId | GetTypeId (void) |
Static Public Member Functions inherited from ns3::ndn::RttEstimator | |
static TypeId | GetTypeId (void) |
Additional Inherited Members | |
Protected Attributes inherited from ns3::ndn::RttEstimator | |
Time | m_currentEstimatedRtt |
Time | m_minRto |
Time | m_maxRto |
uint32_t | m_nSamples |
uint16_t | m_multiplier |
RttHistory_t | m_history |
The modified version of "Mean--Deviation" RTT estimator, as discussed by Van Jacobson that better suits NDN communication model.
This class implements the "Mean--Deviation" RTT estimator, as discussed by Van Jacobson and Michael J. Karels, in "Congestion Avoidance and Control", SIGCOMM 88, Appendix A
Definition at line 47 of file ndn-rtt-mean-deviation.h.
|
virtual |
Note that a particular ack sequence has been received.
ackSeq | the ack sequence number. |
Reimplemented from ns3::ndn::RttEstimator.
Definition at line 159 of file ndn-rtt-mean-deviation.cc.
References Measurement(), and ns3::ndn::RttEstimator::ResetMultiplier().
|
virtual |
Add a new measurement to the estimator.
Pure virtual function.
t | the new RTT measure. |
Implements ns3::ndn::RttEstimator.
Definition at line 83 of file ndn-rtt-mean-deviation.cc.
Referenced by AckSeq().
|
virtual |
Returns the estimated RTO.
Pure virtual function.
Implements ns3::ndn::RttEstimator.
Definition at line 106 of file ndn-rtt-mean-deviation.cc.
|
virtual |
Note that a particular sequence has been sent.
seq | the packet sequence number. |
size | the packet size. |
Reimplemented from ns3::ndn::RttEstimator.
Definition at line 140 of file ndn-rtt-mean-deviation.cc.