<div dir="ltr">Hi Pierre,<div><br></div><div>The AppDelayTracer is an application-level trace. It actually gives you the delay, however, I think you want this information inside the NFD (router-level).<br></div><div><br></div><div>NFD forward packets based on the PIT state information set up by the Interests at each hop.<br></div><div><br></div><div>Thus, you can calculate the delay between receiving the interest packet and its respective data packet.<br></div><div><br></div><div>This has been done in ASF-Strategy. You can see how it has been implemented to create your own version.<br></div><div><br></div><div>Source code path:</div><div>     - ndnSIM/ns-3/src/ndnSIM/NFD/daemon/fw/asf-*</div><div><br></div><div>Regards,</div><div>Ygor Amaral</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Jun 4, 2021 at 6:58 AM Pierre Paul EMINE II via ndnSIM <<a href="mailto:ndnsim@lists.cs.ucla.edu">ndnsim@lists.cs.ucla.edu</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">hello members,<div>I want to make a p-LRU script with the probability depending on the latency. </div><div>Is there a metric for packet latency in routers?<br></div></div>
_______________________________________________<br>
ndnSIM mailing list<br>
<a href="mailto:ndnSIM@lists.cs.ucla.edu" target="_blank">ndnSIM@lists.cs.ucla.edu</a><br>
<a href="http://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim" rel="noreferrer" target="_blank">http://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim</a><br>
</blockquote></div>