gem5
v20.1.0.0
|
#include <Consumer.hh>
Public Member Functions | |
Consumer (ClockedObject *_em) | |
virtual | ~Consumer () |
virtual void | wakeup ()=0 |
virtual void | print (std::ostream &out) const =0 |
virtual void | storeEventInfo (int info) |
bool | alreadyScheduled (Tick time) |
void | insertScheduledWakeupTime (Tick time) |
ClockedObject * | getObject () |
void | scheduleEventAbsolute (Tick timeAbs) |
void | scheduleEvent (Cycles timeDelta) |
Private Attributes | |
std::set< Tick > | m_scheduled_wakeups |
ClockedObject * | em |
Definition at line 43 of file Consumer.hh.
|
inline |
Definition at line 46 of file Consumer.hh.
|
inlinevirtual |
Definition at line 52 of file Consumer.hh.
|
inline |
Definition at line 60 of file Consumer.hh.
References m_scheduled_wakeups.
Referenced by SwitchAllocator::check_for_wakeup().
|
inline |
Definition at line 72 of file Consumer.hh.
References em.
Referenced by NetworkBridge::scheduleFlit().
|
inline |
Definition at line 66 of file Consumer.hh.
References m_scheduled_wakeups.
|
pure virtual |
Implemented in AbstractController, PerfectSwitch, Throttle, NetworkInterface, Router, NetworkLink, OutputUnit, SwitchAllocator, InputUnit, and CrossbarSwitch.
Referenced by operator<<().
void Consumer::scheduleEvent | ( | Cycles | timeDelta | ) |
Definition at line 34 of file Consumer.cc.
References X86ISA::em.
Referenced by NetworkInterface::checkReschedule(), PerfectSwitch::operateMessageBuffer(), Router::schedule_wakeup(), AbstractController::serviceMemoryQueue(), OutputUnit::wakeup(), NetworkLink::wakeup(), and Throttle::wakeup().
void Consumer::scheduleEventAbsolute | ( | Tick | timeAbs | ) |
Definition at line 40 of file Consumer.cc.
References X86ISA::em, ArmISA::evt, and ArmISA::t.
Referenced by NetworkInterface::dequeueCallback(), MessageBuffer::enqueue(), InputUnit::increment_credit(), OutputUnit::insert_flit(), MessageBuffer::reanalyzeList(), MessageBuffer::recycle(), NetworkBridge::scheduleFlit(), NetworkInterface::scheduleFlit(), TimerTable::set(), NetworkLink::wakeup(), and NetworkInterface::wakeup().
|
inlinevirtual |
Reimplemented in PerfectSwitch.
Definition at line 57 of file Consumer.hh.
Referenced by MessageBuffer::enqueue().
|
pure virtual |
Implemented in AbstractController, PerfectSwitch, Throttle, NetworkInterface, Router, NetworkBridge, NetworkLink, OutputUnit, InputUnit, CrossbarSwitch, and SwitchAllocator.
|
private |
Definition at line 83 of file Consumer.hh.
Referenced by getObject().
|
private |
Definition at line 82 of file Consumer.hh.
Referenced by alreadyScheduled(), and insertScheduledWakeupTime().