mem-cache: Create RRIP Replacement Policy

Implementation of a Re-Reference Interval Prediction replacement
policy.

Change-Id: Iba716eb5df2bf2be156e765f889d94f6ad00c91b
Reviewed-on: https://gem5-review.googlesource.com/8981
Maintainer: Nikos Nikoleris <nikos.nikoleris@arm.com>
Reviewed-by: Nikos Nikoleris <nikos.nikoleris@arm.com>
Reviewed-by: Jason Lowe-Power <jason@lowepower.com>
This commit is contained in:
Daniel R. Carvalho
2018-03-12 11:05:11 +01:00
committed by Daniel Carvalho
parent 207cb98c70
commit 2b5245bdd8

View File

@@ -64,3 +64,6 @@ class BRRIPRP(BaseReplacementPolicy):
"Prioritize evicting blocks that havent had a hit recently")
btp = Param.Percent(3,
"Percentage of blocks to be inserted with long RRPV")
class RRIPRP(BRRIPRP):
btp = 0