Update the Memtester, commit a config file/test for it.
[gem5.git] / src / sim / root.cc
index ec5e2f7e2658c746f75b916193f20543bfc48354..565b57269ca0290ca8bfb19c271f14758b59f7d5 100644 (file)
@@ -100,7 +100,7 @@ void
 Root::startup()
 {
     if (max_tick != 0)
-        exitSimLoop(curTick + max_tick, "reached maximum cycle count");
+        schedExitSimLoop("reached maximum cycle count", curTick + max_tick);
 
     if (progress_interval != 0)
         new ProgressEvent(&mainEventQueue, progress_interval);