gem5
v20.1.0.0
|
#include <event.hh>
Public Member Functions | |
Event (sc_core::sc_event *_sc_event, bool internal=false) | |
Event (sc_core::sc_event *_sc_event, const char *_basename, bool internal=false) | |
~Event () | |
sc_core::sc_event * | sc_event () |
const std::string & | name () const |
const std::string & | basename () const |
bool | inHierarchy () const |
sc_core::sc_object * | getParentObject () const |
void | notify (StaticSensitivities &senses) |
void | notify (DynamicSensitivities &senses) |
void | notify () |
void | notify (const sc_core::sc_time &t) |
void | notify (double d, sc_core::sc_time_unit &u) |
void | notifyDelayed (const sc_core::sc_time &t) |
void | cancel () |
bool | triggered () const |
uint64_t | triggeredStamp () const |
void | addSensitivity (StaticSensitivity *s) const |
void | delSensitivity (StaticSensitivity *s) const |
void | addSensitivity (DynamicSensitivity *s) const |
void | delSensitivity (DynamicSensitivity *s) const |
void | clearParent () |
Static Public Member Functions | |
static Event * | getFromScEvent (sc_core::sc_event *e) |
static const Event * | getFromScEvent (const sc_core::sc_event *e) |
Private Attributes | |
sc_core::sc_event * | _sc_event |
std::string | _basename |
std::string | _name |
bool | _inHierarchy |
sc_core::sc_object * | parent |
ScEvent | delayedNotify |
uint64_t | _triggeredStamp |
StaticSensitivities | staticSenseMethod |
StaticSensitivities | staticSenseThread |
DynamicSensitivities | dynamicSenseMethod |
DynamicSensitivities | dynamicSenseThread |
Event::Event | ( | sc_core::sc_event * | _sc_event, |
bool | internal = false |
||
) |
Event::Event | ( | sc_core::sc_event * | _sc_event, |
const char * | _basename, | ||
bool | internal = false |
||
) |
Event::~Event | ( | ) |
Definition at line 92 of file event.cc.
References _name, _sc_event, sc_gem5::allEvents, delayedNotify, sc_gem5::Object::delChildEvent(), sc_gem5::Scheduler::deschedule(), sc_gem5::findEvent(), sc_gem5::Object::getFromScObject(), inHierarchy(), parent, sc_gem5::ScEvent::scheduled(), sc_gem5::scheduler, and sc_gem5::topLevelEvents.
|
inline |
Definition at line 123 of file event.hh.
References dynamicSenseMethod, dynamicSenseThread, and ArmISA::s.
|
inline |
Definition at line 103 of file event.hh.
References ArmISA::s, staticSenseMethod, and staticSenseThread.
Referenced by sc_gem5::DynamicSensitivity::addToEvent(), and sc_gem5::StaticSensitivity::addToEvent().
const std::string & Event::basename | ( | ) | const |
Definition at line 120 of file event.cc.
References _basename.
Referenced by sc_core::sc_event::basename().
void Event::cancel | ( | ) |
Definition at line 196 of file event.cc.
References delayedNotify, sc_gem5::Scheduler::deschedule(), sc_gem5::ScEvent::scheduled(), and sc_gem5::scheduler.
Referenced by sc_core::sc_event::cancel().
void Event::clearParent | ( | ) |
Definition at line 209 of file event.cc.
References sc_gem5::Object::delChildEvent(), sc_gem5::Object::getFromScObject(), parent, sc_event(), and sc_gem5::topLevelEvents.
Referenced by sc_gem5::Object::~Object().
|
inline |
Definition at line 129 of file event.hh.
References dynamicSenseMethod, dynamicSenseThread, ArmISA::s, and ArmISA::t.
|
inline |
Definition at line 111 of file event.hh.
References ArmISA::s, staticSenseMethod, staticSenseThread, and ArmISA::t.
Referenced by sc_gem5::DynamicSensitivity::delFromEvent(), and sc_gem5::StaticSensitivity::delFromEvent().
|
inlinestatic |
|
inlinestatic |
Definition at line 91 of file event.hh.
References ArmISA::e.
Referenced by sc_gem5::DynamicSensitivity::addToEvent(), sc_gem5::StaticSensitivity::addToEvent(), sc_gem5::DynamicSensitivity::delFromEvent(), sc_gem5::StaticSensitivity::delFromEvent(), and sc_gem5::Object::~Object().
sc_core::sc_object * Event::getParentObject | ( | ) | const |
Definition at line 132 of file event.cc.
References parent.
Referenced by sc_core::sc_event::get_parent_object().
bool Event::inHierarchy | ( | ) | const |
Definition at line 126 of file event.cc.
References _inHierarchy.
Referenced by sc_core::sc_event::in_hierarchy(), and ~Event().
const std::string & Event::name | ( | ) | const |
void Event::notify | ( | ) |
Definition at line 159 of file event.cc.
References _triggeredStamp, sc_gem5::Scheduler::changeStamp(), delayedNotify, sc_gem5::Scheduler::deschedule(), dynamicSenseMethod, dynamicSenseThread, sc_gem5::Scheduler::inUpdate(), sc_core::SC_ID_IMMEDIATE_NOTIFICATION_, SC_REPORT_ERROR, sc_gem5::ScEvent::scheduled(), sc_gem5::scheduler, staticSenseMethod, and staticSenseThread.
Referenced by Event(), notify(), and notifyDelayed().
void Event::notify | ( | const sc_core::sc_time & | t | ) |
Definition at line 176 of file event.cc.
References sc_gem5::Scheduler::delayed(), delayedNotify, sc_gem5::Scheduler::deschedule(), sc_gem5::Scheduler::schedule(), sc_gem5::ScEvent::scheduled(), sc_gem5::scheduler, ArmISA::t, and sc_gem5::ScEvent::when().
|
inline |
void Event::notify | ( | DynamicSensitivities & | senses | ) |
void Event::notify | ( | StaticSensitivities & | senses | ) |
Definition at line 138 of file event.cc.
References ArmISA::s.
Referenced by sc_core::sc_event::notify().
void Event::notifyDelayed | ( | const sc_core::sc_time & | t | ) |
Definition at line 188 of file event.cc.
References delayedNotify, notify(), sc_core::SC_ID_NOTIFY_DELAYED_, SC_REPORT_ERROR, sc_gem5::ScEvent::scheduled(), and ArmISA::t.
Referenced by sc_core::sc_event::notify_delayed().
|
inline |
bool Event::triggered | ( | ) | const |
Definition at line 203 of file event.cc.
References _triggeredStamp, sc_gem5::Scheduler::changeStamp(), and sc_gem5::scheduler.
Referenced by sc_core::sc_event::triggered().
|
inline |
Definition at line 88 of file event.hh.
References _triggeredStamp.
|
private |
Definition at line 146 of file event.hh.
Referenced by basename().
|
private |
Definition at line 148 of file event.hh.
Referenced by inHierarchy().
|
private |
|
private |
Definition at line 144 of file event.hh.
Referenced by sc_event(), and ~Event().
|
mutableprivate |
Definition at line 153 of file event.hh.
Referenced by notify(), triggered(), and triggeredStamp().
|
private |
|
mutableprivate |
Definition at line 157 of file event.hh.
Referenced by addSensitivity(), delSensitivity(), and notify().
|
mutableprivate |
Definition at line 158 of file event.hh.
Referenced by addSensitivity(), delSensitivity(), and notify().
|
private |
Definition at line 150 of file event.hh.
Referenced by clearParent(), getParentObject(), and ~Event().
|
mutableprivate |
Definition at line 155 of file event.hh.
Referenced by addSensitivity(), delSensitivity(), and notify().
|
mutableprivate |
Definition at line 156 of file event.hh.
Referenced by addSensitivity(), delSensitivity(), and notify().