Prefetcher.py (13554:f16adb9b35cc) Prefetcher.py (13624:3d8220c2d41d)
1# Copyright (c) 2012, 2014 ARM Limited
2# All rights reserved.
3#
4# The license below extends only to copyright in the software and shall
5# not be construed as granting a license to any other intellectual
6# property including but not limited to intellectual property relating
7# to a hardware implementation of the functionality of the software
8# licensed hereunder. You may use the software subject to the license

--- 166 unchanged lines hidden (view full) ---

175 pattern_table_replacement_policy = Param.BaseReplacementPolicy(LRURP(),
176 "Replacement policy of the pattern table")
177
178 prefetch_confidence_threshold = Param.Float(0.5,
179 "Minimum confidence to issue prefetches")
180 lookahead_confidence_threshold = Param.Float(0.75,
181 "Minimum confidence to continue exploring lookahead entries")
182
1# Copyright (c) 2012, 2014 ARM Limited
2# All rights reserved.
3#
4# The license below extends only to copyright in the software and shall
5# not be construed as granting a license to any other intellectual
6# property including but not limited to intellectual property relating
7# to a hardware implementation of the functionality of the software
8# licensed hereunder. You may use the software subject to the license

--- 166 unchanged lines hidden (view full) ---

175 pattern_table_replacement_policy = Param.BaseReplacementPolicy(LRURP(),
176 "Replacement policy of the pattern table")
177
178 prefetch_confidence_threshold = Param.Float(0.5,
179 "Minimum confidence to issue prefetches")
180 lookahead_confidence_threshold = Param.Float(0.75,
181 "Minimum confidence to continue exploring lookahead entries")
182
183class SignaturePathPrefetcherV2(SignaturePathPrefetcher):
184 type = 'SignaturePathPrefetcherV2'
185 cxx_class = 'SignaturePathPrefetcherV2'
186 cxx_header = "mem/cache/prefetch/signature_path_v2.hh"
187
188 signature_table_entries = "256"
189 signature_table_assoc = 1
190 pattern_table_entries = "512"
191 pattern_table_assoc = 1
192 max_counter_value = 15
193 prefetch_confidence_threshold = 0.25
194 lookahead_confidence_threshold = 0.25
195
196 global_history_register_entries = Param.MemorySize("8",
197 "Number of entries of global history register")
198 global_history_register_indexing_policy = Param.BaseIndexingPolicy(
199 SetAssociative(entry_size = 1,
200 assoc = Parent.global_history_register_entries,
201 size = Parent.global_history_register_entries),
202 "Indexing policy of the global history register")
203 global_history_register_replacement_policy = Param.BaseReplacementPolicy(
204 LRURP(), "Replacement policy of the global history register")
205
183class AccessMapPatternMatchingPrefetcher(QueuedPrefetcher):
184 type = 'AccessMapPatternMatchingPrefetcher'
185 cxx_class = 'AccessMapPatternMatchingPrefetcher'
186 cxx_header = "mem/cache/prefetch/access_map_pattern_matching.hh"
187
188 start_degree = Param.Unsigned(4,
189 "Initial degree (Maximum number of prefetches generated")
190 hot_zone_size = Param.MemorySize("2kB", "Memory covered by a hot zone")

--- 25 unchanged lines hidden ---
206class AccessMapPatternMatchingPrefetcher(QueuedPrefetcher):
207 type = 'AccessMapPatternMatchingPrefetcher'
208 cxx_class = 'AccessMapPatternMatchingPrefetcher'
209 cxx_header = "mem/cache/prefetch/access_map_pattern_matching.hh"
210
211 start_degree = Param.Unsigned(4,
212 "Initial degree (Maximum number of prefetches generated")
213 hot_zone_size = Param.MemorySize("2kB", "Memory covered by a hot zone")

--- 25 unchanged lines hidden ---