34#ifndef __MEM_CACHE_PREFETCH_SMS_HH__
35#define __MEM_CACHE_PREFETCH_SMS_HH__
45struct SmsPrefetcherParams;
59 std::map< Addr, std::set<Addr> >
AGT;
60 std::map< Addr, std::pair<Addr,Addr> >
AGTPC;
61 std::map< Addr, std::pair<Addr,Addr> >
FT;
62 std::map< std::pair <Addr,Addr> , std::set<Addr> >
PHT;
71 Sms(
const SmsPrefetcherParams &
p);
Class containing the information needed by the prefetch to train and generate new prefetch requests.
std::map< Addr, std::pair< Addr, Addr > > AGTPC
void calculatePrefetch(const PrefetchInfo &pfi, std::vector< AddrPriority > &addresses, const CacheAccessor &cache) override
std::map< Addr, std::pair< Addr, Addr > > FT
std::deque< std::pair< Addr, Addr > > lruPHT
std::deque< Addr > lruAGT
std::map< std::pair< Addr, Addr >, std::set< Addr > > PHT
void notifyEvict(const EvictionInfo &info) override
Notify prefetcher of cache eviction.
std::deque< Addr > fifoFT
std::map< Addr, std::set< Addr > > AGT
const uint64_t MAX_PHTSize
Copyright (c) 2024 Arm Limited All rights reserved.
uint64_t Addr
Address type This will probably be moved somewhere else in the near future.
Declaration of the Packet class.
Provides generic cache lookup functions.
A data contents update is composed of the updated block's address, the old contents,...