gem5 v24.0.0.0
|
#include <tlm_quantumkeeper.h>
Public Member Functions | |
tlm_quantumkeeper () | |
virtual | ~tlm_quantumkeeper () |
virtual void | inc (const sc_core::sc_time &t) |
virtual void | set (const sc_core::sc_time &t) |
virtual bool | need_sync () const |
virtual void | sync () |
void | set_and_sync (const sc_core::sc_time &t) |
virtual void | reset () |
virtual sc_core::sc_time | get_current_time () const |
virtual sc_core::sc_time | get_local_time () const |
Static Public Member Functions | |
static void | set_global_quantum (const sc_core::sc_time &t) |
static const sc_core::sc_time & | get_global_quantum () |
Protected Member Functions | |
virtual sc_core::sc_time | compute_local_quantum () |
Protected Attributes | |
sc_core::sc_time | m_next_sync_point |
sc_core::sc_time | m_local_time |
Definition at line 33 of file tlm_quantumkeeper.h.
|
inline |
Definition at line 56 of file tlm_quantumkeeper.h.
|
inlinevirtual |
Definition at line 60 of file tlm_quantumkeeper.h.
|
inlineprotectedvirtual |
Definition at line 140 of file tlm_quantumkeeper.h.
References tlm::tlm_global_quantum::compute_local_quantum(), and tlm::tlm_global_quantum::instance().
Referenced by reset().
|
inlinevirtual |
Definition at line 117 of file tlm_quantumkeeper.h.
References m_local_time, and sc_core::sc_time_stamp().
Referenced by CoreDecouplingLTInitiator::logEndTransaction(), and CoreDecouplingLTInitiator::logStartTransation().
|
inlinestatic |
Definition at line 50 of file tlm_quantumkeeper.h.
References tlm::tlm_global_quantum::get(), and tlm::tlm_global_quantum::instance().
|
inlinevirtual |
Definition at line 126 of file tlm_quantumkeeper.h.
References m_local_time.
Referenced by CoreDecouplingLTInitiator::logEndTransaction(), CoreDecouplingLTInitiator::logStartTransation(), and CoreDecouplingLTInitiator::run().
|
inlinevirtual |
Definition at line 65 of file tlm_quantumkeeper.h.
References m_local_time.
|
inlinevirtual |
Definition at line 76 of file tlm_quantumkeeper.h.
References m_local_time, m_next_sync_point, and sc_core::sc_time_stamp().
Referenced by CoreDecouplingLTInitiator::run(), and set_and_sync().
|
inlinevirtual |
Definition at line 106 of file tlm_quantumkeeper.h.
References compute_local_quantum(), m_local_time, m_next_sync_point, sc_core::sc_time_stamp(), and sc_core::SC_ZERO_TIME.
Referenced by CoreDecouplingLTInitiator::CoreDecouplingLTInitiator(), and sync().
|
inlinevirtual |
Definition at line 70 of file tlm_quantumkeeper.h.
References m_local_time.
Referenced by CoreDecouplingLTInitiator::run(), and set_and_sync().
|
inline |
Definition at line 94 of file tlm_quantumkeeper.h.
References need_sync(), set(), and sync().
|
inlinestatic |
Definition at line 44 of file tlm_quantumkeeper.h.
References tlm::tlm_global_quantum::instance(), and tlm::tlm_global_quantum::set().
Referenced by CoreDecouplingLTInitiator::CoreDecouplingLTInitiator().
|
inlinevirtual |
Definition at line 85 of file tlm_quantumkeeper.h.
References m_local_time, reset(), and sc_core::wait().
Referenced by CoreDecouplingLTInitiator::run(), and set_and_sync().
|
protected |
Definition at line 147 of file tlm_quantumkeeper.h.
Referenced by get_current_time(), get_local_time(), inc(), need_sync(), reset(), set(), and sync().
|
protected |
Definition at line 146 of file tlm_quantumkeeper.h.
Referenced by need_sync(), and reset().