summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/sim/simulate.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sim/simulate.cc b/src/sim/simulate.cc
index 407e2274e..b60b8a783 100644
--- a/src/sim/simulate.cc
+++ b/src/sim/simulate.cc
@@ -114,7 +114,7 @@ simulate(Tick num_cycles)
fatal("Quantum for multi-eventq simulation not specified");
}
- quantum_event = new GlobalSyncEvent(simQuantum, simQuantum,
+ quantum_event = new GlobalSyncEvent(curTick() + simQuantum, simQuantum,
EventBase::Progress_Event_Pri, 0);
inParallelMode = true;