mem-cache: Move insertBlock functionality in FALRU
authorDaniel R. Carvalho <odanrc@yahoo.com.br>
Fri, 9 Mar 2018 13:53:17 +0000 (14:53 +0100)
committerDaniel Carvalho <odanrc@yahoo.com.br>
Fri, 6 Apr 2018 08:23:16 +0000 (08:23 +0000)
commitaffbf2a6086631e724949cf5764ba55f4e40423d
tree03a89a651477a2c933614821829ab95b150f5539
parentf7c6d86009c03a953da25df8f29186d6cc07eff3
mem-cache: Move insertBlock functionality in FALRU

Block insertion is being done in the getCandidates function, while the
insertBlock function does not do anything.

Besides, BaseTags' stats weren't being updated.

Change-Id: Iadab9c1ea61519214f66fa24c4b91c4fc95604c0
Reviewed-on: https://gem5-review.googlesource.com/8882
Reviewed-by: Nikos Nikoleris <nikos.nikoleris@arm.com>
Maintainer: Nikos Nikoleris <nikos.nikoleris@arm.com>
src/mem/cache/tags/base.cc
src/mem/cache/tags/base.hh
src/mem/cache/tags/base_set_assoc.hh
src/mem/cache/tags/fa_lru.cc
src/mem/cache/tags/fa_lru.hh