summaryrefslogtreecommitdiff
path: root/src/mem/cache/prefetch/queued.hh
diff options
context:
space:
mode:
authorJavier Bueno <javier.bueno@metempsy.com>2019-02-05 23:31:19 +0100
committerJavier Bueno Hedo <javier.bueno@metempsy.com>2019-02-12 11:51:04 +0000
commitee9293d0ec8bcf793b6622a746726f9745d0631f (patch)
tree396334f9f252598ee0ce7b80395446db210ad82a /src/mem/cache/prefetch/queued.hh
parent1f008aa0348f5aaa1df5b337661e95821b98f07a (diff)
downloadgem5-ee9293d0ec8bcf793b6622a746726f9745d0631f.tar.xz
mem-cache: Added the Delta Correlating Prediction Tables Prefetcher
Reference: Multi-level hardware prefetching using low complexity delta correlating prediction tables with partial matching. Marius Grannaes, Magnus Jahre, and Lasse Natvig. 2010. In Proceedings of the 5th international conference on High Performance Embedded Architectures and Compilers (HiPEAC'10) Change-Id: I7b5d7ede9284862a427cfd5693a47652a69ed49d Reviewed-on: https://gem5-review.googlesource.com/c/16062 Reviewed-by: Daniel Carvalho <odanrc@yahoo.com.br> Maintainer: Andreas Sandberg <andreas.sandberg@arm.com>
Diffstat (limited to 'src/mem/cache/prefetch/queued.hh')
-rw-r--r--src/mem/cache/prefetch/queued.hh3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mem/cache/prefetch/queued.hh b/src/mem/cache/prefetch/queued.hh
index 1c63977b4..97a7ec6bc 100644
--- a/src/mem/cache/prefetch/queued.hh
+++ b/src/mem/cache/prefetch/queued.hh
@@ -89,7 +89,6 @@ class QueuedPrefetcher : public BasePrefetcher
return !(*this > that);
}
};
- using AddrPriority = std::pair<Addr, int32_t>;
std::list<DeferredPacket> pfq;
@@ -126,6 +125,8 @@ class QueuedPrefetcher : public BasePrefetcher
Stats::Scalar pfSpanPage;
public:
+ using AddrPriority = std::pair<Addr, int32_t>;
+
QueuedPrefetcher(const QueuedPrefetcherParams *p);
virtual ~QueuedPrefetcher();