gem5  v22.1.0.0
Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
tlm::tlm_global_quantum Class Reference

#include <global_quantum.hh>

Public Member Functions

void set (const sc_core::sc_time &t)
 
const sc_core::sc_timeget () const
 
sc_core::sc_time compute_local_quantum ()
 

Static Public Member Functions

static tlm_global_quantuminstance ()
 

Protected Member Functions

 tlm_global_quantum ()
 

Protected Attributes

sc_core::sc_time m_global_quantum
 

Detailed Description

Definition at line 42 of file global_quantum.hh.

Constructor & Destructor Documentation

◆ tlm_global_quantum()

tlm::tlm_global_quantum::tlm_global_quantum ( )
protected

Definition at line 27 of file global_quantum.cc.

Member Function Documentation

◆ compute_local_quantum()

sc_core::sc_time tlm::tlm_global_quantum::compute_local_quantum ( )

◆ get()

const sc_core::sc_time& tlm::tlm_global_quantum::get ( ) const
inline

Definition at line 56 of file global_quantum.hh.

References m_global_quantum.

Referenced by tlm_utils::tlm_quantumkeeper::get_global_quantum().

◆ instance()

tlm_global_quantum & tlm::tlm_global_quantum::instance ( )
static

◆ set()

void tlm::tlm_global_quantum::set ( const sc_core::sc_time t)
inline

Member Data Documentation

◆ m_global_quantum

sc_core::sc_time tlm::tlm_global_quantum::m_global_quantum
protected

Definition at line 71 of file global_quantum.hh.

Referenced by compute_local_quantum(), get(), and set().


The documentation for this class was generated from the following files:

Generated on Wed Dec 21 2022 10:25:12 for gem5 by doxygen 1.9.1