mem: Handful extra features for BasePrefetcher
authorRekai Gonzalez Alberquilla <Rekai.GonzalezAlberquilla@arm.com>
Thu, 7 Apr 2016 16:32:38 +0000 (11:32 -0500)
committerRekai Gonzalez Alberquilla <Rekai.GonzalezAlberquilla@arm.com>
Thu, 7 Apr 2016 16:32:38 +0000 (11:32 -0500)
commitdad7d9277b571305ee248cd761a7dbb9400b3681
tree4d4127f796ca0b12b04e113b1a841e7055d48bf1
parentdf5a81183303fa941d71e866ff8d258e4d6a510e
mem: Handful extra features for BasePrefetcher

Some common functionality added to the base prefetcher, mainly dealing with
extracting the block address, page address, block index inside the page and
some other information that can be inferred from the block address. This is
used for some prefetching algorithms, and having the methods in the base,
as well as the block size and other information is the sensible way.
src/mem/cache/prefetch/base.cc
src/mem/cache/prefetch/base.hh