diff options
author | Ron Dreslinski <rdreslin@umich.edu> | 2005-04-01 19:39:23 -0500 |
---|---|---|
committer | Ron Dreslinski <rdreslin@umich.edu> | 2005-04-01 19:39:23 -0500 |
commit | fdceb0f00c518652c34530d46e877354db78e4aa (patch) | |
tree | 0e24be9a7c5b4108714649c1088674fdbcafc5d0 | |
parent | 9ba57eafc27cab28e8a172539e013d2f762a1dd0 (diff) | |
parent | c21bf8e7aebe9157488f300edbf378d9a2d3cf71 (diff) | |
download | gem5-fdceb0f00c518652c34530d46e877354db78e4aa.tar.xz |
Some hand merges
--HG--
rename : objects/BaseCache.mpy => python/m5/objects/BaseCache.mpy
extra : convert_revision : b24ff4c1feb480cf280207d4bbdfe08ef80d1aa2
-rw-r--r-- | SConscript | 4 | ||||
-rw-r--r-- | base/traceflags.py | 3 | ||||
-rw-r--r-- | python/m5/objects/BaseCache.mpy | 9 |
3 files changed, 15 insertions, 1 deletions
diff --git a/SConscript b/SConscript index 93962778f..7f9e56f70 100644 --- a/SConscript +++ b/SConscript @@ -165,6 +165,10 @@ base_sources = Split(''' mem/cache/miss/miss_queue.cc mem/cache/miss/mshr.cc mem/cache/miss/mshr_queue.cc + mem/cache/prefetch/base_prefetcher.cc + mem/cache/prefetch/prefetcher.cc + mem/cache/prefetch/stride_prefetcher.cc + mem/cache/prefetch/tagged_prefetcher.cc mem/cache/tags/base_tags.cc mem/cache/tags/cache_tags.cc mem/cache/tags/fa_lru.cc diff --git a/base/traceflags.py b/base/traceflags.py index 800c47bd3..74b87e1b9 100644 --- a/base/traceflags.py +++ b/base/traceflags.py @@ -123,7 +123,8 @@ baseFlags = [ 'Uart', 'Split', 'SQL', - 'Thread' + 'Thread', + 'HWPrefetch' ] # diff --git a/python/m5/objects/BaseCache.mpy b/python/m5/objects/BaseCache.mpy index b9986917f..198665325 100644 --- a/python/m5/objects/BaseCache.mpy +++ b/python/m5/objects/BaseCache.mpy @@ -36,3 +36,12 @@ simobj BaseCache(BaseMem): two_queue = Param.Bool(False, "whether the lifo should have two queue replacement") write_buffers = Param.Int(8, "number of write buffers") + prefetch_miss = Param.Bool(False, + "wheter you are using the hardware prefetcher from Miss stream") + prefetch_access = Param.Bool(False, + "wheter you are using the hardware prefetcher from Access stream") + prefetcher_size = Param.Int(100, + "Number of entries in the harware prefetch queue") + prefetch_past_page = Param.Bool(False, + "Allow prefetches to cross virtual page boundaries") + |