ReplacementPolicies.py (12685:dcf85db6ec5c) ReplacementPolicies.py (13221:48bce2835200)
1# Copyright (c) 2018 Inria
2# All rights reserved.
3#
4# Redistribution and use in source and binary forms, with or without
5# modification, are permitted provided that the following conditions are
6# met: redistributions of source code must retain the above copyright
7# notice, this list of conditions and the following disclaimer;
8# redistributions in binary form must reproduce the above copyright

--- 76 unchanged lines hidden (view full) ---

85 "Percentage of blocks to be inserted with long RRPV")
86
87class RRIPRP(BRRIPRP):
88 btp = 0
89
90class NRURP(BRRIPRP):
91 btp = 0
92 max_RRPV = 1
1# Copyright (c) 2018 Inria
2# All rights reserved.
3#
4# Redistribution and use in source and binary forms, with or without
5# modification, are permitted provided that the following conditions are
6# met: redistributions of source code must retain the above copyright
7# notice, this list of conditions and the following disclaimer;
8# redistributions in binary form must reproduce the above copyright

--- 76 unchanged lines hidden (view full) ---

85 "Percentage of blocks to be inserted with long RRPV")
86
87class RRIPRP(BRRIPRP):
88 btp = 0
89
90class NRURP(BRRIPRP):
91 btp = 0
92 max_RRPV = 1
93
94class TreePLRURP(BaseReplacementPolicy):
95 type = 'TreePLRURP'
96 cxx_class = 'TreePLRURP'
97 cxx_header = "mem/cache/replacement_policies/tree_plru_rp.hh"
98 num_leaves = Param.Int(Parent.assoc, "Number of leaves in each tree")