<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;" class="">Hi,<div class=""><br class=""></div><div class="">the simulator uses simulation time. If you want to get the real time, you might want to use something like this “hack":</div><div class=""><br class=""></div><div class=""><a href="https://github.com/named-data-ndnSIM/ndnSIM/blob/master/tests/other/ndn-test.cpp#L93-L94" class="">https://github.com/named-data-ndnSIM/ndnSIM/blob/master/tests/other/ndn-test.cpp#L93-L94</a></div><div class=""><br class=""></div><div class="">Hope that this helps, </div><div class=""><br class=""></div><div 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 class=""><br class=""></div></div></div></div><div><blockquote type="cite" class=""><div class="">On Dec 12, 2016, at 2:08 AM, 林冠佑 <<a href="mailto:gouanyoulin@gmail.com" class="">gouanyoulin@gmail.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div dir="ltr" class="">Hi everyone,<div class=""><br class=""></div><div class="">The ndnSIM simulator time is fixed. When receiving data or interest packet, I edit the procedure about onData() and onInterest(). I think it should be difference time, But the simulator time is always the same. Where can I change the time to more real time in ndnSIM. Is the code in Timer on ns3?</div></div></div></blockquote></div><br class=""></div></body></html>