summaryrefslogtreecommitdiff
path: root/src/mem/ruby/SConscript
diff options
context:
space:
mode:
authorNilay Vaish <nilay@cs.wisc.edu>2012-12-11 10:05:54 -0600
committerNilay Vaish <nilay@cs.wisc.edu>2012-12-11 10:05:54 -0600
commit93e283abb348b81d086225f7861d94901c9b0888 (patch)
tree2f66e364c898392ac5538d1cb9726720c34eecfd /src/mem/ruby/SConscript
parentd5023847951dcebcb38838cae0a141bd1a62e407 (diff)
downloadgem5-93e283abb348b81d086225f7861d94901c9b0888.tar.xz
ruby: add a prefetcher
This patch adds a prefetcher for the ruby memory system. The prefetcher is based on a prefetcher implemented by others (well, I don't know who wrote the original). The prefetcher does stride-based prefetching, both unit and non-unit. It obseves the misses in the cache and trains on these. After the training period is over, the prefetcher starts issuing prefetch requests to the controller.
Diffstat (limited to 'src/mem/ruby/SConscript')
-rw-r--r--src/mem/ruby/SConscript1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mem/ruby/SConscript b/src/mem/ruby/SConscript
index 06f6abd9f..086c2f764 100644
--- a/src/mem/ruby/SConscript
+++ b/src/mem/ruby/SConscript
@@ -103,6 +103,7 @@ MakeInclude('common/DataBlock.hh')
MakeInclude('common/NetDest.hh')
MakeInclude('common/Set.hh')
MakeInclude('filters/GenericBloomFilter.hh')
+MakeInclude('structures/Prefetcher.hh')
MakeInclude('system/CacheMemory.hh')
MakeInclude('system/DMASequencer.hh')
MakeInclude('system/DirectoryMemory.hh')