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)
Copyright (c) 2014-2015, Regents of the University of California, Arizona Board of Regents...
Definition: algorithm.hpp:32
counters provided by Transport
Definition: transport.hpp:57