diff options
Diffstat (limited to 'src/mem/cache/prefetch/ghb.hh')
-rw-r--r-- | src/mem/cache/prefetch/ghb.hh | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/src/mem/cache/prefetch/ghb.hh b/src/mem/cache/prefetch/ghb.hh index c85221a39..a21b57b93 100644 --- a/src/mem/cache/prefetch/ghb.hh +++ b/src/mem/cache/prefetch/ghb.hh @@ -37,6 +37,7 @@ #define __MEM_CACHE_PREFETCH_GHB_PREFETCHER_HH__ #include "mem/cache/prefetch/base.hh" +#include "params/GHBPrefetcher.hh" class GHBPrefetcher : public BasePrefetcher { @@ -47,15 +48,9 @@ class GHBPrefetcher : public BasePrefetcher Addr secondLastMissAddr[Max_Contexts]; Addr lastMissAddr[Max_Contexts]; - Tick latency; - int degree; - bool useContextId; - public: - - GHBPrefetcher(const BaseCacheParams *p) - : BasePrefetcher(p), latency(p->prefetch_latency), - degree(p->prefetch_degree), useContextId(p->prefetch_use_cpu_id) + GHBPrefetcher(const Params *p) + : BasePrefetcher(p) { } |