Lines Matching refs:thread

95     SimpleThread *thread;
99 thread = new SimpleThread(this, i, p->system,
102 thread = new SimpleThread(this, i, p->system, p->workload[i],
105 threadInfo.push_back(new SimpleExecContext(this, thread));
106 ThreadContext *tc = thread->getTC();
117 // Manipulate thread context
144 Addr oldpc, pc = threadInfo[curThread]->thread->instAddr();
148 pc = threadInfo[curThread]->thread->instAddr();
178 t_info.thread->funcExeInst++;
231 thread_str += ".thread" + std::to_string(tid);
417 threadInfo[tid]->thread->serialize(cp);
423 threadInfo[tid]->thread->unserialize(cp);
442 if (threadInfo[tid]->thread->status() == ThreadContext::Suspended) {
444 threadInfo[tid]->thread->activate();
452 SimpleThread* thread = t_info.thread;
453 ThreadContext* tc = thread->getTC();
462 thread->decoder.reset();
472 SimpleThread* thread = t_info.thread;
474 Addr instAddr = thread->instAddr();
489 SimpleThread* thread = t_info.thread;
492 thread->setIntReg(ZeroReg, 0);
494 thread->setFloatReg(ZeroReg, 0);
508 TheISA::PCState pcState = thread->pcState();
518 TheISA::Decoder *decoder = &(thread->decoder);
533 thread->pcState(pcState);
556 traceData = tracer->getInstRecord(curTick(), thread->getTC(),
557 curStaticInst, thread->pcState(), curMacroStaticInst);
569 t_info.predPC = thread->pcState();
583 SimpleThread* thread = t_info.thread;
589 if (FullSystem && thread->profile) {
591 thread->profilePC = usermode ? 1 : instAddr;
592 ProfileNode *node = thread->profile->consume(threadContexts[curThread],
595 thread->profileNode = node;
673 SimpleThread* thread = t_info.thread;
675 const bool branching(thread->pcState().branching());
682 thread->decoder.reset();
687 TheISA::PCState pcState = thread->pcState();
689 thread->pcState(pcState);
698 if (t_info.predPC == thread->pcState()) {
703 branchPred->squash(cur_sn, thread->pcState(), branching, curThread);
714 t_info->thread->startup();