Deleted Added
sdiff udiff text old ( 13963:94555f0223ba ) new ( 13991:102d94094d6b )
full compact
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
9# terms below provided that you ensure that this notice is replicated

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

94
95 def listenFromProbe(self, simObj, *probeNames):
96 if not isinstance(simObj, SimObject):
97 raise TypeError("argument must be of SimObject type")
98 if len(probeNames) <= 0:
99 raise TypeError("probeNames must have at least one element")
100 self.addEvent(HWPProbeEvent(self, simObj, *probeNames))
101
102class QueuedPrefetcher(BasePrefetcher):
103 type = "QueuedPrefetcher"
104 abstract = True
105 cxx_class = "QueuedPrefetcher"
106 cxx_header = "mem/cache/prefetch/queued.hh"
107 latency = Param.Int(1, "Latency for generated prefetches")
108 queue_size = Param.Int(32, "Maximum number of queued prefetches")
109 queue_squash = Param.Bool(True, "Squash queued prefetch on demand access")

--- 377 unchanged lines hidden ---