NS-3 based Named Data Networking (NDN) simulator
ndnSIM 2.3: NDN, CCN, CCNx, content centric networks
API Documentation
nfd::fw::asf::RttStats Class Reference

#include <asf-measurements.hpp>

Collaboration diagram for nfd::fw::asf::RttStats:

Public Types

typedef time::duration< double, boost::micro > Rtt
 

Public Member Functions

 RttStats ()
 
void addRttMeasurement (RttEstimator::Duration &durationRtt)
 
void recordTimeout ()
 
Rtt getRtt () const
 
Rtt getSrtt () const
 
RttEstimator::Duration computeRto () const
 

Static Public Attributes

static const Rtt RTT_TIMEOUT
 
static const Rtt RTT_NO_MEASUREMENT
 

Detailed Description

Definition at line 37 of file asf-measurements.hpp.

Member Typedef Documentation

◆ Rtt

typedef time::duration<double, boost::micro> nfd::fw::asf::RttStats::Rtt

Definition at line 40 of file asf-measurements.hpp.

Constructor & Destructor Documentation

◆ RttStats()

nfd::fw::asf::RttStats::RttStats ( )

Definition at line 38 of file asf-measurements.cpp.

Member Function Documentation

◆ addRttMeasurement()

void nfd::fw::asf::RttStats::addRttMeasurement ( RttEstimator::Duration durationRtt)

◆ recordTimeout()

void nfd::fw::asf::RttStats::recordTimeout ( )
inline

◆ getRtt()

Rtt nfd::fw::asf::RttStats::getRtt ( ) const
inline

◆ getSrtt()

Rtt nfd::fw::asf::RttStats::getSrtt ( ) const
inline

◆ computeRto()

RttEstimator::Duration nfd::fw::asf::RttStats::computeRto ( ) const
inline

Definition at line 66 of file asf-measurements.hpp.

References nfd::RttEstimator::computeRto().

Member Data Documentation

◆ RTT_TIMEOUT

const RttStats::Rtt nfd::fw::asf::RttStats::RTT_TIMEOUT
static

◆ RTT_NO_MEASUREMENT

const RttStats::Rtt nfd::fw::asf::RttStats::RTT_NO_MEASUREMENT
static

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