diff options
Diffstat (limited to 'sim/sim_events.hh')
-rw-r--r-- | sim/sim_events.hh | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/sim/sim_events.hh b/sim/sim_events.hh index c4db248e0..4a8e7c115 100644 --- a/sim/sim_events.hh +++ b/sim/sim_events.hh @@ -43,23 +43,23 @@ class SimExitEvent : public Event public: SimExitEvent(const std::string &_cause, int c = 0) - : Event(&mainEventQueue), cause(_cause), + : Event(&mainEventQueue, Sim_Exit_Pri), cause(_cause), code(c) - { schedule(curTick, 1000); } + { schedule(curTick); } SimExitEvent(Tick _when, const std::string &_cause, int c = 0) - : Event(&mainEventQueue), cause(_cause), + : Event(&mainEventQueue, Sim_Exit_Pri), cause(_cause), code(c) - { schedule(_when, 1000); } + { schedule(_when); } SimExitEvent(EventQueue *q, const std::string &_cause, int c = 0) - : Event(q), cause(_cause), code(c) - { schedule(curTick, 1000); } + : Event(q, Sim_Exit_Pri), cause(_cause), code(c) + { schedule(curTick); } SimExitEvent(EventQueue *q, Tick _when, const std::string &_cause, int c = 0) - : Event(q), cause(_cause), code(c) - { schedule(_when, 1000); } + : Event(q, Sim_Exit_Pri), cause(_cause), code(c) + { schedule(_when); } void process(); // process event |