From 9637567610649778c7aceb0d2ae2926c5ca36dd2 Mon Sep 17 00:00:00 2001 From: Nikos Nikoleris Date: Thu, 10 May 2018 11:38:48 +0100 Subject: 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 Reviewed-by: Jason Lowe-Power Reviewed-by: Daniel Carvalho --- src/mem/cache/blk.cc | 3 --- 1 file changed, 3 deletions(-) (limited to 'src/mem/cache/blk.cc') diff --git a/src/mem/cache/blk.cc b/src/mem/cache/blk.cc index 233f38052..ad0c20a6f 100644 --- a/src/mem/cache/blk.cc +++ b/src/mem/cache/blk.cc @@ -46,9 +46,6 @@ void CacheBlk::insert(const Addr tag, const State is_secure, const int src_master_ID, const uint32_t task_ID) { - // Touch block - isTouched = true; - // Set block tag this->tag = tag; -- cgit v1.2.3