gem5: don't count instruction fetch as mem access
Change-Id: I6ea9811c132ef7c235d5a03486ca08afc842b51f
This commit is contained in:
@ -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.
|
||||||
//}
|
//}
|
||||||
|
|||||||
Reference in New Issue
Block a user