[ndnSIM] add interest name in app-delays-tracer

zhangran at bupt.edu.cn zhangran at bupt.edu.cn
Sun Dec 18 17:16:55 PST 2016

Hi Spyros,

Thank you so much for your help! I have been studying how to modify and enhance the trace source in ns-3 in the past two days, thanks to your advice and ns-3 turorial as well as post in https://groups.google.com/forum/#!topic/ns-3-users/xty2I8JV3_c , I am able to understand the mechanism of tracing system of ns-3 and realise my own trace source and trace sink! I'd like to share the material with everyone else in the mailing list to help them in terms of the same kind of questions.

Thank you again for your help!


Zhang Ran
Key State Laboratory of Network and Switching
Beijing University of Posts and Telecommunications
From: Spyridon (Spyros) Mastorakis
Date: 2016-12-16 01:26
To: zhangran
CC: ndnsim
Subject: Re: [ndnSIM] add interest name in app-delays-tracer

you will have to add trace sources like the following:


You can take a look at this commit, where I added the appropriate tracing functionality for network NACKs:

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

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~


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/20161219/d82e6c04/attachment-0001.html>

More information about the ndnSIM mailing list