diff options
author | Daniel R. Carvalho <odanrc@yahoo.com.br> | 2018-04-25 14:41:23 +0200 |
---|---|---|
committer | Daniel Carvalho <odanrc@yahoo.com.br> | 2018-04-26 12:51:58 +0000 |
commit | 685cf2d1f8ae2f2ca3168a650efa1d36120783fe (patch) | |
tree | 8777aa38ddbcaa9b2c70b555e962fd3723f5fa1a /src/dev/SConscript | |
parent | ee2ffdc0fdb489767768e5273a4ccd7b51735c7c (diff) | |
download | gem5-685cf2d1f8ae2f2ca3168a650efa1d36120783fe.tar.xz |
mem-cache: Use block iteration in BaseSetAssoc
Use block iteration instead of numSets and assoc in print(),
cleanupRefs() and computeStats().
This makes these functions rely solely on what they are used for:
printing and calculating stats of blocks. With the addition of
Sectors an extra indirection level is added, and thus these
functions would be skipping blocks.
Change-Id: I0006f82736cce02ba3e501ffafe9236f748daf32
Reviewed-on: https://gem5-review.googlesource.com/10143
Reviewed-by: Nikos Nikoleris <nikos.nikoleris@arm.com>
Maintainer: Nikos Nikoleris <nikos.nikoleris@arm.com>
Diffstat (limited to 'src/dev/SConscript')
0 files changed, 0 insertions, 0 deletions