Add Parameter to only do prefetch calculations on data accesses not instruction accesses
authorRon Dreslinski <rdreslin@umich.edu>
Fri, 8 Apr 2005 21:19:56 +0000 (17:19 -0400)
committerRon Dreslinski <rdreslin@umich.edu>
Fri, 8 Apr 2005 21:19:56 +0000 (17:19 -0400)
--HG--
extra : convert_revision : 85c987561a962f21466f0c1bd0473300d341c398

python/m5/objects/BaseCache.mpy

index 214e0555c119c19ec0a3218dbb1cfc81278097af..a9bda5c99844086504444b272d06940206160c1a 100644 (file)
@@ -58,3 +58,5 @@ simobj BaseCache(BaseMem):
          "Check if in cash on push or pop of prefetch queue")
     prefetch_use_cpu_id = Param.Bool(True,
          "Use the CPU ID to seperate calculations of prefetches")
+    prefetch_data_accesses_only = Param.Bool(False,
+         "Only prefetch on data not on instruction accesses")