<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"><style>body { line-height: 1.5; }body { font-size: 10.5pt; font-family: 'Microsoft YaHei UI'; color: rgb(0, 0, 0); line-height: 1.5; }</style></head><body><div><div style="font-family: Calibri,sans-serif; font-size: 11pt;">Hi Ran<br><br>ForwarderCounters struct has counters for incoming and outgoing Interests of the forwarder. It can be accessed at nfd::Forwarder::getCounters().<br>Caution: Interests between NFD and management or NFD-RIB will be counted as well, because they go through the forwarder.<br><br>To get all faces, look at nfd::Forwarder::getFaceTable().<br><br>Yours, Junxiao</div></div><div dir="ltr"><hr><span style="font-family: Calibri,sans-serif; font-size: 11pt; font-weight: bold;">From: </span><span style="font-family: Calibri,sans-serif; font-size: 11pt;"><a href="mailto:zhangran@bupt.edu.cn">zhangran@bupt.edu.cn</a></span><br><span style="font-family: Calibri,sans-serif; font-size: 11pt; font-weight: bold;">Sent: </span><span style="font-family: Calibri,sans-serif; font-size: 11pt;">‎5/‎16/‎2016 2:02</span><br><span style="font-family: Calibri,sans-serif; font-size: 11pt; font-weight: bold;">To: </span><span style="font-family: Calibri,sans-serif; font-size: 11pt;"><a href="mailto:mastorakis@CS.UCLA.EDU">Spyridon (Spyros) Mastorakis</a>; <a href="mailto:ndnsim@lists.cs.ucla.edu">ndnsim</a></span><br><span style="font-family: Calibri,sans-serif; font-size: 11pt; font-weight: bold;">Subject: </span><span style="font-family: Calibri,sans-serif; font-size: 11pt;">[ndnSIM] How to get a nodes incoming outgoing interet statistics</span><br><br></div>
<div><span></span>Hi, Spyros and all!</div><div><span style='font-family: "";' microsoft="" yahei="" ui'";="" 14px;="" rgb(0,="" 0,="" 0);="" rgba(0,="" normal;="" none;'="">    I am constructing my experiment demo with ndnSim and during the simulation, every node needs to know how many Interests it receives and forwards periodically. I find <b>facecounter </b>in NFD can record the statistics and output these data but it is only about a single face. So I am wondering if there is any method to get the total number of Interests received and forwarded by the node. And if there is no such method, then how can I get all the faces one node contains?</span></div><div><span style='font-family: "";' microsoft="" yahei="" ui'";="" 14px;="" rgb(0,="" 0,="" 0);="" rgba(0,="" normal;="" none;'=""><br></span></div><div><span style='font-family: "";' microsoft="" yahei="" ui'";="" 14px;="" rgb(0,="" 0,="" 0);="" rgba(0,="" normal;="" none;'="">Thank you very much!</span></div><div><span style='font-family: "";' microsoft="" yahei="" ui'";="" 14px;="" rgb(0,="" 0,="" 0);="" rgba(0,="" normal;="" none;'="">Best Wishes!</span></div>
<div><br></div><hr size="1" align="left" color="#b5c4df" style="width: 210px; height: 1px;">
<div><span><div style="margin: 10px; font-family: verdana; font-size: 10pt;"><div>zhangran@bupt.edu.cn</div></div></span></div>
</body></html>