Prefetcher.py (13427:72a3afac3e78) Prefetcher.py (13551:f352df8e2863)
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

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

71
72 on_miss = Param.Bool(False, "Only notify prefetcher on misses")
73 on_read = Param.Bool(True, "Notify prefetcher on reads")
74 on_write = Param.Bool(True, "Notify prefetcher on writes")
75 on_data = Param.Bool(True, "Notify prefetcher on data accesses")
76 on_inst = Param.Bool(True, "Notify prefetcher on instruction accesses")
77 prefetch_on_access = Param.Bool(Parent.prefetch_on_access,
78 "Notify the hardware prefetcher on every access (not just misses)")
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

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

71
72 on_miss = Param.Bool(False, "Only notify prefetcher on misses")
73 on_read = Param.Bool(True, "Notify prefetcher on reads")
74 on_write = Param.Bool(True, "Notify prefetcher on writes")
75 on_data = Param.Bool(True, "Notify prefetcher on data accesses")
76 on_inst = Param.Bool(True, "Notify prefetcher on instruction accesses")
77 prefetch_on_access = Param.Bool(Parent.prefetch_on_access,
78 "Notify the hardware prefetcher on every access (not just misses)")
79 use_virtual_addresses = Param.Bool(False,
80 "Use virtual addresses for prefetching")
79
80 _events = []
81 def addEvent(self, newObject):
82 self._events.append(newObject)
83
84 # Override the normal SimObject::regProbeListeners method and
85 # register deferred event handlers.
86 def regProbeListeners(self):

--- 53 unchanged lines hidden ---
81
82 _events = []
83 def addEvent(self, newObject):
84 self._events.append(newObject)
85
86 # Override the normal SimObject::regProbeListeners method and
87 # register deferred event handlers.
88 def regProbeListeners(self):

--- 53 unchanged lines hidden ---