Add Simulator::StopAt()

This commit is contained in:
Tom Henderson
2007-02-15 21:56:24 -08:00
parent db2795f4b1
commit 69f8408b04

View File

@@ -22,6 +22,7 @@
// replacement ns-3 code, to highlight the change in design
#include "ns3/simulator.h"
#include "ns3/nstime.h"
using namespace ns3;
@@ -92,7 +93,7 @@ int main (int argc, char *argv[])
// puts [$cbr0 set interval_]
//
// $ns at 3.0 "finish"
// Simulator::StopAt (3.0);
Simulator::StopAt (Seconds(3.0));
//
// proc finish {} {
// global ns f nf