mem-cache: Remove isTouched field from the CacheBlk
authorNikos Nikoleris <nikos.nikoleris@arm.com>
Thu, 10 May 2018 10:38:48 +0000 (11:38 +0100)
committerNikos Nikoleris <nikos.nikoleris@arm.com>
Thu, 17 May 2018 14:38:50 +0000 (14:38 +0000)
commit9637567610649778c7aceb0d2ae2926c5ca36dd2
tree1affc616af61697be422992ee728d451051ab3be
parent91529294470235e6e7b3128bca6c5b8783f35529
mem-cache: Remove isTouched field from the CacheBlk

At the moment isTouched is used in the warm-up detection mechanism but
it keeps track of the same information as isValid(). This change
removes it and substitutes its use by isValid().

Change-Id: I611ddf2fa4562ae3b3b2ed2fb74d26abd2e5ec62
Reviewed-on: https://gem5-review.googlesource.com/10427
Maintainer: Nikos Nikoleris <nikos.nikoleris@arm.com>
Reviewed-by: Jason Lowe-Power <jason@lowepower.com>
Reviewed-by: Daniel Carvalho <odanrc@yahoo.com.br>
src/mem/cache/blk.cc
src/mem/cache/blk.hh
src/mem/cache/tags/base.cc