nfd::fw::asf::RttStats Class Reference

#include <daemon/fw/asf-measurements.hpp>

Public Types

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

Public Member Functions

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

Static Public Attributes

static const Rtt RTT_NO_MEASUREMENT
 
static const Rtt RTT_TIMEOUT
 

Detailed Description

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

Member Typedef Documentation

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

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

Constructor & Destructor Documentation

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

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

Member Function Documentation

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

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

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

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

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

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

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

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

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

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

Member Data Documentation

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

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

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

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