summaryrefslogtreecommitdiff
path: root/python
diff options
context:
space:
mode:
authorRon Dreslinski <rdreslin@umich.edu>2005-04-04 16:25:22 -0400
committerRon Dreslinski <rdreslin@umich.edu>2005-04-04 16:25:22 -0400
commit1b2c81b9d7835eb77b319e66bb8e0fb40f771b99 (patch)
tree0d4f3d9c3d0f82af385313c7fa851718a72c6309 /python
parenta07340f6cd24817222c1b8905f8a33015322b6bd (diff)
downloadgem5-1b2c81b9d7835eb77b319e66bb8e0fb40f771b99.tar.xz
Add more prefetcher support.
SConscript: Add GHB prefetcher to build list python/m5/objects/BaseCache.mpy: Add parameters about when to remove prefetches and wether or not to use cpuid to differentiate access patterns --HG-- extra : convert_revision : 1d3fef21910f2f34b8c28d01b5f6e86eef53357c
Diffstat (limited to 'python')
-rw-r--r--python/m5/objects/BaseCache.mpy4
1 files changed, 4 insertions, 0 deletions
diff --git a/python/m5/objects/BaseCache.mpy b/python/m5/objects/BaseCache.mpy
index 3727f2f01..214e0555c 100644
--- a/python/m5/objects/BaseCache.mpy
+++ b/python/m5/objects/BaseCache.mpy
@@ -54,3 +54,7 @@ simobj BaseCache(BaseMem):
"Latency of the prefetcher")
prefetch_policy = Param.Prefetch('none',
"Type of prefetcher to use")
+ prefetch_cache_check_push = Param.Bool(True,
+ "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")