summaryrefslogtreecommitdiff
path: root/src/cpu/testers/traffic_gen
diff options
context:
space:
mode:
authorDaniel R. Carvalho <odanrc@yahoo.com.br>2018-04-25 14:41:23 +0200
committerDaniel Carvalho <odanrc@yahoo.com.br>2018-04-26 12:51:58 +0000
commit685cf2d1f8ae2f2ca3168a650efa1d36120783fe (patch)
tree8777aa38ddbcaa9b2c70b555e962fd3723f5fa1a /src/cpu/testers/traffic_gen
parentee2ffdc0fdb489767768e5273a4ccd7b51735c7c (diff)
downloadgem5-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/cpu/testers/traffic_gen')
0 files changed, 0 insertions, 0 deletions