26 #ifndef NFD_DAEMON_FACE_FACE_COUNTERS_HPP
27 #define NFD_DAEMON_FACE_FACE_COUNTERS_HPP
53 typename std::enable_if<std::is_base_of<LinkService::Counters, T>::value,
const T&>::type
56 return dynamic_cast<const T&
>(m_linkServiceCounters);
64 typename std::enable_if<std::is_base_of<Transport::Counters, T>::value,
const T&>::type
67 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
std::enable_if< std::is_base_of< Transport::Counters, T >::value, const T & >::type get() const
const PacketCounter & nOutPackets
FaceCounters(const LinkService::Counters &linkServiceCounters, const Transport::Counters &transportCounters)
const PacketCounter & nInInterests
const PacketCounter & nInNacks
const PacketCounter & nInData
const PacketCounter & nOutNacks
const ByteCounter & nOutBytes
const PacketCounter & nInterestsExceededRetx
const PacketCounter & nOutInterests
const PacketCounter & nOutData
std::enable_if< std::is_base_of< LinkService::Counters, T >::value, const T & >::type get() const
counters provided by LinkService
Counters provided by a transport.
Copyright (c) 2014-2015, Regents of the University of California, Arizona Board of Regents,...