<html><head><meta http-equiv="Content-Type" content="text/html charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">Hi Gabriel,<div class=""><br class=""></div><div class="">correct, that is another way to do that. I typically need to make different decisions in my applications based on the RTT value. That is why I need to be aware of RTT during my simulation rather than looking at the RTT value(s) when the simulation is over. I presumed that the OP may have a similar objective. If not, using the app delay trace should be fine too.</div><div class=""><br class=""></div><div class="">Thanks,</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=""><div class="">On Jul 13, 2018, at 7:09 PM, Gabriel Arrobo <<a href="mailto:gab.arrobo@gmail.com" class="">gab.arrobo@gmail.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div dir="ltr" class="">Hi Spyridon,<div class=""><br class=""></div><div class="">What about using the AppDelayTracer for this purpose?</div><div class=""><br class=""></div><div class="">Thanks!</div><div class=""><br clear="all" class=""><div class=""><div dir="ltr" class="gmail_signature"><div dir="ltr" class=""><font size="2" class=""><i style="color:rgb(87,87,87)" class=""><span style="color:navy" class="">Best regards,</span></i><span style="color:rgb(31,73,125)" class=""><br class=""></span><b style="color:rgb(87,87,87)" class=""><span style="color:navy" class="">Gabriel</span></b></font><br class=""></div></div></div><br class=""></div></div><br class=""><div class="gmail_quote"><div dir="ltr" class="">On Fri, Jul 13, 2018 at 7:02 PM Spyridon (Spyros) Mastorakis <<a href="mailto:mastorakis@cs.ucla.edu" class="">mastorakis@cs.ucla.edu</a>> wrote:<br class=""></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word" class="">Hi,<div class=""><br class=""></div><div class="">I would suggest you implement a queue of outstanding Interests on your own. Every time you send out an Interest, you record the name and the timestamp. When a data packet comes back, you find the corresponding Interest name in this queue and you calculate the RTT of each Interest/Data exchange. The overall RTT can be the average of the RTT of all the Interest/Data exchanges (or you can use some sort of moving average if you want).</div><div class=""><br class=""></div><div class="">Thanks,</div><div class=""><br class=""></div><div class=""><div class="">
<div class=""><div class=""><div class=""><span style="float:none;display:inline!important" class="">Spyridon (Spyros) Mastorakis</span><br class=""><span style="float:none;display:inline!important" class="">Personal Website: </span><a href="http://cs.ucla.edu/~mastorakis/" target="_blank" class="">http://cs.ucla.edu/~mastorakis/</a><br class=""><span style="float:none;display:inline!important" class="">Internet Research Laboratory</span><br class=""><span style="float:none;display:inline!important" class="">Computer Science Department</span><br class=""><span style="float:none;display:inline!important" class="">UCLA</span></div><div class=""><br class=""></div></div></div></div><div class=""><blockquote type="cite" class=""><div class="">On Jul 13, 2018, at 8:56 AM, madhurima buragohain <<a href="mailto:madhurimajya@gmail.com" target="_blank" class="">madhurimajya@gmail.com</a>> wrote:</div><br class="m_-2502951736486775021Apple-interchange-newline"><div class=""><div dir="ltr" class=""><div class="">Hi All, <br class=""></div><div class=""><br class=""></div><div class="">Could anyone can help me how to calculate RTT using ndn-rtt-estimator.cpp file? or any other alternative solution.<br class=""></div></div></div></blockquote></div><br class=""></div></div>_______________________________________________<br class="">
ndnSIM mailing list<br class="">
<a href="mailto:ndnSIM@lists.cs.ucla.edu" target="_blank" class="">ndnSIM@lists.cs.ucla.edu</a><br class="">
<a href="http://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim" rel="noreferrer" target="_blank" class="">http://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim</a><br class="">
</blockquote></div>
</div></blockquote></div><br class=""></div></body></html>