handle calendar scheduler in bench
authorMathieu Lacage <mathieu.lacage@sophia.inria.fr>
Fri, 09 Jan 2009 07:51:42 +0100
changeset 4053 f983d157bbff
parent 4052 62bed1686d48
child 4054 d1df606b20f8
handle calendar scheduler in bench
utils/bench-simulator.cc
--- a/utils/bench-simulator.cc	Fri Jan 09 07:51:17 2009 +0100
+++ b/utils/bench-simulator.cc	Fri Jan 09 07:51:42 2009 +0100
@@ -168,6 +168,10 @@
         {
           Simulator::SetScheduler (CreateObject<MapScheduler> ());
         } 
+      else if (strcmp ("--calendar", argv[0]) == 0)
+        {
+          Simulator::SetScheduler (CreateObject<CalendarScheduler> ());
+        }
       else if (strcmp ("--debug", argv[0]) == 0) 
         {
           g_debug = true;