26 #ifndef NFD_DAEMON_FACE_FACE_COUNTERS_HPP
27 #define NFD_DAEMON_FACE_FACE_COUNTERS_HPP
52 std::enable_if_t<std::is_base_of_v<LinkService::Counters, T>,
const T&>
55 return dynamic_cast<const T&
>(m_linkServiceCounters);
63 std::enable_if_t<std::is_base_of_v<Transport::Counters, T>,
const T&>
66 return dynamic_cast<const T&
>(m_transportCounters);
Represents a counter of number of bytes.
Represents a counter of number of packets.
Gives access to counters provided by Face.
PacketCounter nInHopLimitZero
Count of incoming Interests dropped due to HopLimit == 0.
const PacketCounter & nInPackets
PacketCounter nOutHopLimitZero
Count of outgoing Interests dropped due to HopLimit == 0 on non-local faces.
const ByteCounter & nInBytes
const PacketCounter & nOutPackets
std::enable_if_t< std::is_base_of_v< LinkService::Counters, T >, const T & > get() const
FaceCounters(const LinkService::Counters &linkServiceCounters, const Transport::Counters &transportCounters)
const PacketCounter & nInInterests
std::enable_if_t< std::is_base_of_v< Transport::Counters, T >, const T & > get() const
const PacketCounter & nInNacks
const PacketCounter & nInData
const PacketCounter & nOutNacks
const ByteCounter & nOutBytes
const PacketCounter & nInterestsExceededRetx
const PacketCounter & nOutInterests
const PacketCounter & nOutData
Counters provided by LinkService.
Counters provided by a transport.