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 Interest &interest, const Face &face) |
NamespaceInfo * | getNamespaceInfo (const Name &prefix) |
FaceInfo & | getOrCreateFaceInfo (const fib::Entry &fibEntry, const Interest &interest, const Face &face) |
NamespaceInfo & | getOrCreateNamespaceInfo (const fib::Entry &fibEntry, const Interest &interest) |
Static Public Attributes | |
static constexpr time::microseconds | MEASUREMENTS_LIFETIME = time::seconds(300) |
Helper class to retrieve and create strategy measurements.
Definition at line 284 of file asf-measurements.hpp.
|
explicit |
Definition at line 206 of file asf-measurements.cpp.
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.
|
static |
Definition at line 307 of file asf-measurements.hpp.