From 2b5245bdd8b6cb11462a37528cfe0d6e637aacff Mon Sep 17 00:00:00 2001 From: "Daniel R. Carvalho" Date: Mon, 12 Mar 2018 11:05:11 +0100 Subject: [PATCH] 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 Reviewed-by: Nikos Nikoleris Reviewed-by: Jason Lowe-Power --- src/mem/cache/replacement_policies/ReplacementPolicies.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/mem/cache/replacement_policies/ReplacementPolicies.py b/src/mem/cache/replacement_policies/ReplacementPolicies.py index 9176d2b32..5f7ecfc5c 100644 --- a/src/mem/cache/replacement_policies/ReplacementPolicies.py +++ b/src/mem/cache/replacement_policies/ReplacementPolicies.py @@ -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 -- 2.30.2