gem5
v20.1.0.0
|
#include <sched_event.hh>
Public Member Functions | |
ScEvent (std::function< void()> work) | |
~ScEvent () | |
bool | scheduled () |
ScEvents * | scheduledOn () |
void | when (Tick w) |
Tick | when () |
void | run () |
Private Member Functions | |
void | schedule (ScEvents &events, Tick w) |
void | deschedule () |
Private Attributes | |
std::function< void()> | work |
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.
Definition at line 54 of file sched_event.hh.
References _events, _it, scheduled(), MipsISA::w, 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::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, and MipsISA::w.
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.
Referenced by when().
|
private |
Definition at line 46 of file sched_event.hh.
Referenced by run().