utils/bench-simulator.cc
changeset 162 5b398ac221c7
parent 150 663120712cd9
child 163 2a7e05018eeb
--- a/utils/bench-simulator.cc	Fri Nov 03 11:07:24 2006 +0100
+++ b/utils/bench-simulator.cc	Tue Nov 21 15:50:09 2006 +0100
@@ -73,7 +73,7 @@
   time.Start ();
   for (std::vector<uint64_t>::const_iterator i = m_distribution.begin ();
        i != m_distribution.end (); i++) {
-      Simulator::Schedule (Now () + NanoSeconds (*i), &Bench::Cb, this);
+      Simulator::Schedule (NanoSeconds (*i), &Bench::Cb, this);
   }
   init = time.End ();
 
@@ -105,7 +105,7 @@
   if (gDebug) {
       std::cerr << "event at " << Simulator::Now ().ApproximateToSeconds () << "s" << std::endl;
   }
-  Simulator::Schedule (Now () + NanoSeconds (*m_current), &Bench::Cb, this);
+  Simulator::Schedule (NanoSeconds (*m_current), &Bench::Cb, this);
   m_current++;
   m_n++;
 }