<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Alex,<div><span class="Apple-tab-span" style="white-space:pre"> </span>Cool. I will try and give you feedback.</div><div><br><div>
<div><div style="color: rgb(34, 34, 34); font-size: small; background-color: rgb(255, 255, 255); font-family: arial; "><font face="'comic sans ms', sans-serif">thanks</font><br><br><font face="garamond, serif"><font size="4">My Regards,</font><br></font></div><hr align="left" color="#b5c4df" size="1" style="color: rgb(34, 34, 34); font-size: small; font-family: arial; width: 210px; min-height: 1px; "><div style="color: rgb(34, 34, 34); font-size: small; background-color: rgb(255, 255, 255); font-family: arial; "><font face="garamond, serif"><div><span style="font-size: 10.5pt; ">Xiaoke Jiang (蒋小可)</span></div><div><span style="font-size: 10.5pt; "><br></span></div><div><span style="font-size: 10.5pt; "><font color="#666666">Ph.D Candidate,</font></span></div><div><span style="font-size: 10.5pt; "><font color="#666666">Dept. of Computer Science and Technology,</font></span></div><div><span style="font-size: 10.5pt; "><font color="#666666">Tsinghua University, P. R. China</font></span></div></font></div></div>
</div>
<br><div><div>On Jan 17, 2013, at 4:13 AM, Alexander Afanasyev <<a href="mailto:alexander.afanasyev@ucla.edu">alexander.afanasyev@ucla.edu</a>> wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite">Hi Xiaoke,<br><br>It is up to the particular application to track down Interest-Data latency.  There is another question regarding in which latency you're interested: just Interest-Data or first Interest for sequence number and reception of Data (which includes all the retransmission delays).<br><br>Currently in ndn::Consumer-based apps, there is tracking of just Interest-Data packets (i.e., without retransmission delays) within RTT estimator variable (Ptr<RttEstimator> m_rtt) and in timeout container (SeqTimeoutsContainer m_seqTimeouts).   <br><br>If you want/need the other delay, including all retransmission timeouts, then it should be straightforward to implement, for example, using SeqTimeoutsContainer structure (similarly how m_seqLifetimes in ndn::Consumer).<br><br>I think, and would do it when I can get time for that, it is a good idea to export both delay parameters as a trace sources in ndn::Consumer class, as well as write a simple metric helper.<br><br>---<br>Alex<br><br>On Jan 16, 2013, at 5:36 AM, Xiaoke Jiang <<a href="mailto:shock.jiang@gmail.com">shock.jiang@gmail.com</a>> wrote:<br><br><blockquote type="cite">Hi All, <br><span class="Apple-tab-span" style="white-space:pre">      </span>How to trace the latency of request, duration from sending the Interest to receiving corresponding Data.<br><span class="Apple-tab-span" style="white-space:pre">  </span><br><span class="Apple-tab-span" style="white-space:pre">  </span>Is there anyone can give some hint? Thank you in advance.<br><br>thanks<br><br>My Regards,<br>Xiaoke Jiang (蒋小可)<br><br>Ph.D Candidate,<br>Dept. of Computer Science and Technology,<br>Tsinghua University, P. R. China<br></blockquote><br></blockquote></div><br></div></body></html>