[ndnSIM] How to trace ReceivedInterests?

Spyridon (Spyros) Mastorakis spiros.mastorakis at gmail.com
Thu Jan 8 17:51:38 PST 2015


I think that if you just use the L3RateTracer and monitor the InInterest parameter, you will achieve your goal, because the number of the interests received by an application should, at least in the general case, be the same with the number of incoming interests traced by the suggested tracer. 

If you really want to use Config::Connect though, you can take a look at line 234 of the following link for a use example: 

http://ndnsim.net/doxygen/ndn-app-delay-tracer_8cc_source.html <http://ndnsim.net/doxygen/ndn-app-delay-tracer_8cc_source.html>

Spyridon (Spyros) Mastorakis
Personal Website: http://cs.ucla.edu/~mastorakis/
Internet Research Laboratory
PhD Computer Science

> On Jan 8, 2015, at 5:09 PM, 최원준 <wonjunchoi001 at gmail.com> wrote:
> Thanks for your reply.
> I think the type of measurement is different.
> I thought config path can do this. but I don't know how to do.
> --------------------------------------------------------------------------------------------------------------------------------------
> Config Paths
> ns3::ndn::App is accessible through the following paths with Config::Set and Config::Connect:
> /NodeList/[i]/ApplicationList/[i]/$ns3::ndn::App
> --------------------------------------------------------------------------------------------------------------------------------------
> ndn::L3RateTracer <http://ndnsim.net/doxygen/classns3_1_1ndn_1_1_l3_rate_tracer.html> 
> Type of measurements:
> InInterests measurements of incoming Interests
> OutInterests measurements of outgoing Interests
> DropInterests measurements of dropped Interests
> InData measurements of incoming Data
> OutData measurements of outgoing Data
> DropData measurements of dropped Data
> InNacks measurements of incoming NACKs
> OutNacks measurements of outgoing NACKs
> DropNacks measurements of dropped NACKs
> InSatisfiedInterests measurements of incoming satisfied Interests
> InTimedOutInterests measurements of incoming timed out Interests
> OutSatisfiedInterests measurements of outgoing satisfied Interests
> OutTimedOutInterests measurements of outgoing satisfied Interests
> --------------------------------------------------------------------------------------------------------------------------------------
> Wonjun, Choi

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.lists.cs.ucla.edu/pipermail/ndnsim/attachments/20150108/a117e56f/attachment.html>

More information about the ndnSIM mailing list