gem5: don't count instruction fetch as mem access

Change-Id: I6ea9811c132ef7c235d5a03486ca08afc842b51f
This commit is contained in:
Richard Hellwig
2013-12-26 15:10:20 +01:00
parent 0907dfb0ae
commit f41247b143

View File

@ -536,12 +536,6 @@ AtomicSimpleCPU::tick()
assert(!ifetch_pkt.isError()); 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 // ifetch_req is initialized to read the instruction directly
// into the CPU object's inst field. // into the CPU object's inst field.
//} //}