diff options
author | Nilay Vaish <nilay@cs.wisc.edu> | 2012-12-11 10:05:54 -0600 |
---|---|---|
committer | Nilay Vaish <nilay@cs.wisc.edu> | 2012-12-11 10:05:54 -0600 |
commit | 93e283abb348b81d086225f7861d94901c9b0888 (patch) | |
tree | 2f66e364c898392ac5538d1cb9726720c34eecfd /src/mem/SConscript | |
parent | d5023847951dcebcb38838cae0a141bd1a62e407 (diff) | |
download | gem5-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/SConscript')
-rw-r--r-- | src/mem/SConscript | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/mem/SConscript b/src/mem/SConscript index 9cf8b08d1..374f904a8 100644 --- a/src/mem/SConscript +++ b/src/mem/SConscript @@ -86,6 +86,7 @@ DebugFlag('RubyGenerated') DebugFlag('RubyMemory') DebugFlag('RubyNetwork') DebugFlag('RubyPort') +DebugFlag('RubyPrefetcher') DebugFlag('RubyQueue') DebugFlag('RubySequencer') DebugFlag('RubySlicc') @@ -96,4 +97,5 @@ DebugFlag('RubyResourceStalls') CompoundFlag('Ruby', [ 'RubyQueue', 'RubyNetwork', 'RubyTester', 'RubyGenerated', 'RubySlicc', 'RubySystem', 'RubyCache', - 'RubyMemory', 'RubyDma', 'RubyPort', 'RubySequencer', 'RubyCacheTrace']) + 'RubyMemory', 'RubyDma', 'RubyPort', 'RubySequencer', 'RubyCacheTrace', + 'RubyPrefetcher']) |