gem5
v20.1.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 50 of file tlm_quantumkeeper.h.
|
inline |
Definition at line 90 of file tlm_quantumkeeper.h.
|
inlinevirtual |
Definition at line 94 of file tlm_quantumkeeper.h.
References need_sync(), set(), sync(), and ArmISA::t.
|
inlineprotectedvirtual |
Definition at line 174 of file tlm_quantumkeeper.h.
Referenced by set().
|
inlinevirtual |
Definition at line 151 of file tlm_quantumkeeper.h.
|
inlinestatic |
Definition at line 84 of file tlm_quantumkeeper.h.
References m_local_time, reset(), and sc_core::wait().
|
inlinevirtual |
Definition at line 160 of file tlm_quantumkeeper.h.
|
inlinevirtual |
Definition at line 99 of file tlm_quantumkeeper.h.
|
inlinevirtual |
Definition at line 110 of file tlm_quantumkeeper.h.
Referenced by ~tlm_quantumkeeper().
|
inlinevirtual |
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 get_global_quantum().
|
inlinevirtual |
Definition at line 104 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 ~tlm_quantumkeeper().
|
inline |
Definition at line 128 of file tlm_quantumkeeper.h.
|
inlinestatic |
Definition at line 78 of file tlm_quantumkeeper.h.
|
inlinevirtual |
Definition at line 119 of file tlm_quantumkeeper.h.
Referenced by ~tlm_quantumkeeper().
|
protected |
Definition at line 181 of file tlm_quantumkeeper.h.
Referenced by get_global_quantum(), and set().
|
protected |
Definition at line 180 of file tlm_quantumkeeper.h.
Referenced by set().