NS-3 based Named Data Networking (NDN) simulator
ndnSIM 2.3: NDN, CCN, CCNx, content centric networks
API Documentation
face-counters.cpp
Go to the documentation of this file.
1 /* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */
26 #include "face-counters.hpp"
27 
28 namespace nfd {
29 namespace face {
30 
32  const Transport::Counters& transportCounters)
33  : nInInterests(linkServiceCounters.nInInterests)
34  , nOutInterests(linkServiceCounters.nOutInterests)
35  , nInData(linkServiceCounters.nInData)
36  , nOutData(linkServiceCounters.nOutData)
37  , nInNacks(linkServiceCounters.nInNacks)
38  , nOutNacks(linkServiceCounters.nOutNacks)
39  , nInPackets(transportCounters.nInPackets)
40  , nOutPackets(transportCounters.nOutPackets)
41  , nInBytes(transportCounters.nInBytes)
42  , nOutBytes(transportCounters.nOutBytes)
43  , m_linkServiceCounters(linkServiceCounters)
44  , m_transportCounters(transportCounters)
45 {
46 }
47 
48 } // namespace face
49 } // namespace nfd
FaceCounters(const LinkService::Counters &linkServiceCounters, const Transport::Counters &transportCounters)
counters provided by Transport
Definition: transport.hpp:57
Copyright (c) 2011-2015 Regents of the University of California.
Definition: ndn-common.hpp:40
counters provided by LinkService