LRUReplacementPolicy.py (10970:ea8bdb1d9f1e) | LRUReplacementPolicy.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; --- 17 unchanged lines hidden (view full) --- 26# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 27# 28# Author: Derek Hower 29 30 31 32from m5.params import * 33from m5.SimObject import SimObject | 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; --- 17 unchanged lines hidden (view full) --- 26# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 27# 28# Author: Derek Hower 29 30 31 32from m5.params import * 33from m5.SimObject import SimObject |
34from ReplacementPolicy import ReplacementPolicy | 34from m5.objects.ReplacementPolicy import ReplacementPolicy |
35 36class LRUReplacementPolicy(ReplacementPolicy): 37 type = 'LRUReplacementPolicy' 38 cxx_class = 'LRUPolicy' 39 cxx_header = 'mem/ruby/structures/LRUPolicy.hh' 40 41 | 35 36class LRUReplacementPolicy(ReplacementPolicy): 37 type = 'LRUReplacementPolicy' 38 cxx_class = 'LRUPolicy' 39 cxx_header = 'mem/ruby/structures/LRUPolicy.hh' 40 41 |