gem5 [DEVELOP-FOR-25.0]
Loading...
Searching...
No Matches
slim_ampm.cc
Go to the documentation of this file.
1
28
30
31#include "params/SlimAMPMPrefetcher.hh"
32
33namespace gem5
34{
35
36namespace prefetch
37{
38
39SlimAMPM::SlimAMPM(const SlimAMPMPrefetcherParams &p)
40 : Queued(p), ampm(*p.ampm), dcpt(*p.dcpt)
41{
42}
43
44void
47 const CacheAccessor &cache)
48{
49 dcpt.calculatePrefetch(pfi, addresses, cache);
50 if (addresses.empty()) {
51 ampm.calculatePrefetch(pfi, addresses, cache);
52 }
53}
54
55} // namespace prefetch
56} // namespace gem5
Class containing the information needed by the prefetch to train and generate new prefetch requests.
Definition base.hh:113
Queued(const QueuedPrefetcherParams &p)
Definition queued.cc:100
SlimAMPM(const SlimAMPMPrefetcherParams &p)
Definition slim_ampm.cc:39
DeltaCorrelatingPredictionTables & dcpt
DCPT prefetcher object.
Definition slim_ampm.hh:59
void calculatePrefetch(const PrefetchInfo &pfi, std::vector< AddrPriority > &addresses, const CacheAccessor &cache) override
Definition slim_ampm.cc:45
AccessMapPatternMatching & ampm
AMPM prefetcher object.
Definition slim_ampm.hh:57
STL vector class.
Definition stl.hh:37
Bitfield< 0 > p
Copyright (c) 2024 Arm Limited All rights reserved.
Definition binary32.hh:36
Provides generic cache lookup functions.

Generated on Mon May 26 2025 09:19:11 for gem5 by doxygen 1.13.2