<html><head><meta http-equiv="content-type" content="text/html; charset=ISO-8859-1"><style>body { line-height: 1.5; }blockquote { margin-top: 0px; margin-bottom: 0px; margin-left: 0.5em; }body { font-size: 10.5pt; font-family: 'Microsoft YaHei UI'; color: rgb(0, 0, 0); line-height: 1.5; }body { font-size: 10.5pt; font-family: 'Microsoft YaHei UI'; color: rgb(0, 0, 0); line-height: 1.5; }</style></head><body>
<div><span></span>Hi Spyros,</div><div><br></div><div><span style="font-family: "" microsoft="" yahei="" ui'";="" font-size:="" 14px;="" color:="" rgb(0,="" 0,="" 0);="" background-color:="" rgba(0,="" font-weight:="" normal;="" font-style:="" normal;text-decoration:="" none;'="">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 </span><span style="font-family: ''; font-size: 10.5pt; line-height: 1.5; background-color: window;"></span><a href="https://groups.google.com/forum/#!topic/ns-3-users/xty2I8JV3_c" microsoft="" yahei="" ui'";="" font-size:="" 14px;="" font-weight:="" normal;="" font-style:="" normal;'="" style="font-family: ''; font-size: 10.5pt; line-height: 1.5; background-color: window;">https://groups.google.com/forum/#!topic/ns-3-users/xty2I8JV3_c</a> , 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.</div><div><br></div><div>Thank you again for your help!</div><div><br></div><div>Yours,</div><div>Sincerely</div><span style="font-family: "" microsoft="" yahei="" ui'";="" font-size:="" 14px;="" color:="" rgb(0,="" 0,="" 0);="" background-color:="" rgb(255,="" 255,="" 255);="" font-weight:="" normal;="" font-style:="" normal;text-decoration:="" none;'=""></span>
<div><br></div><hr style="width: 210px; height: 1px;" color="#b5c4df" size="1" align="left">
<div><span><div style="MARGIN: 10px; FONT-FAMILY: verdana; FONT-SIZE: 10pt"><div style="font-family: 'Microsoft YaHei UI'; font-size: 14px; line-height: 21px;">Zhang Ran</div><div style="font-family: 'Microsoft YaHei UI'; font-size: 14px; line-height: 21px;">Key State Laboratory of Network and Switching</div><div style="font-family: 'Microsoft YaHei UI'; font-size: 14px; line-height: 21px;">Beijing University of Posts and Telecommunications</div></div></span></div>
<blockquote style="margin-top: 0px; margin-bottom: 0px; margin-left: 0.5em;"><div> </div><div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm"><div style="PADDING-RIGHT: 8px; PADDING-LEFT: 8px; FONT-SIZE: 12px;FONT-FAMILY:tahoma;COLOR:#000000; BACKGROUND: #efefef; PADDING-BOTTOM: 8px; PADDING-TOP: 8px"><div><b>From:</b> <a href="mailto:mastorakis@cs.ucla.edu">Spyridon (Spyros) Mastorakis</a></div><div><b>Date:</b> 2016-12-16 01:26</div><div><b>To:</b> <a href="mailto:zhangran@bupt.edu.cn">zhangran</a></div><div><b>CC:</b> <a href="mailto:ndnsim@lists.cs.ucla.edu">ndnsim</a></div><div><b>Subject:</b> Re: [ndnSIM] add interest name in app-delays-tracer</div></div></div><div><div class="FoxDiv20161218194431596622" style="word-wrap: break-word; -webkit-line-break: after-white-space;">Hi,<div class=""><br class=""></div><div class="">you will have to add trace sources like the following:</div><div class=""><br class=""></div><div class=""><a href="https://github.com/named-data-ndnSIM/ndnSIM/blob/master/model/ndn-l3-protocol.cpp#L78-L106" class="">https://github.com/named-data-ndnSIM/ndnSIM/blob/master/model/ndn-l3-protocol.cpp#L78-L106</a></div><div class=""><a href="https://github.com/named-data-ndnSIM/ndnSIM/blob/master/model/ndn-l3-protocol.hpp#L208-L220" class="">https://github.com/named-data-ndnSIM/ndnSIM/blob/master/model/ndn-l3-protocol.hpp#L208-L220</a></div><div class=""><br class=""></div><div class="">You can take a look at this commit, where I added the appropriate tracing functionality for network NACKs:</div><div class=""><br class=""></div><div class=""><a href="https://github.com/named-data-ndnSIM/ndnSIM/commit/8a74d0c6f2029e0a0d169e46d1d201243f138be6" class="">https://github.com/named-data-ndnSIM/ndnSIM/commit/8a74d0c6f2029e0a0d169e46d1d201243f138be6</a></div><div class=""> <br class=""><div class="">
<div class=""><div class=""><div class=""><span class="" style="float: none; display: inline !important;">Spyridon (Spyros) Mastorakis</span><br class=""><span class="" style="float: none; display: inline !important;">Personal Website: </span><a href="http://cs.ucla.edu/~mastorakis/" class="">http://cs.ucla.edu/~mastorakis/</a><br class=""><span class="" style="float: none; display: inline !important;">Internet Research Laboratory</span><br class=""><span class="" style="float: none; display: inline !important;">Computer Science Department</span><br class=""><span class="" style="float: none; display: inline !important;">UCLA</span></div></div></div>
</div>
<br class=""><div><blockquote type="cite" class="" style="margin-top: 0px; margin-bottom: 0px; margin-left: 0.5em;"><div class="">On Dec 15, 2016, at 3:21 PM, <a href="mailto:zhangran@bupt.edu.cn" class="">zhangran@bupt.edu.cn</a> wrote:</div><br class="Apple-interchange-newline"><div class=""><div style="font-family: 'Microsoft YaHei UI'; font-size: 14px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><span class=""></span>Hello everyone and Junxiao,</div><div style="font-family: 'Microsoft YaHei UI'; font-size: 14px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><br class=""></div><div style="font-family: 'Microsoft YaHei UI'; font-size: 14px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><span microsoft="" yahei="" ui'";="" font-size:="" 14px;="" color:="" rgb(0,="" 0,="" 0);="" background-color:="" rgba(0,="" font-weight:="" normal;="" font-style:="" normal;text-decoration:="" none;'="" style="font-family: '} ';" class="">    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~</span></div><div style="font-family: 'Microsoft YaHei UI'; font-size: 14px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><span microsoft="" yahei="" ui'";="" font-size:="" 14px;="" color:="" rgb(0,="" 0,="" 0);="" background-color:="" rgba(0,="" font-weight:="" normal;="" font-style:="" normal;text-decoration:="" none;'="" style="font-family: '} ';" class=""><br class=""></span></div><div style="font-family: 'Microsoft YaHei UI'; font-size: 14px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><span microsoft="" yahei="" ui'";="" font-size:="" 14px;="" color:="" rgb(0,="" 0,="" 0);="" background-color:="" rgba(0,="" font-weight:="" normal;="" font-style:="" normal;text-decoration:="" none;'="" style="font-family: '} ';" class="">Yours,</span></div><div style="font-family: 'Microsoft YaHei UI'; font-size: 14px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><span microsoft="" yahei="" ui'";="" font-size:="" 14px;="" color:="" rgb(0,="" 0,="" 0);="" background-color:="" rgba(0,="" font-weight:="" normal;="" font-style:="" normal;text-decoration:="" none;'="" style="font-family: '} ';" class="">Sincerely</span></div><div style="font-family: 'Microsoft YaHei UI'; font-size: 14px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><br class=""></div><hr size="1" align="left" style="font-family: 'Microsoft YaHei UI'; font-size: 14px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; width: 210px; height: 1px;" class=""><div style="font-family: 'Microsoft YaHei UI'; font-size: 14px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><span class=""><div style="margin: 10px; font-family: verdana; font-size: 10pt;" class=""><div style="font-family: 'Microsoft YaHei UI'; font-size: 14px; line-height: 21px;" class="">Zhang Ran</div><div style="font-family: 'Microsoft YaHei UI'; font-size: 14px; line-height: 21px;" class="">Key State Laboratory of Network and Swithing</div><div style="font-family: 'Microsoft YaHei UI'; font-size: 14px; line-height: 21px;" class="">Beijing University of Posts and Telecommunications</div></div></span></div></div></blockquote></div><br class=""></div></div></div></blockquote>
</body></html>