[ndnSIM] add interest name in app-delays-tracer
Spyridon (Spyros) Mastorakis
mastorakis at CS.UCLA.EDU
Thu Dec 15 09:26:00 PST 2016
Hi,
you will have to add trace sources like the following:
https://github.com/named-data-ndnSIM/ndnSIM/blob/master/model/ndn-l3-protocol.cpp#L78-L106
https://github.com/named-data-ndnSIM/ndnSIM/blob/master/model/ndn-l3-protocol.hpp#L208-L220
You can take a look at this commit, where I added the appropriate tracing functionality for network NACKs:
https://github.com/named-data-ndnSIM/ndnSIM/commit/8a74d0c6f2029e0a0d169e46d1d201243f138be6
Spyridon (Spyros) Mastorakis
Personal Website: http://cs.ucla.edu/~mastorakis/ <http://cs.ucla.edu/~mastorakis/>
Internet Research Laboratory
Computer Science Department
UCLA
> On Dec 15, 2016, at 3:21 PM, zhangran at bupt.edu.cn wrote:
>
> Hello everyone and Junxiao,
>
> I am using add-delays-tracer monitoring the interest sent out of the app and trace its hops and delays, now app-delay-trace offers only time and node information and so on as output, but I want to add another field "Interest name" of the corresponding request entry, I have studied the code of app-delays-trace.cpp and hpp and found only output function there, but I can't find where to add the field of the monitoring data, so I am sincerely asking you for your kindful help! I would appreciate it if anyone could generously help me out~
>
> Yours,
> Sincerely
>
> Zhang Ran
> Key State Laboratory of Network and Swithing
> Beijing University of Posts and Telecommunications
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.lists.cs.ucla.edu/pipermail/ndnsim/attachments/20161215/1742d40f/attachment.html>
More information about the ndnSIM
mailing list