ReplacementPolicies.py (12635:3abc52e4b4f3) | ReplacementPolicies.py (12672:4e1c5ce90fcd) |
---|---|
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 --- 67 unchanged lines hidden (view full) --- 76 max_RRPV = Param.Unsigned(3, "Maximum RRPV possible") 77 hit_priority = Param.Bool(False, 78 "Prioritize evicting blocks that havent had a hit recently") 79 btp = Param.Percent(3, 80 "Percentage of blocks to be inserted with long RRPV") 81 82class RRIPRP(BRRIPRP): 83 btp = 0 | 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 --- 67 unchanged lines hidden (view full) --- 76 max_RRPV = Param.Unsigned(3, "Maximum RRPV possible") 77 hit_priority = Param.Bool(False, 78 "Prioritize evicting blocks that havent had a hit recently") 79 btp = Param.Percent(3, 80 "Percentage of blocks to be inserted with long RRPV") 81 82class RRIPRP(BRRIPRP): 83 btp = 0 |
84 85class NRURP(BRRIPRP): 86 btp = 0 87 max_RRPV = 1 |
|