[ndnSIM] How to get a nodes incoming outgoing interet statistics
Junxiao Shi
shijunxiao at email.arizona.edu
Mon May 16 05:57:10 PDT 2016
Hi Ran
ForwarderCounters struct has counters for incoming and outgoing Interests of the forwarder. It can be accessed at nfd::Forwarder::getCounters().
Caution: Interests between NFD and management or NFD-RIB will be counted as well, because they go through the forwarder.
To get all faces, look at nfd::Forwarder::getFaceTable().
Yours, Junxiao
-----Original Message-----
From: "zhangran at bupt.edu.cn" <zhangran at bupt.edu.cn>
Sent: 5/16/2016 2:02
To: "Spyridon (Spyros) Mastorakis" <mastorakis at CS.UCLA.EDU>; "ndnsim" <ndnsim at lists.cs.ucla.edu>
Subject: [ndnSIM] How to get a nodes incoming outgoing interet statistics
Hi, Spyros and all!
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 facecounter 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?
Thank you very much!
Best Wishes!
zhangran at bupt.edu.cn
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.lists.cs.ucla.edu/pipermail/ndnsim/attachments/20160516/1e1708fe/attachment.html>
More information about the ndnSIM
mailing list