gem5
|
#include <eventq.hh>
Public Member Functions | |
EventManager (EventManager &em) | |
EventManager (EventManager *em) | |
EventManager (EventQueue *eq) | |
EventQueue * | eventQueue () const |
void | schedule (Event &event, Tick when) |
void | deschedule (Event &event) |
void | reschedule (Event &event, Tick when, bool always=false) |
void | schedule (Event *event, Tick when) |
void | deschedule (Event *event) |
void | reschedule (Event *event, Tick when, bool always=false) |
void | wakeupEventQueue (Tick when=(Tick)-1) |
void | setCurTick (Tick newVal) |
Protected Attributes | |
EventQueue * | eventq |
A pointer to this object's event queue. More... | |
|
inline |
|
inline |
|
inline |
|
inline |
Definition at line 734 of file eventq.hh.
References EventQueue::deschedule(), and eventq.
Referenced by IGbE::chkInterrupt(), HDLcd::cmdDisable(), IGbE::cpuPostInt(), Sequencer::descheduleDeadlockEvent(), GPUCoalescer::descheduleDeadlockEvent(), TrafficGen::drain(), IGbE::drain(), VIPERCoalescer::makeRequest(), DVFSHandler::perfLevel(), IGbE::postInterrupt(), PL031::resyncMatch(), BaseCache::CacheSlavePort::setBlocked(), BasePixelPump::stop(), DRAMCtrl::Rank::suspend(), Root::timeSyncEnable(), GpuDispatcher::unserialize(), ArchTimer::updateCounter(), Uart8250::write(), EnergyCtrl::write(), MC146818::writeData(), and MC146818::~MC146818().
|
inline |
Definition at line 752 of file eventq.hh.
References EventQueue::deschedule(), and eventq.
|
inline |
Definition at line 722 of file eventq.hh.
References eventq.
Referenced by VncServer::accept(), TapListener::accept(), BaseKvmCPU::doMMIOAccess(), X86KvmCPU::handleKvmExitIO(), GenericTimer::readMiscReg(), and GenericTimer::setMiscReg().
Definition at line 740 of file eventq.hh.
References eventq, and EventQueue::reschedule().
Referenced by FlashDevice::accessDevice(), FlashDevice::actionComplete(), DRAMCtrl::activateBank(), MemTest::completeRequest(), SimpleMemory::dequeue(), DRAMCtrl::prechargeBank(), DRAMCtrl::processNextReqEvent(), PacketQueue::schedSendEvent(), IdeDisk::serialize(), MemTest::tick(), Sinic::Device::transferDone(), NSGigE::transferDone(), IdeDisk::unserialize(), and TrafficGen::update().
Definition at line 758 of file eventq.hh.
References eventq, and EventQueue::reschedule().
Definition at line 728 of file eventq.hh.
References eventq, and EventQueue::schedule().
Referenced by DRAMSim2::accessAndRespond(), FlashDevice::accessDevice(), DRAMCtrl::activateBank(), DRAMCtrl::addToReadQueue(), DRAMCtrl::addToWriteQueue(), BasePixelPump::beginLine(), DRAMCtrl::Rank::checkDrainDone(), IGbE::chkInterrupt(), HDLcd::cmdEnable(), Sinic::Base::cpuIntrPost(), NSGigE::cpuIntrPost(), Shader::dispatch_workgroups(), Pl111::dmaDone(), IdeDisk::doDmaDataRead(), IdeDisk::doDmaDataWrite(), IdeDisk::doDmaRead(), IdeDisk::doDmaTransfer(), IdeDisk::doDmaWrite(), ThermalModel::doStep(), DRAMCtrl::drain(), RubySystem::enqueueRubyEvent(), GarnetSyntheticTraffic::GarnetSyntheticTraffic(), GpuDispatcher::GpuDispatcher(), DmaPort::handleResp(), X86ISA::GpuTLB::handleTranslationReturn(), RubyDirectedTester::hitCallback(), TrafficGen::initState(), Sequencer::insertRequest(), GPUCoalescer::insertRequest(), X86ISA::GpuTLB::issueTLBLookup(), VIPERCoalescer::makeRequest(), GPUCoalescer::makeRequest(), MemTest::MemTest(), ArmISA::TableWalker::nextWalk(), GpuDispatcher::notifyWgCompl(), DVFSHandler::perfLevel(), IGbE::postInterrupt(), DRAMCtrl::prechargeBank(), Ticked::ClockEvent::process(), DRAMCtrl::processNextReqEvent(), DRAMCtrl::Rank::processPowerEvent(), DRAMCtrl::Rank::processRefreshEvent(), DRAMCtrl::processRespondEvent(), Pl111::readFramebuffer(), Cache::recvAtomic(), TrafficGen::recvReqRetry(), MemTest::recvRetry(), StubSlavePort::recvTimingReq(), TLBCoalescer::CpuSidePort::recvTimingReq(), SimpleMemory::recvTimingReq(), X86ISA::Walker::recvTimingResp(), ComputeUnit::DataPort::recvTimingResp(), ElasticTrace::regProbeListeners(), BasePixelPump::renderPixels(), IGbE::restartClock(), PL031::resyncMatch(), EtherTapBase::retransmit(), RubyDirectedTester::RubyDirectedTester(), RubyTester::RubyTester(), NSGigE::rxKick(), CommMonitor::samplePeriodic(), PacketQueue::schedSendEvent(), GpuDispatcher::scheduleDispatch(), DRAMCtrl::Rank::schedulePowerEvent(), DRAMCtrl::Rank::scheduleWakeUpEvent(), EtherBus::send(), ComputeUnit::sendRequest(), DRAMSim2::sendResponse(), EtherTapBase::sendSimulated(), ComputeUnit::sendSyncRequest(), Pl011::setInterrupts(), Intel8254Timer::Counter::CounterEvent::setTo(), BasePixelPump::start(), IdeDisk::startDma(), CommMonitor::startup(), MC146818::startup(), ThermalModel::startup(), DRAMSim2::startup(), DRAMCtrl::Rank::startup(), GarnetSyntheticTraffic::tick(), MemTest::tick(), IGbE::tick(), DRAMSim2::tick(), Root::timeSync(), Root::timeSyncEnable(), X86ISA::GpuTLB::translationReturn(), NSGigE::transmit(), DmaPort::trySendTimingReq(), NSGigE::txKick(), Sinic::Base::unserialize(), GpuDispatcher::unserialize(), Uart8250::unserialize(), PL031::unserialize(), EnergyCtrl::unserialize(), SparcISA::ISA::unserialize(), DVFSHandler::unserialize(), ArchTimer::unserialize(), VGic::unserialize(), TrafficGen::unserialize(), Sinic::Device::unserialize(), IdeDisk::unserialize(), NSGigE::unserialize(), Pl390::unserialize(), Pl111::unserialize(), IGbE::unserialize(), TrafficGen::update(), ArchTimer::updateCounter(), Pl050::updateIntStatus(), TLBCoalescer::updatePhysAddresses(), HDLcd::virtRefresh(), Sequencer::wakeup(), RubyDirectedTester::wakeup(), GPUCoalescer::wakeup(), RubyTester::wakeup(), EnergyCtrl::write(), GpuDispatcher::write(), and MC146818::writeData().
Definition at line 746 of file eventq.hh.
References eventq, and EventQueue::schedule().
|
inline |
Definition at line 768 of file eventq.hh.
References eventq, and EventQueue::setCurTick().
Referenced by RubySystem::memWriteback(), and RubySystem::startup().
Definition at line 763 of file eventq.hh.
References eventq, and EventQueue::wakeup().
|
protected |
A pointer to this object's event queue.
Definition at line 714 of file eventq.hh.
Referenced by deschedule(), eventQueue(), RubySystem::eventQueueEmpty(), RubySystem::memWriteback(), Pl390::postInt(), VGic::postVInt(), reschedule(), schedule(), setCurTick(), RubySystem::startup(), and wakeupEventQueue().