ruby: add a prefetcher
authorNilay Vaish <nilay@cs.wisc.edu>
Tue, 11 Dec 2012 16:05:54 +0000 (10:05 -0600)
committerNilay Vaish <nilay@cs.wisc.edu>
Tue, 11 Dec 2012 16:05:54 +0000 (10:05 -0600)
commit93e283abb348b81d086225f7861d94901c9b0888
tree2f66e364c898392ac5538d1cb9726720c34eecfd
parentd5023847951dcebcb38838cae0a141bd1a62e407
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.
src/mem/SConscript
src/mem/ruby/SConscript
src/mem/ruby/slicc_interface/AbstractController.hh
src/mem/ruby/structures/Prefetcher.cc [new file with mode: 0644]
src/mem/ruby/structures/Prefetcher.hh [new file with mode: 0644]
src/mem/ruby/structures/RubyPrefetcher.py [new file with mode: 0644]
src/mem/ruby/structures/SConscript [new file with mode: 0644]