35 #ifndef __MEM_RUBY_COMMON_CONSUMER_HH__
36 #define __MEM_RUBY_COMMON_CONSUMER_HH__
56 virtual void print(std::ostream& out)
const = 0;
103 #endif // __MEM_RUBY_COMMON_CONSUMER_HH__
Cycles is a wrapper class for representing cycle counts, i.e.
bool alreadyScheduled(Tick time)
void scheduleEvent(Cycles timeDelta)
Consumer * m_consumer_ptr
virtual void storeEventInfo(int info)
std::set< Tick > m_scheduled_wakeups
static const FlagsType AutoDelete
void scheduleEventAbsolute(Tick timeAbs)
void insertScheduledWakeupTime(Tick time)
uint64_t Tick
Tick count type.
The ClockedObject class extends the SimObject with a clock and accessor functions to relate ticks to ...
ClockedObject declaration and implementation.
ConsumerEvent(Consumer *_consumer)
virtual void print(std::ostream &out) const =0
std::ostream & operator<<(std::ostream &out, const Consumer &obj)
static const Priority Default_Pri
Default is zero for historical reasons.
Consumer(ClockedObject *_em)