Lines Matching refs:cpu
44 #include "cpu/simple/timing.hh"
50 #include "cpu/exetrace.hh"
76 cpu->schedule(this, t);
744 // If the cpu has been suspended (i.e., _status == Idle), another
745 // cpu will wake this cpu up later.
847 cpu->completeIfetch(pkt);
858 tickEvent.schedule(pkt, cpu->clockEdge());
868 assert(cpu->ifetch_pkt != NULL);
869 assert(cpu->_status == IcacheRetry);
870 PacketPtr tmp = cpu->ifetch_pkt;
872 cpu->_status = IcacheWaitResponse;
873 cpu->ifetch_pkt = NULL;
949 for (ThreadID tid = 0; tid < cpu->numThreads; tid++) {
950 if (cpu->getCpuAddrMonitor(tid)->doMonitor(pkt)) {
951 cpu->wakeup(tid);
960 for (auto &t_info : cpu->threadInfo) {
969 for (ThreadID tid = 0; tid < cpu->numThreads; tid++) {
970 if (cpu->getCpuAddrMonitor(tid)->doMonitor(pkt)) {
971 cpu->wakeup(tid);
985 tickEvent.schedule(pkt, cpu->clockEdge());
992 cpu->schedule(retryRespEvent, cpu->clockEdge(Cycles(1)));
1000 cpu->completeDataAccess(pkt);
1008 assert(cpu->dcache_pkt != NULL);
1009 assert(cpu->_status == DcacheRetry);
1010 PacketPtr tmp = cpu->dcache_pkt;
1029 cpu->dcache_pkt = tmp;
1030 if ((big_pkt->isRead() && cpu->handleReadPacket(tmp)) ||
1031 (big_pkt->isWrite() && cpu->handleWritePacket())) {
1035 cpu->_status = DcacheWaitResponse;
1037 cpu->dcache_pkt = NULL;
1041 cpu->_status = DcacheWaitResponse;
1043 cpu->dcache_pkt = NULL;
1049 : pkt(_pkt), cpu(_cpu)
1051 cpu->schedule(this, t);
1057 cpu->completeDataAccess(pkt);