mem-cache: Create RRIP Replacement Policy
authorDaniel R. Carvalho <odanrc@yahoo.com.br>
Mon, 12 Mar 2018 10:05:11 +0000 (11:05 +0100)
committerDaniel Carvalho <odanrc@yahoo.com.br>
Fri, 30 Mar 2018 16:58:15 +0000 (16:58 +0000)
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>
src/mem/cache/replacement_policies/ReplacementPolicies.py

index 9176d2b32f49c16e0b095a1e651d9fcef9f82539..5f7ecfc5c0812e796f44a2b6041e923e3872437f 100644 (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