51 "Consumer Event",
false, ev_prio),
66 divCeil(evt_time,
em->clockPeriod()) *
em->clockPeriod());
77 assert(when >=
em->clockEdge());
89 assert(
em->clockEdge() == *curr);
The ClockedObject class extends the SimObject with a clock and accessor functions to relate ticks to ...
Cycles is a wrapper class for representing cycle counts, i.e.
EventFunctionWrapper m_wakeup_event
void scheduleNextWakeup()
void scheduleEventAbsolute(Tick timeAbs)
Consumer(ClockedObject *em, Event::Priority ev_prio=Event::Default_Pri)
void scheduleEvent(Cycles timeDelta)
void processCurrentEvent()
std::set< Tick > m_wakeup_ticks
static constexpr T divCeil(const T &a, const U &b)
Copyright (c) 2024 Arm Limited All rights reserved.
uint64_t Tick
Tick count type.