Lines Matching refs:cpu

61 #include "cpu/base.hh"
62 //#include "cpu/checker/cpu.hh"
63 #include "cpu/o3/cpu.hh"
64 #include "cpu/o3/fetch.hh"
65 #include "cpu/exetrace.hh"
78 #include "cpu/o3/isa_specific.hh"
85 cpu(_cpu),
95 cacheBlkSize(cpu->cacheLineSize()),
106 "\tincrease MaxThreads in src/cpu/o3/impl.hh\n",
110 "\tincrease MaxWidth in src/cpu/o3/impl.hh\n",
156 return cpu->name() + ".fetch";
163 ppFetch = new ProbePointArg<DynInstPtr>(cpu->getProbeManager(), "Fetch");
164 ppFetchRequestSent = new ProbePointArg<RequestPtr>(cpu->getProbeManager(),
277 idleRate = fetchIdleCycles * 100 / cpu->numCycles;
283 branchRate = fetchedBranches / cpu->numCycles;
289 fetchRate = fetchedInsts / cpu->numCycles;
337 pc[tid] = cpu->pcState(tid);
365 pc[tid] = cpu->pcState(tid);
391 ThreadID tid = cpu->contextToThread(pkt->req->contextId());
394 assert(!cpu->switchedOut());
410 cpu->wakeCPU();
425 cpu->ppInstAccessComplete->notify(pkt);
494 assert(cpu->getInstPort().isConnected());
503 assert(cpu->isDraining());
526 cpu->activateStage(O3CPU::FetchIdx);
539 cpu->deactivateStage(O3CPU::FetchIdx);
608 assert(!cpu->switchedOut());
637 Request::INST_FETCH, cpu->instMasterId(), pc,
638 cpu->thread[tid]->contextId());
640 mem_req->taskId(cpu->taskId());
647 cpu->itb->translateTiming(mem_req, cpu->thread[tid]->getTC(),
657 ThreadID tid = cpu->contextToThread(mem_req->contextId());
660 assert(!cpu->switchedOut());
663 cpu->wakeCPU();
679 if (!cpu->system->isMemAddr(mem_req->getPaddr())) {
723 cpu->schedule(finishTranslationEvent,
724 cpu->clockEdge(Cycles(1)));
748 cpu->activityThisCycle();
823 cpu->removeInstsUntil(seq_num, tid);
833 assert(cpu->isDraining());
864 cpu->activateStage(O3CPU::FetchIdx);
875 cpu->deactivateStage(O3CPU::FetchIdx);
892 cpu->removeInstsNotInROB(tid);
990 cpu->activityThisCycle();
1109 InstSeqNum seq = cpu->getAndIncrementInstSeq();
1113 new DynInst(staticInst, curMacroop, thisPC, nextPC, seq, cpu);
1118 instruction->setThreadState(cpu->thread[tid]);
1131 cpu->getTracer()->getInstRecord(curTick(), cpu->tcBase(tid),
1139 instruction->setInstListIt(cpu->addInst(instruction));
1165 assert(!cpu->switchedOut());
1325 staticInst = cpu->microcodeRom.fetchMicroop(