nfd::fw::asf::AsfMeasurements Class Reference

Helper class to retrieve and create strategy measurements. More...

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

+ Inheritance diagram for nfd::fw::asf::AsfMeasurements:
+ Collaboration diagram for nfd::fw::asf::AsfMeasurements:

Public Member Functions

 AsfMeasurements (MeasurementsAccessor &measurements)
 
FaceInfogetFaceInfo (const fib::Entry &fibEntry, const Interest &interest, const Face &face)
 
NamespaceInfogetNamespaceInfo (const Name &prefix)
 
FaceInfogetOrCreateFaceInfo (const fib::Entry &fibEntry, const Interest &interest, const Face &face)
 
NamespaceInfogetOrCreateNamespaceInfo (const fib::Entry &fibEntry, const Interest &interest)
 

Static Public Attributes

static constexpr time::microseconds MEASUREMENTS_LIFETIME = time::seconds(300)
 

Detailed Description

Helper class to retrieve and create strategy measurements.

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

Constructor & Destructor Documentation

nfd::fw::asf::AsfMeasurements::AsfMeasurements ( MeasurementsAccessor &  measurements)
explicit

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

Member Function Documentation

FaceInfo * nfd::fw::asf::AsfMeasurements::getFaceInfo ( const fib::Entry fibEntry,
const Interest &  interest,
const Face &  face 
)

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

NamespaceInfo * nfd::fw::asf::AsfMeasurements::getNamespaceInfo ( const Name &  prefix)

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

FaceInfo & nfd::fw::asf::AsfMeasurements::getOrCreateFaceInfo ( const fib::Entry fibEntry,
const Interest &  interest,
const Face &  face 
)

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

NamespaceInfo & nfd::fw::asf::AsfMeasurements::getOrCreateNamespaceInfo ( const fib::Entry fibEntry,
const Interest &  interest 
)

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

Member Data Documentation

constexpr time::microseconds nfd::fw::asf::AsfMeasurements::MEASUREMENTS_LIFETIME = time::seconds(300)
static

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