Merge "gem5: don't count instruction fetch as mem access"

This commit is contained in:
Richard Hellwig
2014-01-14 13:26:16 +01:00
committed by Gerrit Code Review

View File

@ -536,12 +536,6 @@ AtomicSimpleCPU::tick()
assert(!ifetch_pkt.isError());
// FAIL*
#ifdef CONFIG_EVENT_MEMREAD
fail::ConcreteCPU* cpu = &fail::simulator.getCPU(cpuId());
fail::simulator.onMemoryAccess(cpu, ifetch_pkt.getAddr(), ifetch_pkt.getSize(), false, instAddr());
#endif
// ifetch_req is initialized to read the instruction directly
// into the CPU object's inst field.
//}