Prefetcher.py (9338:97b4a2be1e5b) | Prefetcher.py (10052:5bb8e054456b) |
---|---|
1# Copyright (c) 2012 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 --- 45 unchanged lines hidden (view full) --- 54 "Squash prefetches with a later time on a subsequent miss") 55 degree = Param.Int(1, 56 "Degree of the prefetch depth") 57 latency = Param.Cycles('1', "Latency of the prefetcher") 58 use_master_id = Param.Bool(True, 59 "Use the master id to separate calculations of prefetches") 60 data_accesses_only = Param.Bool(False, 61 "Only prefetch on data not on instruction accesses") | 1# Copyright (c) 2012 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 --- 45 unchanged lines hidden (view full) --- 54 "Squash prefetches with a later time on a subsequent miss") 55 degree = Param.Int(1, 56 "Degree of the prefetch depth") 57 latency = Param.Cycles('1', "Latency of the prefetcher") 58 use_master_id = Param.Bool(True, 59 "Use the master id to separate calculations of prefetches") 60 data_accesses_only = Param.Bool(False, 61 "Only prefetch on data not on instruction accesses") |
62 on_miss_only = Param.Bool(False, 63 "Only prefetch on miss (as opposed to always)") 64 on_read_only = Param.Bool(False, 65 "Only prefetch on read requests (write requests ignored)") 66 on_prefetch = Param.Bool(True, 67 "Let lower cache prefetcher train on prefetch requests") |
|
62 sys = Param.System(Parent.any, "System this device belongs to") 63 64class GHBPrefetcher(BasePrefetcher): 65 type = 'GHBPrefetcher' 66 cxx_class = 'GHBPrefetcher' 67 cxx_header = "mem/cache/prefetch/ghb.hh" 68 69class StridePrefetcher(BasePrefetcher): --- 12 unchanged lines hidden --- | 68 sys = Param.System(Parent.any, "System this device belongs to") 69 70class GHBPrefetcher(BasePrefetcher): 71 type = 'GHBPrefetcher' 72 cxx_class = 'GHBPrefetcher' 73 cxx_header = "mem/cache/prefetch/ghb.hh" 74 75class StridePrefetcher(BasePrefetcher): --- 12 unchanged lines hidden --- |