diff options
author | Daniel R. Carvalho <odanrc@yahoo.com.br> | 2018-03-12 11:05:11 +0100 |
---|---|---|
committer | Daniel Carvalho <odanrc@yahoo.com.br> | 2018-03-30 16:58:15 +0000 |
commit | 2b5245bdd8b6cb11462a37528cfe0d6e637aacff (patch) | |
tree | 800aa63d16a809819a065dbbc96ad2dd81b165f9 /src/mem/cache | |
parent | 207cb98c70d753adb1906856fd34a7e288df5318 (diff) | |
download | gem5-2b5245bdd8b6cb11462a37528cfe0d6e637aacff.tar.xz |
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>
Diffstat (limited to 'src/mem/cache')
-rw-r--r-- | src/mem/cache/replacement_policies/ReplacementPolicies.py | 3 |
1 files changed, 3 insertions, 0 deletions
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 |