mem-cache: Create LIP Replacement Policy

Implementation of a LRU Insertion Policy replacement policy.

Change-Id: I1a9aa0091ff2cdc1b1652c1d5ec7a3b33fba5b44
Reviewed-on: https://gem5-review.googlesource.com/9002
Reviewed-by: Nikos Nikoleris <nikos.nikoleris@arm.com>
Maintainer: Nikos Nikoleris <nikos.nikoleris@arm.com>
This commit is contained in:
Daniel R. Carvalho
2018-03-12 12:14:46 +01:00
committed by Daniel Carvalho
parent 65a703c6bf
commit f7c6d86009

View File

@@ -56,6 +56,9 @@ class BIPRP(LRURP):
cxx_header = "mem/cache/replacement_policies/bip_rp.hh"
btp = Param.Percent(3, "Percentage of blocks to be inserted as MRU")
class LIPRP(BIPRP):
btp = 0
class MRURP(BaseReplacementPolicy):
type = 'MRURP'
cxx_class = 'MRURP'