Searched refs:instance (Results 1 - 25 of 46) sorted by relevance

12

/gem5/ext/pybind11/tests/
H A Dtest_union.py5 instance = m.TestUnion()
7 instance.as_uint = 10
8 assert instance.as_int == 10
H A Dtest_methods_and_attributes.py85 instance = m.TestProperties()
87 assert instance.def_readonly == 1
89 instance.def_readonly = 2
91 instance.def_readwrite = 2
92 assert instance.def_readwrite == 2
94 assert instance.def_property_readonly == 2
96 instance.def_property_readonly = 3
98 instance.def_property = 3
99 assert instance.def_property == 3
102 dummy = instance
[all...]
/gem5/src/systemc/python/
H A Dtlm.py33 return tlm_global_quantum.instance()
/gem5/src/mem/ruby/network/
H A Ddummy_port.hh52 instance() function in class:RubyDummyPort
H A DNetwork.hh140 return RubyDummyPort::instance();
/gem5/src/systemc/ext/tlm_core/2/quantum/
H A Dglobal_quantum.hh48 static tlm_global_quantum &instance();
/gem5/ext/pybind11/include/pybind11/
H A Doptions.h58 static state instance; local
59 return instance;
/gem5/src/systemc/tlm_core/2/quantum/
H A Dglobal_quantum.cc32 tlm_global_quantum::instance() function in class:tlm::tlm_global_quantum
H A Dglobal_quantum_python.cc43 .def_static("instance", &tlm::tlm_global_quantum::instance,
/gem5/ext/systemc/src/tlm_utils/
H A Dtlm_quantumkeeper.h49 tlm::tlm_global_quantum::instance().set(t);
54 return tlm::tlm_global_quantum::instance().get();
162 return tlm::tlm_global_quantum::instance().compute_local_quantum();
/gem5/src/systemc/ext/tlm_utils/
H A Dtlm_quantumkeeper.h46 tlm::tlm_global_quantum::instance().set(t);
52 return tlm::tlm_global_quantum::instance().get();
142 return tlm::tlm_global_quantum::instance().compute_local_quantum();
/gem5/src/systemc/tlm_core/2/generic_payload/
H A Dphase.cc39 instance() function in struct:tlm::__anon147::tlm_phase_registry
102 m_id(tlm_phase_registry::instance().register_phase(type, name))
108 return tlm_phase_registry::instance().get_name(m_id);
H A Dgp.cc44 instance() function in class:tlm::__anon146::tlm_extension_registry
70 return (instance_) ? instance().ids_.size() : 0;
93 return tlm_extension_registry::instance().register_extension(type);
/gem5/ext/pybind11/include/pybind11/detail/
H A Dclass.h34 /// `pybind11_static_property.__get__()`: Always pass the class instead of the instance.
46 methods are modified to always use the object type instead of a concrete instance.
144 * when called on a class, or a PyMethod, when called on an instance. Override that behaviour here
199 /// base classes with pointers that are difference from the instance value pointer so that we can
201 inline void traverse_offset_bases(void *valueptr, const detail::type_info *tinfo, instance *self,
202 bool (*f)(void * /*parentptr*/, instance * /*self*/)) {
218 inline bool register_instance_impl(void *ptr, instance *self) {
222 inline bool deregister_instance_impl(void *ptr, instance *self) {
234 inline void register_instance(instance *self, void *valptr, const type_info *tinfo) {
240 inline bool deregister_instance(instance *sel
292 auto instance = reinterpret_cast<detail::instance *>(nurse); local
299 auto instance = reinterpret_cast<detail::instance *>(self); local
316 auto instance = reinterpret_cast<detail::instance *>(self); local
[all...]
/gem5/src/systemc/tlm_utils/
H A Dinstance_specific_extensions.cc46 instance() function in class:tlm_utils::__anon149::ispex_registry
72 return (instance_) ? instance().ids_.size() : 0;
88 return ispex_registry::instance().register_extension(type);
111 instance() function in class:tlm_utils::instance_specific_extension_container_pool
158 return instance_specific_extension_container_pool::instance().create();
211 instance_specific_extension_container_pool::instance().free(this);
/gem5/src/gpu-compute/
H A Ddispatcher.hh90 static GpuDispatcher *instance; member in class:GpuDispatcher
118 instance = _instance;
121 static GpuDispatcher* getInstance() { return instance; }
/gem5/ext/systemc/src/tlm_core/tlm_2/tlm_quantum/
H A Dtlm_global_quantum.h47 static tlm_global_quantum& instance() function in class:tlm::tlm_global_quantum
/gem5/src/systemc/ext/dt/fx/
H A Dsc_context.hh51 // sc_get_current_process_b() since its returning an sc_process_b instance.
100 static sc_global<T>* instance();
195 sc_global<T>::instance() function in class:sc_dt::sc_global
222 m_def_value_ptr(sc_global<T>::instance()->value_ptr()),
270 return *sc_global<T>::instance()->value_ptr();
/gem5/src/systemc/tests/systemc/kernel/dynamic_processes/sc_join/test03/
H A Dtest03.cpp76 void process( int& instance )
78 int i = instance;
/gem5/ext/systemc/src/sysc/datatypes/fx/
H A Dsc_context.h51 // sc_get_current_process_b() since its returning an sc_process_b instance.
107 static sc_global<T>* instance();
210 sc_global<T>::instance() function in class:sc_dt::sc_global
240 m_def_value_ptr( sc_global<T>::instance()->value_ptr() ),
300 return *sc_global<T>::instance()->value_ptr();
/gem5/util/tlm/src/
H A Dsim_control.hh59 * While it is mandatory to have one instance of this class for running a gem5
77 /// Pointer to a previously created instance.
78 static Gem5SimControl* instance; member in class:Gem5SystemC::Gem5SimControl
92 * exits. For instance, a derived class could use this to call sc_stop().
H A Dsim_control.cc63 Gem5SimControl* Gem5SimControl::instance = nullptr; member in class:Gem5SystemC::Gem5SimControl
74 if (instance != nullptr) {
77 instance = this;
/gem5/src/sim/
H A Ddrain.hh102 /** Get the singleton DrainManager instance */
103 static DrainManager &instance() { return _instance; } function in class:DrainManager
184 /** Singleton instance of the drain manager */
/gem5/src/cpu/kvm/
H A Dvm.cc64 Kvm *Kvm::instance = NULL; member in class:Kvm
90 if (!instance)
91 instance = new Kvm();
93 return instance;
H A Dvm.hh261 /** Singleton instance */
262 static Kvm *instance; member in class:Kvm

Completed in 27 milliseconds

12