gem5
|
#include <Consumer.hh>
Classes | |
class | ConsumerEvent |
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) |
void | scheduleEventAbsolute (Tick timeAbs) |
Protected Member Functions | |
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.
|
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<<().
|
protected |
Definition at line 34 of file Consumer.cc.
References X86ISA::em.
Referenced by NetworkInterface::checkReschedule(), PerfectSwitch::operateMessageBuffer(), Router::schedule_wakeup(), and Throttle::wakeup().
void Consumer::scheduleEventAbsolute | ( | Tick | timeAbs | ) |
Definition at line 40 of file Consumer.cc.
References X86ISA::em, and ArmISA::t.
Referenced by NetworkInterface::dequeueCallback(), MessageBuffer::enqueue(), InputUnit::increment_credit(), OutputUnit::insert_flit(), MessageBuffer::reanalyzeList(), MessageBuffer::recycle(), NetworkInterface::scheduleOutputLink(), 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, NetworkInterface, Router, Throttle, NetworkLink, OutputUnit, InputUnit, CrossbarSwitch, and SwitchAllocator.
Referenced by Consumer::ConsumerEvent::process().
|
private |
Definition at line 78 of file Consumer.hh.
|
private |
Definition at line 77 of file Consumer.hh.
Referenced by alreadyScheduled(), and insertScheduledWakeupTime().