Finalizing LinkFailure scenario
diff --git a/examples/base-experiment.h b/examples/base-experiment.h
index 603687f..ef20ab4 100644
--- a/examples/base-experiment.h
+++ b/examples/base-experiment.h
@@ -23,6 +23,13 @@
#include "ns3/rocketfuel-topology-reader.h"
+void PrintTime ()
+{
+ cout << "Progress: " << Simulator::Now ().ToDouble (Time::S) << "s" << endl;
+
+ Simulator::Schedule (Seconds (1.0), PrintTime);
+}
+
class BaseExperiment
{
public:
@@ -162,7 +169,7 @@
{
cout << "Run Simulation.\n";
Simulator::Stop (finishTime);
- // Simulator::Schedule (Seconds (1.0), PrintTime);
+ Simulator::Schedule (Seconds (1.0), PrintTime);
Simulator::Run ();
Simulator::Destroy ();
cout << "Done.\n";