gem5  [DEVELOP-FOR-23.0]
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
slim_ampm.cc
Go to the documentation of this file.
1 
30 
31 #include "params/SlimAMPMPrefetcher.hh"
32 
33 namespace gem5
34 {
35 
36 namespace prefetch
37 {
38 
39 SlimAMPM::SlimAMPM(const SlimAMPMPrefetcherParams &p)
40  : Queued(p), ampm(*p.ampm), dcpt(*p.dcpt)
41 {
42 }
43 
44 void
46  std::vector<AddrPriority> &addresses)
47 {
48  dcpt.calculatePrefetch(pfi, addresses);
49  if (addresses.empty()) {
50  ampm.calculatePrefetch(pfi, addresses);
51  }
52 }
53 
54 } // namespace prefetch
55 } // namespace gem5
gem5::prefetch::SlimAMPM::SlimAMPM
SlimAMPM(const SlimAMPMPrefetcherParams &p)
Definition: slim_ampm.cc:39
gem5::prefetch::AccessMapPatternMatching::calculatePrefetch
void calculatePrefetch(const Base::PrefetchInfo &pfi, std::vector< Queued::AddrPriority > &addresses)
Definition: access_map_pattern_matching.cc:158
std::vector
STL vector class.
Definition: stl.hh:37
gem5::prefetch::DeltaCorrelatingPredictionTables::calculatePrefetch
void calculatePrefetch(const Base::PrefetchInfo &pfi, std::vector< Queued::AddrPriority > &addresses)
Computes the prefetch candidates given a prefetch event.
Definition: delta_correlating_prediction_tables.cc:126
slim_ampm.hh
gem5::prefetch::SlimAMPM::ampm
AccessMapPatternMatching & ampm
AMPM prefetcher object.
Definition: slim_ampm.hh:57
gem5::VegaISA::p
Bitfield< 54 > p
Definition: pagetable.hh:70
gem5::prefetch::Queued
Definition: queued.hh:59
gem5
Reference material can be found at the JEDEC website: UFS standard http://www.jedec....
Definition: gpu_translation_state.hh:37
gem5::prefetch::SlimAMPM::calculatePrefetch
void calculatePrefetch(const PrefetchInfo &pfi, std::vector< AddrPriority > &addresses) override
Definition: slim_ampm.cc:45
gem5::prefetch::SlimAMPM::dcpt
DeltaCorrelatingPredictionTables & dcpt
DCPT prefetcher object.
Definition: slim_ampm.hh:59
gem5::prefetch::Base::PrefetchInfo
Class containing the information needed by the prefetch to train and generate new prefetch requests.
Definition: base.hh:96

Generated on Sun Jul 30 2023 01:56:57 for gem5 by doxygen 1.8.17