ReplacementPolicies.py (12684:44ebd2bc020f) | ReplacementPolicies.py (12685:dcf85db6ec5c) |
---|---|
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 --- 26 unchanged lines hidden (view full) --- 35 abstract = True 36 cxx_header = "mem/cache/replacement_policies/base.hh" 37 38class FIFORP(BaseReplacementPolicy): 39 type = 'FIFORP' 40 cxx_class = 'FIFORP' 41 cxx_header = "mem/cache/replacement_policies/fifo_rp.hh" 42 | 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 --- 26 unchanged lines hidden (view full) --- 35 abstract = True 36 cxx_header = "mem/cache/replacement_policies/base.hh" 37 38class FIFORP(BaseReplacementPolicy): 39 type = 'FIFORP' 40 cxx_class = 'FIFORP' 41 cxx_header = "mem/cache/replacement_policies/fifo_rp.hh" 42 |
43class SecondChanceRP(FIFORP): 44 type = 'SecondChanceRP' 45 cxx_class = 'SecondChanceRP' 46 cxx_header = "mem/cache/replacement_policies/second_chance_rp.hh" 47 |
|
43class LFURP(BaseReplacementPolicy): 44 type = 'LFURP' 45 cxx_class = 'LFURP' 46 cxx_header = "mem/cache/replacement_policies/lfu_rp.hh" 47 48class LRURP(BaseReplacementPolicy): 49 type = 'LRURP' 50 cxx_class = 'LRURP' --- 37 unchanged lines hidden --- | 48class LFURP(BaseReplacementPolicy): 49 type = 'LFURP' 50 cxx_class = 'LFURP' 51 cxx_header = "mem/cache/replacement_policies/lfu_rp.hh" 52 53class LRURP(BaseReplacementPolicy): 54 type = 'LRURP' 55 cxx_class = 'LRURP' --- 37 unchanged lines hidden --- |