Lines Matching refs:_gem5_process

77 sc_process_handle::sc_process_handle() : _gem5_process(nullptr) {}
80 _gem5_process(handle._gem5_process)
82 if (_gem5_process)
83 _gem5_process->incref();
87 _gem5_process(dynamic_cast<::sc_gem5::Process *>(obj))
89 if (_gem5_process)
90 _gem5_process->incref();
95 if (_gem5_process)
96 _gem5_process->decref();
103 return _gem5_process != nullptr;
110 if (_gem5_process)
111 _gem5_process->decref();
112 _gem5_process = handle._gem5_process;
113 if (_gem5_process)
114 _gem5_process->incref();
121 return _gem5_process && handle._gem5_process &&
122 (_gem5_process == handle._gem5_process);
134 return _gem5_process < other._gem5_process;
140 ::sc_gem5::Process *temp = handle._gem5_process;
141 handle._gem5_process = _gem5_process;
142 _gem5_process = temp;
149 return _gem5_process ? _gem5_process->name() : "";
155 return _gem5_process ? _gem5_process->procKind() : SC_NO_PROC_;
162 return _gem5_process ? _gem5_process->get_child_objects() : empty;
169 return _gem5_process ? _gem5_process->get_child_events() : empty;
175 return _gem5_process ? _gem5_process->get_parent_object() : nullptr;
181 return _gem5_process;
187 return _gem5_process ? _gem5_process->dynamic() : false;
193 return _gem5_process ? _gem5_process->terminated() : false;
199 if (!_gem5_process) {
204 return _gem5_process->terminatedEvent();
211 if (!_gem5_process) {
215 _gem5_process->suspend(include_descendants == SC_INCLUDE_DESCENDANTS);
221 if (!_gem5_process) {
225 _gem5_process->resume(include_descendants == SC_INCLUDE_DESCENDANTS);
231 if (!_gem5_process) {
235 _gem5_process->disable(include_descendants == SC_INCLUDE_DESCENDANTS);
241 if (!_gem5_process) {
245 _gem5_process->enable(include_descendants == SC_INCLUDE_DESCENDANTS);
251 if (!_gem5_process) {
255 _gem5_process->kill(include_descendants == SC_INCLUDE_DESCENDANTS);
261 if (!_gem5_process) {
265 _gem5_process->reset(include_descendants == SC_INCLUDE_DESCENDANTS);
271 if (!_gem5_process) {
275 return _gem5_process->isUnwinding();
281 if (!_gem5_process) {
286 return _gem5_process->resetEvent();
294 if (!_gem5_process) {
298 _gem5_process->syncResetOn(include_descendants == SC_INCLUDE_DESCENDANTS);
305 if (!_gem5_process) {
309 _gem5_process->syncResetOff(include_descendants == SC_INCLUDE_DESCENDANTS);