35 #ifndef __SIM_EVENTQ_IMPL_HH__
36 #define __SIM_EVENTQ_IMPL_HH__
48 event->setWhen(when,
this);
65 event->trace(
"scheduled");
81 event->trace(
"descheduled");
100 event->setWhen(when,
this);
106 event->trace(
"rescheduled");
109 #endif // __SIM_EVENTQ_IMPL_HH__
void deschedule(Event *event)
Deschedule the specified event.
void asyncInsert(Event *event)
Function for adding events to the async queue.
bool scheduled() const
Determine if the current event is scheduled.
void insert(Event *event)
Insert / remove event from the queue.
bool inParallelMode
Current mode of execution: parallel / serial.
static const FlagsType Squashed
void reschedule(Event *event, Tick when, bool always=false)
Reschedule the specified event.
static const FlagsType Scheduled
uint64_t Tick
Tick count type.
EventQueue * curEventQueue()
void schedule(Event *event, Tick when, bool global=false)
Schedule the given event on this queue.