<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="">as Junxiao mentioned already, NS-3 is a discrete event simulator, therefore every function invocation takes no simulation time. </div><div class=""><br class=""></div><div class="">You can introduce some delay at the application level by scheduling the Interest/Data sending events in the appropriate way. You can use the Schedule method of NS-3 to achieve that:</div><div class=""><br class=""></div><div class=""><a href="https://www.nsnam.org/doxygen/classns3_1_1_simulator.html#a81c1ade622b5266d81908b2a99a330d2" class="">https://www.nsnam.org/doxygen/classns3_1_1_simulator.html#a81c1ade622b5266d81908b2a99a330d2</a></div><div class=""><br class=""></div><div class="">Hope that this helps,</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 Sep 5, 2017, at 3:19 AM, Ertugrul DOGRULUK <<a href="mailto:ertugruldogruluk@hotmail.com" class="">ertugruldogruluk@hotmail.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div class="">Hi.<br class=""><br class="">Is there any special configuration for delay time of node? I’m trying to put a function that manages the delay time. <br class="">thanks. <br class=""><br class=""></div></div></blockquote></div><br class=""></div></body></html>