From b60dcf6fda29b45be80ec63066a79269cd981214 Mon Sep 17 00:00:00 2001 From: Mitch Watrous Date: Tue, 12 Jul 2011 11:11:18 -0700 Subject: [PATCH] Removed bench-event-collector.cc --- utils/bench-event-collector.cc | 35 ---------------------------------- 1 file changed, 35 deletions(-) delete mode 100644 utils/bench-event-collector.cc diff --git a/utils/bench-event-collector.cc b/utils/bench-event-collector.cc deleted file mode 100644 index 2e3110476..000000000 --- a/utils/bench-event-collector.cc +++ /dev/null @@ -1,35 +0,0 @@ -#include -#include -#include -#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 (); - } -} -