[ndnSIM] How to get a nodes incoming outgoing interet statistics
shijunxiao at email.arizona.edu
Mon May 16 05:57:10 PDT 2016
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().
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!
zhangran at bupt.edu.cn
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the ndnSIM