gem5 v24.0.0.0
|
#include <sensitivity.hh>
Public Types | |
enum | Category { Static , Dynamic } |
Public Member Functions | |
virtual void | clear ()=0 |
void | satisfy () |
virtual bool | notifyWork (Event *e) |
bool | notify (Event *e) |
virtual Category | category ()=0 |
bool | ofMethod () |
Protected Member Functions | |
Sensitivity (Process *p) | |
virtual | ~Sensitivity () |
virtual void | addToEvent (const ::sc_core::sc_event *e)=0 |
virtual void | delFromEvent (const ::sc_core::sc_event *e)=0 |
Protected Attributes | |
Process * | process |
Definition at line 62 of file sensitivity.hh.
Enumerator | |
---|---|
Static | |
Dynamic |
Definition at line 80 of file sensitivity.hh.
|
inlineprotected |
Definition at line 67 of file sensitivity.hh.
|
inlineprotectedvirtual |
Definition at line 68 of file sensitivity.hh.
|
protectedpure virtual |
Implemented in sc_gem5::DynamicSensitivity, and sc_gem5::StaticSensitivity.
Referenced by sc_gem5::SensitivityEvents::addEvent().
|
pure virtual |
Implemented in sc_gem5::DynamicSensitivity, and sc_gem5::StaticSensitivity.
|
pure virtual |
Implemented in sc_gem5::SensitivityEvent, and sc_gem5::SensitivityEvents.
Referenced by sc_gem5::Process::setDynamic().
|
protectedpure virtual |
Implemented in sc_gem5::DynamicSensitivity, and sc_gem5::StaticSensitivity.
Referenced by sc_gem5::SensitivityEvent::clear(), and sc_gem5::SensitivityEvents::clear().
bool sc_gem5::Sensitivity::notify | ( | Event * | e | ) |
Definition at line 63 of file sensitivity.cc.
References sc_gem5::Scheduler::current(), sc_gem5::Process::disabled(), sc_core::sc_object::name(), notifyWork(), process, sc_core::SC_ID_IMMEDIATE_SELF_NOTIFICATION_, SC_REPORT_WARNING, and sc_gem5::scheduler.
|
virtual |
Reimplemented in sc_gem5::DynamicSensitivityEventAndList, and sc_gem5::DynamicSensitivityEventOrList.
Definition at line 56 of file sensitivity.cc.
References satisfy().
Referenced by notify().
bool sc_gem5::Sensitivity::ofMethod | ( | ) |
Definition at line 82 of file sensitivity.cc.
References process, sc_gem5::Process::procKind(), and sc_core::SC_METHOD_PROC_.
void sc_gem5::Sensitivity::satisfy | ( | ) |
Definition at line 50 of file sensitivity.cc.
References process, and sc_gem5::Process::satisfySensitivity().
Referenced by sc_gem5::DynamicSensitivityEventAndList::notifyWork(), sc_gem5::DynamicSensitivityEventOrList::notifyWork(), and notifyWork().
|
protected |
Definition at line 65 of file sensitivity.hh.
Referenced by notify(), ofMethod(), and satisfy().