<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;"><div>Hi Haroon,</div><div><br></div><div>To simulate 5 seconds of network activity, you would want to put Stop(Seconds(5)) in your scenario.  How long such a simulation will take depends on many factors, including machine CPU, memory, topology, and the actual scenario.  But in any case, even if it takes 3 days to finish, NS-3/ndnSIM will simulate just 5 seconds of the network activity in the scenario you have defined.</div><div><br></div><div>---</div><div>Alex</div><br><div><div>On Sep 29, 2014, at 11:32 AM, Haroon Rashid <<a href="mailto:haroonr@iiitd.ac.in">haroonr@iiitd.ac.in</a>> wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div dir="ltr"><div>Hi Alex,<br><br></div>Yes, you are right. I was thinking of the same. But, I want to know how we can relate simulation time to the actual time. For e.g., If I want to keep the network up for 5 minutes in real time then what should I put in the simulation stopping time (5 minutes or something else).<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Sep 29, 2014 at 11:44 PM, Alex Afanasyev <span dir="ltr"><<a href="mailto:alexander.afanasyev@ucla.edu" target="_blank">alexander.afanasyev@ucla.edu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin: 0px 0px 0px 0.8ex; border-left-width: 1px; border-left-color: rgb(204, 204, 204); border-left-style: solid; padding-left: 1ex; position: static; z-index: auto;"><div style="word-wrap:break-word">Hi Haroon,<div><br></div><div>I could be wrong, but I feel you have a small confusion about what Simulator::Stop does.  Simulator::Stop defines when the simulation stops in simulation time, not real time.  In real time it can take long time, depending on the specific topology and scenario.</div><div><br></div><div>---</div><div>Alex</div><div><br><div><div><div class="h5"><div>On Sep 29, 2014, at 3:02 AM, Haroon Rashid <<a href="mailto:haroonr@iiitd.ac.in" target="_blank">haroonr@iiitd.ac.in</a>> wrote:</div><br></div></div><blockquote type="cite"><div><div class="h5"><div dir="ltr">Hello All,<div> I am not able to control the simulation time in <span>ndnSIM</span>. For <span>e.g</span>, If I want to finish <span>simulation</span> by 5 seconds I use<b> Simulator:: Stop (Seconds (5));</b></div><div><b><br></b></div><div>But, it seems that simulator ignores this. To stop the simulation I forcibly close terminal (ctrl+c).</div><div>Please suggest possible solutions.</div></div></div></div></blockquote></div></div></div></blockquote></div><br><br clear="all"><br>-- <br><div dir="ltr"><div><div>Haroon Rashid<br></div><br></div><br></div>
</div>
_______________________________________________<br>ndnSIM mailing list<br><a href="mailto:ndnSIM@lists.cs.ucla.edu">ndnSIM@lists.cs.ucla.edu</a><br>http://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim<br></blockquote></div><br></body></html>