41 #ifndef __MEM_CACHE_PREFETCH_SIGNATURE_PATH_V2_HH__ 42 #define __MEM_CACHE_PREFETCH_SIGNATURE_PATH_V2_HH__ 48 struct SignaturePathPrefetcherV2Params;
99 #endif//__MEM_CACHE_PREFETCH_SIGNATURE_PATH_V2_HH__
Global History Register entry datatype.
void auxiliaryPrefetcher(Addr ppn, stride_t current_block, bool is_secure, std::vector< AddrPriority > &addresses) override
In this version of the Signature Path Prefetcher, there is no auxiliary prefetcher, so this function does not perform any actions.
uint16_t signature_t
Signature type.
double calculatePrefetchConfidence(PatternEntry const &sig, PatternStrideEntry const &lookahead) const override
Computes the prefetch confidence of the provided pattern entry.
~SignaturePathV2()=default
virtual void handlePageCrossingLookahead(signature_t signature, stride_t last_offset, stride_t delta, double path_confidence) override
Handles the situation when the lookahead process has crossed the boundaries of the current page...
uint64_t Addr
Address type This will probably be moved somewhere else in the near future.
void handleSignatureTableMiss(stride_t current_block, signature_t &new_signature, double &new_conf, stride_t &new_stride) override
Whenever a new SignatureEntry is allocated, it computes the new signature to be used with the new ent...
Associative container based on the previosuly defined Entry type Each element is indexed by a key of ...
AssociativeSet< GlobalHistoryEntry > globalHistoryRegister
Global History Register.
Pattern entry data type, a set of stride and counter entries.
Declaration of the Packet class.
int16_t stride_t
Stride type.
Copyright (c) 2018 Metempsy Technology Consulting All rights reserved.
SignaturePathV2(const SignaturePathPrefetcherV2Params *p)
A stride entry with its counter.
Copyright (c) 2018 Metempsy Technology Consulting All rights reserved.
void increasePatternEntryCounter(PatternEntry &pattern_entry, PatternStrideEntry &pstride_entry) override
Increases the counter of a given PatternEntry/PatternStrideEntry.
double calculateLookaheadConfidence(PatternEntry const &sig, PatternStrideEntry const &lookahead) const override
Computes the lookahead path confidence of the provided pattern entry.