mem-ruby: Fix cache hits being profiled as cache misses
authorHoa Nguyen <hoanguyen@ucdavis.edu>
Fri, 20 Nov 2020 04:08:14 +0000 (20:08 -0800)
committerHoa Nguyen <hoanguyen@ucdavis.edu>
Sat, 21 Nov 2020 00:47:51 +0000 (00:47 +0000)
commit580eb6419590811554b5521a6a1df336e5d0b3e7
treee8ff189a22a34b5d10f78e89a3dcd012bce4d353
parentadbd2d0138f3480d7f4ebec96ca2a1f6b4c3a1b9
mem-ruby: Fix cache hits being profiled as cache misses

There are some instances where a cache hit is profiled as a cache
miss. This commit addresses this error.

Change-Id: I7dafa806ef3f1e3717650dc25f8657a0ea741dd1
Signed-off-by: Hoa Nguyen <hoanguyen@ucdavis.edu>
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/37835
Reviewed-by: Matt Sinclair <mattdsinclair@gmail.com>
Reviewed-by: Daniel Gerzhoy <daniel.gerzhoy@gmail.com>
Reviewed-by: Jason Lowe-Power <power.jg@gmail.com>
Maintainer: Matt Sinclair <mattdsinclair@gmail.com>
Tested-by: kokoro <noreply+kokoro@google.com>
src/mem/ruby/protocol/MI_example-cache.sm
src/mem/ruby/protocol/MOESI_AMD_Base-CorePair.sm
src/mem/ruby/protocol/MOESI_hammer-cache.sm