mem-cache: Allow tag-only accesses on latency calculation
authorDaniel R. Carvalho <odanrc@yahoo.com.br>
Tue, 4 Dec 2018 15:29:16 +0000 (16:29 +0100)
committerDaniel Carvalho <odanrc@yahoo.com.br>
Thu, 7 Mar 2019 13:07:09 +0000 (13:07 +0000)
commit6d8694a5fb5cfb905186249581cc6a3fde6cc38a
tree600d99f68c6dd99e39eea60a9d69859676693664
parent9a234836396d547494abf2c370ea773abfac3fed
mem-cache: Allow tag-only accesses on latency calculation

Some accesses only need to search for a tag in the tag array, with
no need to touch the data array. This is the case for CleanEvicts,
evicts that don't find a corresponding block entry (since a write
cannot be done in parallel with tag lookup), and maintenance
operations.

Change-Id: I7365a915500b5d7ab636d49a9acc627072a7f58e
Signed-off-by: Daniel R. Carvalho <odanrc@yahoo.com.br>
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/14878
Reviewed-by: Nikos Nikoleris <nikos.nikoleris@arm.com>
Maintainer: Nikos Nikoleris <nikos.nikoleris@arm.com>
src/mem/cache/base.cc
src/mem/cache/base.hh