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

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

#include <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, FaceId faceId)
 
FaceInfogetOrCreateFaceInfo (const fib::Entry &fibEntry, const Interest &interest, FaceId faceId)
 
NamespaceInfogetNamespaceInfo (const Name &prefix)
 
NamespaceInfogetOrCreateNamespaceInfo (const fib::Entry &fibEntry, const Interest &interest)
 

Static Public Attributes

static constexpr time::microseconds MEASUREMENTS_LIFETIME = 5_min
 

Detailed Description

Helper class to retrieve and create strategy measurements.

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

Constructor & Destructor Documentation

◆ AsfMeasurements()

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

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

Member Function Documentation

◆ getFaceInfo()

FaceInfo * nfd::fw::asf::AsfMeasurements::getFaceInfo ( const fib::Entry fibEntry,
const Interest interest,
FaceId  faceId 
)

◆ getOrCreateFaceInfo()

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

◆ getNamespaceInfo()

◆ getOrCreateNamespaceInfo()

Member Data Documentation

◆ MEASUREMENTS_LIFETIME

constexpr time::microseconds nfd::fw::asf::AsfMeasurements::MEASUREMENTS_LIFETIME = 5_min
staticconstexpr

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