From: Daniel R. Carvalho Date: Mon, 12 Mar 2018 10:05:11 +0000 (+0100) Subject: mem-cache: Create RRIP Replacement Policy X-Git-Tag: v19.0.0.0~2192 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=2b5245bdd8b6cb11462a37528cfe0d6e637aacff;p=gem5.git 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 --- 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