TimeSlot *&ts = tsp.second;
for (auto &e: ts->events)
e->deschedule();
- eq->deschedule(ts);
+ deschedule(ts);
}
timeSlots.clear();
// gem5 events.
if (readyEvent.scheduled())
- eq->deschedule(&readyEvent);
+ deschedule(&readyEvent);
if (pauseEvent.scheduled())
- eq->deschedule(&pauseEvent);
+ deschedule(&pauseEvent);
if (stopEvent.scheduled())
- eq->deschedule(&stopEvent);
+ deschedule(&stopEvent);
if (starvationEvent.scheduled())
- eq->deschedule(&starvationEvent);
+ deschedule(&starvationEvent);
if (maxTickEvent.scheduled())
- eq->deschedule(&maxTickEvent);
+ deschedule(&maxTickEvent);
Process *p;
while ((p = toFinalize.getNext()))
Fiber::primaryFiber()->run();
if (pauseEvent.scheduled())
- eq->deschedule(&pauseEvent);
+ deschedule(&pauseEvent);
if (stopEvent.scheduled())
- eq->deschedule(&stopEvent);
+ deschedule(&stopEvent);
if (maxTickEvent.scheduled())
- eq->deschedule(&maxTickEvent);
+ deschedule(&maxTickEvent);
if (starvationEvent.scheduled())
- eq->deschedule(&starvationEvent);
+ deschedule(&starvationEvent);
}
void
if (pauseEvent.scheduled())
return;
- eq->schedule(&pauseEvent, eq->getCurTick());
+ schedule(&pauseEvent);
}
void
// pending activity.
clear();
}
- eq->schedule(&stopEvent, eq->getCurTick());
+ schedule(&stopEvent);
}
Scheduler scheduler;