PseudoLRUReplacementPolicy.py (10970:ea8bdb1d9f1e) | PseudoLRUReplacementPolicy.py (13665:9c7fe3811b88) |
---|---|
1# 2# Copyright (c) 2013 Advanced Micro Devices, Inc 3# All rights reserved. 4# 5# Redistribution and use in source and binary forms, with or without 6# modification, are permitted provided that the following conditions are 7# met: redistributions of source code must retain the above copyright 8# notice, this list of conditions and the following disclaimer; --- 13 unchanged lines hidden (view full) --- 22# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 23# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 24# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 25# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 26# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 27# 28# Author: Derek Hower 29 | 1# 2# Copyright (c) 2013 Advanced Micro Devices, Inc 3# All rights reserved. 4# 5# Redistribution and use in source and binary forms, with or without 6# modification, are permitted provided that the following conditions are 7# met: redistributions of source code must retain the above copyright 8# notice, this list of conditions and the following disclaimer; --- 13 unchanged lines hidden (view full) --- 22# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 23# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 24# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 25# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 26# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 27# 28# Author: Derek Hower 29 |
30from ReplacementPolicy import ReplacementPolicy | 30from m5.objects.ReplacementPolicy import ReplacementPolicy |
31 32class PseudoLRUReplacementPolicy(ReplacementPolicy): 33 type = 'PseudoLRUReplacementPolicy' 34 cxx_class = 'PseudoLRUPolicy' 35 cxx_header = 'mem/ruby/structures/PseudoLRUPolicy.hh' | 31 32class PseudoLRUReplacementPolicy(ReplacementPolicy): 33 type = 'PseudoLRUReplacementPolicy' 34 cxx_class = 'PseudoLRUPolicy' 35 cxx_header = 'mem/ruby/structures/PseudoLRUPolicy.hh' |