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

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

Public Member Functions

 RttStats ()
 
void addRttMeasurement (time::nanoseconds rtt)
 
time::nanoseconds computeRto () const
 
time::nanoseconds getRtt () const
 
time::nanoseconds getSrtt () const
 
void recordTimeout ()
 

Static Public Attributes

static const time::nanoseconds RTT_NO_MEASUREMENT
 
static const time::nanoseconds RTT_TIMEOUT
 

Detailed Description

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

Constructor & Destructor Documentation

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

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

Member Function Documentation

void nfd::fw::asf::RttStats::addRttMeasurement ( time::nanoseconds  rtt)

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

time::nanoseconds nfd::fw::asf::RttStats::computeRto ( ) const
inline

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

time::nanoseconds nfd::fw::asf::RttStats::getRtt ( ) const
inline

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

time::nanoseconds nfd::fw::asf::RttStats::getSrtt ( ) const
inline

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

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

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

Member Data Documentation

const time::nanoseconds nfd::fw::asf::RttStats::RTT_NO_MEASUREMENT
static

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

const time::nanoseconds nfd::fw::asf::RttStats::RTT_TIMEOUT
static

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