Daniel Carvalho has uploaded this change for review. (
https://gem5-review.googlesource.com/c/public/gem5/+/37898 )
Change subject: mem-cache: Add the DRRIP replacement policy
......................................................................
mem-cache: Add the DRRIP replacement policy
Instantiate the Dynamic Re-Reference Interval Prediction, as defined
in "High Performance Cache Replacement Using Re-Reference Interval
Prediction (RRIP)", by Jaleel et al.
Change-Id: Id1d354c01e63ae49739263647ff25e5665f60d8c
Signed-off-by: Daniel R. Carvalho <[email protected]>
---
M src/mem/cache/replacement_policies/ReplacementPolicies.py
1 file changed, 4 insertions(+), 0 deletions(-)
diff --git a/src/mem/cache/replacement_policies/ReplacementPolicies.py
b/src/mem/cache/replacement_policies/ReplacementPolicies.py
index 14ce51e..22b85b0 100644
--- a/src/mem/cache/replacement_policies/ReplacementPolicies.py
+++ b/src/mem/cache/replacement_policies/ReplacementPolicies.py
@@ -100,6 +100,10 @@
class RRIPRP(BRRIPRP):
btp = 100
+class DRRIPRP(DuelingRP):
+ replacement_policy_a = BRRIPRP()
+ replacement_policy_b = RRIPRP()
+
class NRURP(BRRIPRP):
btp = 100
num_bits = 1
--
To view, visit https://gem5-review.googlesource.com/c/public/gem5/+/37898
To unsubscribe, or for help writing mail filters, visit
https://gem5-review.googlesource.com/settings
Gerrit-Project: public/gem5
Gerrit-Branch: develop
Gerrit-Change-Id: Id1d354c01e63ae49739263647ff25e5665f60d8c
Gerrit-Change-Number: 37898
Gerrit-PatchSet: 1
Gerrit-Owner: Daniel Carvalho <[email protected]>
Gerrit-MessageType: newchange
_______________________________________________
gem5-dev mailing list -- [email protected]
To unsubscribe send an email to [email protected]
%(web_page_url)slistinfo%(cgiext)s/%(_internal_name)s