ReplacementPolicies.py (12627:33d3bb6f19a5) | ReplacementPolicies.py (12628:458d655f2abb) |
---|---|
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 LFURP(BaseReplacementPolicy): 44 type = 'LFURP' 45 cxx_class = 'LFURP' 46 cxx_header = "mem/cache/replacement_policies/lfu_rp.hh" 47 |
|
43class LRURP(BaseReplacementPolicy): 44 type = 'LRURP' 45 cxx_class = 'LRURP' 46 cxx_header = "mem/cache/replacement_policies/lru_rp.hh" 47 48class MRURP(BaseReplacementPolicy): 49 type = 'MRURP' 50 cxx_class = 'MRURP' --- 19 unchanged lines hidden --- | 48class LRURP(BaseReplacementPolicy): 49 type = 'LRURP' 50 cxx_class = 'LRURP' 51 cxx_header = "mem/cache/replacement_policies/lru_rp.hh" 52 53class MRURP(BaseReplacementPolicy): 54 type = 'MRURP' 55 cxx_class = 'MRURP' --- 19 unchanged lines hidden --- |