Helper class to retrieve and create strategy measurements. More...
#include <daemon/fw/asf-measurements.hpp>
Public Member Functions | |
AsfMeasurements (MeasurementsAccessor &measurements) | |
FaceInfo * | getFaceInfo (const fib::Entry &fibEntry, const Name &interestName, FaceId faceId) |
NamespaceInfo * | getNamespaceInfo (const Name &prefix) |
FaceInfo & | getOrCreateFaceInfo (const fib::Entry &fibEntry, const Name &interestName, FaceId faceId) |
NamespaceInfo & | getOrCreateNamespaceInfo (const fib::Entry &fibEntry, const Name &prefix) |
Static Public Attributes | |
static constexpr time::microseconds | MEASUREMENTS_LIFETIME = 5_min |
Helper class to retrieve and create strategy measurements.
Definition at line 186 of file asf-measurements.hpp.
|
explicit |
Definition at line 79 of file asf-measurements.cpp.
FaceInfo * nfd::fw::asf::AsfMeasurements::getFaceInfo | ( | const fib::Entry & | fibEntry, |
const Name & | interestName, | ||
FaceId | faceId | ||
) |
Definition at line 86 of file asf-measurements.cpp.
NamespaceInfo * nfd::fw::asf::AsfMeasurements::getNamespaceInfo | ( | const Name & | prefix | ) |
Definition at line 98 of file asf-measurements.cpp.
FaceInfo & nfd::fw::asf::AsfMeasurements::getOrCreateFaceInfo | ( | const fib::Entry & | fibEntry, |
const Name & | interestName, | ||
FaceId | faceId | ||
) |
Definition at line 92 of file asf-measurements.cpp.
NamespaceInfo & nfd::fw::asf::AsfMeasurements::getOrCreateNamespaceInfo | ( | const fib::Entry & | fibEntry, |
const Name & | prefix | ||
) |
Definition at line 114 of file asf-measurements.cpp.
|
staticconstexpr |
Definition at line 209 of file asf-measurements.hpp.