gem5 v24.0.0.0
|
#include <sched_event.hh>
Public Member Functions | |
ScEvent (std::function< void()> work) | |
~ScEvent () | |
bool | scheduled () |
ScEvents * | scheduledOn () |
void | when (gem5::Tick w) |
gem5::Tick | when () |
void | run () |
Private Member Functions | |
void | schedule (ScEvents &events, gem5::Tick w) |
void | deschedule () |
Private Attributes | |
std::function< void()> | work |
gem5::Tick | _when |
ScEvents * | _events |
ScEvents::iterator | _it |
Friends | |
class | Scheduler |
Definition at line 43 of file sched_event.hh.
|
inline |
Definition at line 72 of file sched_event.hh.
sc_gem5::ScEvent::~ScEvent | ( | ) |
Definition at line 35 of file sched_event.cc.
References sc_gem5::Scheduler::deschedule(), scheduled(), and sc_gem5::scheduler.
|
inlineprivate |
Definition at line 65 of file sched_event.hh.
References _events, _it, and scheduled().
Referenced by run().
|
inline |
Definition at line 84 of file sched_event.hh.
References deschedule(), and work.
|
inlineprivate |
Definition at line 54 of file sched_event.hh.
References _events, _it, scheduled(), and when().
|
inline |
Definition at line 78 of file sched_event.hh.
References _events.
Referenced by sc_gem5::Event::cancel(), sc_gem5::Process::cancelTimeout(), deschedule(), sc_gem5::Process::disable(), sc_gem5::Event::notify(), sc_gem5::Event::notify(), sc_gem5::Event::notifyDelayed(), sc_gem5::Process::satisfySensitivity(), schedule(), sc_gem5::ClockTick::~ClockTick(), sc_gem5::Event::~Event(), sc_core::sc_clock::~sc_clock(), and ~ScEvent().
|
inline |
Definition at line 79 of file sched_event.hh.
References _events.
|
inline |
|
inline |
Definition at line 81 of file sched_event.hh.
References _when.
Referenced by sc_gem5::Event::notify().
|
friend |
Definition at line 51 of file sched_event.hh.
|
private |
Definition at line 48 of file sched_event.hh.
Referenced by deschedule(), schedule(), scheduled(), and scheduledOn().
|
private |
Definition at line 49 of file sched_event.hh.
Referenced by deschedule(), and schedule().
|
private |
Definition at line 47 of file sched_event.hh.
|
private |
Definition at line 46 of file sched_event.hh.
Referenced by run().