<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">
I suppose you can just look at the nfdc code to learn how it obtains these statistics.<br class="">
<div class=""><br class="Apple-interchange-newline">
<span style="color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; display: inline !important; float: none;" class="">Lan</span>
</div>
<div style=""><br class="">
<blockquote type="cite" class="">
<div class="">On Apr 7, 2019, at 8:23 PM, mengxue <<a href="mailto:mengxue_1224@126.com" class="">mengxue_1224@126.com</a>> wrote:</div>
<br class="Apple-interchange-newline">
<div class="">
<div style="line-height: 1.7; font-size: 14px; font-family: Arial;" class="">
<div class="">Hi, Lan</div>
<div class=""><br class="">
</div>
<div class="">    Thank you very much for your reply!</div>
<div class="">     I am sorry that I didnot explain the problem clearly. I would like to realize an application running on a NFD, and am wondering how this application can obtain the statistics of the NFD on its each interface, such as InInterests and TimedOutInterests.</div>
<div class="">    Thank you very much. Looking forward to your reply.</div>
<div class=""><br class="">
</div>
<div class="">Best regards,<br class="">
</div>
<div class="">Xue Meng</div>
<div class=""><br class="">
</div>
<br class="">
<br class="">
<br class="">
<br class="">
<div style="position:relative;zoom:1" class=""></div>
<div id="divNeteaseMailCard" class=""></div>
<br class="">
At 2019-04-08 06:20:24, "Lan Wang (lanwang)" <<a href="mailto:lanwang@memphis.edu" class="">lanwang@memphis.edu</a>> wrote:<br class="">
<blockquote id="isReplyContent" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid" class="">
I think the nfdc command can print some statistics.<br class="">
<div class=""><br class="Apple-interchange-newline">
<span style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; float: none; display: inline !important;" class="">Lan</span>
</div>
<div class=""><br class="">
<blockquote type="cite" class="">
<div class="">On Apr 3, 2019, at 10:31 PM, mengxue via Nfd-dev <<a href="mailto:nfd-dev@lists.cs.ucla.edu" class="">nfd-dev@lists.cs.ucla.edu</a>> wrote:</div>
<br class="Apple-interchange-newline">
<div class="">
<div style="line-height: 1.7; font-size: 14px; font-family: Arial;" class="">
<div class="">Hi, all,</div>
<div class=""><br class="">
</div>
<div class="">    Thank you very much for your reading.</div>
<div class="">    Recently, I am trying to implement some functions based ndn-cxx and NFD, and meet with some problems. I am wondering how to obtain statistical information of the router on its each interface (<tt class="literal docutils"><tt class="literal docutils"><tt class="literal docutils"><span style="font-size: 13px;" class=""></span></tt></tt></tt>such
 as, InInterests, outData, and TimedOutInterests in ndnSIM tracer, <a href="http://ndnsim.net/1.0/metric.html" _src="http://ndnsim.net/1.0/metric.html" class="">
http://ndnsim.net/1.0/metric.html</a>  ). I find a similar function in nfd::Forwarder::getCounters(), but it seems to be the total number at the granularity of a router , not each interface. I am wondering how to obtain these metrics on each interface, where
 I should to realize this function, in the forwarding strategy like ndnSIM or somewhere else.
<br class="">
</div>
<div class="">   Looking forward to your reply. Thank you very much.</div>
<div class=""><br class="">
</div>
<div class="">Best regards,</div>
<div class="">Xue Meng<br class="">
</div>
</div>
<br class="">
<br class="">
<span title="neteasefooter" class="">
<div class=""> <br class="webkit-block-placeholder">
</div>
</span>_______________________________________________<br class="">
Nfd-dev mailing list<br class="">
<a href="mailto:Nfd-dev@lists.cs.ucla.edu" class="">Nfd-dev@lists.cs.ucla.edu</a><br class="">
<a href="http://www.lists.cs.ucla.edu/mailman/listinfo/nfd-dev" class="">http://www.lists.cs.ucla.edu/mailman/listinfo/nfd-dev</a><br class="">
</div>
</blockquote>
</div>
<br class="">
</blockquote>
</div>
<br class="">
<br class="">
<span title="neteasefooter" class="">
<div class=""> <br class="webkit-block-placeholder">
</div>
</span></div>
</blockquote>
</div>
<br class="">
</body>
</html>