47#ifndef __MEM_RUBY_COMMON_CONSUMER_HH__
48#define __MEM_RUBY_COMMON_CONSUMER_HH__
72 virtual void print(std::ostream& out)
const = 0;
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)
bool alreadyScheduled(Tick time)
virtual void print(std::ostream &out) const =0
ClockedObject * getObject()
virtual void storeEventInfo(int info)
void processCurrentEvent()
std::set< Tick > m_wakeup_ticks
ClockedObject declaration and implementation.
static const Priority Default_Pri
Default is zero for historical reasons.
std::ostream & operator<<(std::ostream &os, const BoolVec &myvector)
Copyright (c) 2024 - Pranith Kumar Copyright (c) 2020 Inria All rights reserved.
uint64_t Tick
Tick count type.