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);
91 #endif // NFD_DAEMON_FACE_FACE_COUNTERS_HPP FaceCounters(const LinkService::Counters &linkServiceCounters, const Transport::Counters &transportCounters)
represents a counter of number of bytes
const PacketCounter & nOutInterests
const PacketCounter & nOutData
represents a counter of number of packets
const PacketCounter & nOutPackets
const ByteCounter & nInBytes
Copyright (c) 2014-2015, Regents of the University of California, Arizona Board of Regents...
counters provided by LinkService
const PacketCounter & nOutNacks
gives access to counters provided by Face
const PacketCounter & nInInterests
const ByteCounter & nOutBytes
counters provided by Transport
const PacketCounter & nInData
const PacketCounter & nInNacks
const PacketCounter & nInPackets