summaryrefslogtreecommitdiff
path: root/python
diff options
context:
space:
mode:
authorRon Dreslinski <rdreslin@umich.edu>2005-04-08 17:19:56 -0400
committerRon Dreslinski <rdreslin@umich.edu>2005-04-08 17:19:56 -0400
commit2d2f663d3aa993b5914cb27fab7c859fd4829001 (patch)
treea3d623a274e9d3991348b0c72cfe7ef5ccbbda2f /python
parent1b2c81b9d7835eb77b319e66bb8e0fb40f771b99 (diff)
downloadgem5-2d2f663d3aa993b5914cb27fab7c859fd4829001.tar.xz
Add Parameter to only do prefetch calculations on data accesses not instruction accesses
--HG-- extra : convert_revision : 85c987561a962f21466f0c1bd0473300d341c398
Diffstat (limited to 'python')
-rw-r--r--python/m5/objects/BaseCache.mpy2
1 files changed, 2 insertions, 0 deletions
diff --git a/python/m5/objects/BaseCache.mpy b/python/m5/objects/BaseCache.mpy
index 214e0555c..a9bda5c99 100644
--- a/python/m5/objects/BaseCache.mpy
+++ b/python/m5/objects/BaseCache.mpy
@@ -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")