36 scheduleEventAbsolute(
em->clockEdge(timeDelta));
42 if (!alreadyScheduled(evt_time)) {
45 [
this]{ wakeup(); },
"Consumer Event",
true);
47 em->schedule(
evt, evt_time);
48 insertScheduledWakeupTime(evt_time);
52 set<Tick>::iterator bit = m_scheduled_wakeups.begin();
53 set<Tick>::iterator eit = m_scheduled_wakeups.lower_bound(
t);
54 m_scheduled_wakeups.erase(bit,eit);