Lines Matching defs:thread_num
209 TimingSimpleCPU::activateContext(ThreadID thread_num)
211 DPRINTF(SimpleCPU, "ActivateContext %d\n", thread_num);
213 assert(thread_num < numThreads);
215 threadInfo[thread_num]->notIdleFraction = 1;
223 if (std::find(activeThreads.begin(), activeThreads.end(), thread_num)
225 activeThreads.push_back(thread_num);
228 BaseCPU::activateContext(thread_num);
233 TimingSimpleCPU::suspendContext(ThreadID thread_num)
235 DPRINTF(SimpleCPU, "SuspendContext %d\n", thread_num);
237 assert(thread_num < numThreads);
238 activeThreads.remove(thread_num);
245 threadInfo[thread_num]->notIdleFraction = 0;
255 BaseCPU::suspendContext(thread_num);