26 #ifndef NFD_DAEMON_FW_ASF_PROBING_MODULE_HPP 27 #define NFD_DAEMON_FW_ASF_PROBING_MODULE_HPP 62 return m_probingInterval;
67 using FaceInfoFacePair = std::pair<FaceInfo*, Face*>;
69 struct FaceInfoCompare
72 operator()(
const FaceInfoFacePair& leftPair,
const FaceInfoFacePair& rightPair)
const 74 const FaceInfo& lhs = *leftPair.first;
75 const FaceInfo& rhs = *rightPair.first;
83 using FaceInfoFacePairSet = std::set<FaceInfoFacePair, FaceInfoCompare>;
86 chooseFace(
const FaceInfoFacePairSet& rankedFaces);
89 getProbingProbability(uint64_t rank, uint64_t rankSum, uint64_t nFaces);
96 time::milliseconds m_probingInterval;
104 #endif // NFD_DAEMON_FW_ASF_PROBING_MODULE_HPP
void afterForwardingProbe(const fib::Entry &fibEntry, const Interest &interest)
void scheduleProbe(const fib::Entry &fibEntry, time::milliseconds interval)
ProbingModule(AsfMeasurements &measurements)
static constexpr time::milliseconds DEFAULT_PROBING_INTERVAL
time::milliseconds getProbingInterval() const
Copyright (c) 2014-2015, Regents of the University of California, Arizona Board of Regents...
generalization of a network interface
bool isProbingNeeded(const fib::Entry &fibEntry, const Interest &interest)
static constexpr time::milliseconds MIN_PROBING_INTERVAL
void setProbingInterval(size_t probingInterval)
Face * getFaceToProbe(const Face &inFace, const Interest &interest, const fib::Entry &fibEntry, const Face &faceUsed)
Strategy information for each face in a namespace.
Helper class to retrieve and create strategy measurements.
time::nanoseconds getSrtt() const