48 #ifndef __MEM_CACHE_PREFETCH_STRIDE_HH__
49 #define __MEM_CACHE_PREFETCH_STRIDE_HH__
51 #include <unordered_map>
54 #include "params/StridePrefetcher.hh"
90 auto it =
entries.find(context);
103 std::unordered_map<int, StrideEntry**>
entries;
121 #endif // __MEM_CACHE_PREFETCH_STRIDE_HH__
PCTable(int assoc, int sets, const std::string name)
StrideEntry ** operator[](int context)
StridePrefetcher(const StridePrefetcherParams *p)
StrideEntry * pcTableVictim(Addr pc, int master_id)
Addr pcHash(Addr pc) const
uint64_t Addr
Address type This will probably be moved somewhere else in the near future.
A Packet is used to encapsulate a transfer between two objects in the memory system (e...
bool pcTableHit(Addr pc, bool is_secure, int master_id, StrideEntry *&entry)
void calculatePrefetch(const PacketPtr &pkt, std::vector< AddrPriority > &addresses)
StrideEntry ** allocateNewContext(int context)
std::unordered_map< int, StrideEntry ** > entries