31 #ifndef __SIM_EVENTQ_IMPL_HH__ 32 #define __SIM_EVENTQ_IMPL_HH__ 44 event->setWhen(when,
this);
61 event->trace(
"scheduled");
77 event->trace(
"descheduled");
96 event->setWhen(when,
this);
102 event->trace(
"rescheduled");
105 #endif // __SIM_EVENTQ_IMPL_HH__ void asyncInsert(Event *event)
Function for adding events to the async queue.
void schedule(Event *event, Tick when, bool global=false)
Schedule the given event on this queue.
void deschedule(Event *event)
Deschedule the specified event.
void insert(Event *event)
Insert / remove event from the queue.
bool inParallelMode
Current mode of execution: parallel / serial.
static const FlagsType Squashed
static const FlagsType Scheduled
uint64_t Tick
Tick count type.
EventQueue * curEventQueue()
void reschedule(Event *event, Tick when, bool always=false)
Reschedule the specified event.
bool scheduled() const
Determine if the current event is scheduled.
Tick getCurTick() const
While curTick() is useful for any object assigned to this event queue, if an object that is assigned ...