Removed bench-event-collector.cc
authorMitch Watrous <watrous@u.washington.edu>
Tue, 12 Jul 2011 11:11:18 -0700
changeset 7407 1f01651a5a66
parent 7406 80940903b711
child 7408 838079534ff9
Removed bench-event-collector.cc
utils/bench-event-collector.cc
--- a/utils/bench-event-collector.cc	Tue Jul 12 11:02:40 2011 +0100
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,35 +0,0 @@
-#include <iostream>
-#include <vector>
-#include <stdlib.h>
-#include "ns3/event-collector.h"
-#include "ns3/simulator.h"
-
-using namespace ns3;
-
-void Foo ()
-{
-
-}
-
-int main (int argc, char *argv[])
-{
-    EventCollector events;
-
-    if (argc < 3)
-    {
-        std::cerr << "usage: bench-event-collector NUM_EVENTS NUM_REPETITIONS" << std::endl;
-        return 1;
-    }
-    int numEvents = atoi (argv[1]);
-    int numRepetitions = atoi (argv[2]);
-    
-    for (int repetition = 0; repetition < numRepetitions; ++repetition)
-    {
-        for (int n = 0; n < numEvents; ++n)
-        {
-            events.Track (Simulator::Schedule (Simulator::Now (), Foo));
-        }
-        Simulator::Run ();
-    }
-}
-