Searched refs:m_instance (Results 1 - 2 of 2) sorted by relevance

/gem5/src/systemc/ext/dt/fx/
H A Dsc_context.hh104 static sc_global<T> *m_instance; member in class:sc_dt::sc_global
166 sc_global<T> *sc_global<T>::m_instance = 0; member in class:sc_dt::sc_global
170 // use &m_instance as unique "non-process" key (NULL denotes 'sc_main'
172 m_proc(&m_instance), m_value_ptr(0)
197 if (m_instance == 0) {
198 m_instance = new sc_global<T>;
200 return m_instance;
/gem5/ext/systemc/src/sysc/datatypes/fx/
H A Dsc_context.h112 static sc_global<T>* m_instance; member in class:sc_dt::sc_global
175 sc_global<T>* sc_global<T>::m_instance = 0; member in class:sc_dt::sc_global
181 // use &m_instance as unique "non-process" key (NULL denotes 'sc_main' context)
182 , m_proc( &m_instance )
212 if( m_instance == 0 )
214 m_instance = new sc_global<T>;
216 return m_instance;

Completed in 3 milliseconds