gem5  v19.0.0.0
Public Member Functions | Public Attributes | List of all members
StridePrefetcher::StrideEntry Struct Reference

#include <stride.hh>

Inheritance diagram for StridePrefetcher::StrideEntry:
ReplaceableEntry

Public Member Functions

 StrideEntry ()
 Default constructor. More...
 
void invalidate ()
 Invalidate the entry. More...
 
- Public Member Functions inherited from ReplaceableEntry
 ReplaceableEntry ()=default
 
virtual ~ReplaceableEntry ()=default
 
virtual void setPosition (const uint32_t set, const uint32_t way)
 Set both the set and way. More...
 
uint32_t getSet () const
 Get set number. More...
 
uint32_t getWay () const
 Get way number. More...
 
virtual std::string print () const
 Prints relevant information about this entry. More...
 

Public Attributes

Addr instAddr
 
Addr lastAddr
 
bool isSecure
 
int stride
 
int confidence
 
- Public Attributes inherited from ReplaceableEntry
std::shared_ptr< ReplacementDatareplacementData
 Replacement data associated to this entry. More...
 

Additional Inherited Members

- Protected Attributes inherited from ReplaceableEntry
uint32_t _set
 Set to which this entry belongs. More...
 
uint32_t _way
 Way (relative position within the set) to which this entry belongs. More...
 

Detailed Description

Definition at line 83 of file stride.hh.

Constructor & Destructor Documentation

◆ StrideEntry()

StridePrefetcher::StrideEntry::StrideEntry ( )

Default constructor.

Definition at line 63 of file stride.cc.

References invalidate().

Member Function Documentation

◆ invalidate()

void StridePrefetcher::StrideEntry::invalidate ( )

Invalidate the entry.

Definition at line 69 of file stride.cc.

References confidence, instAddr, isSecure, lastAddr, and stride.

Referenced by StridePrefetcher::calculatePrefetch(), and StrideEntry().

Member Data Documentation

◆ confidence

int StridePrefetcher::StrideEntry::confidence

Definition at line 95 of file stride.hh.

Referenced by StridePrefetcher::calculatePrefetch(), and invalidate().

◆ instAddr

Addr StridePrefetcher::StrideEntry::instAddr

Definition at line 91 of file stride.hh.

Referenced by StridePrefetcher::calculatePrefetch(), and invalidate().

◆ isSecure

bool StridePrefetcher::StrideEntry::isSecure

Definition at line 93 of file stride.hh.

Referenced by StridePrefetcher::calculatePrefetch(), and invalidate().

◆ lastAddr

Addr StridePrefetcher::StrideEntry::lastAddr

Definition at line 92 of file stride.hh.

Referenced by StridePrefetcher::calculatePrefetch(), and invalidate().

◆ stride

int StridePrefetcher::StrideEntry::stride

Definition at line 94 of file stride.hh.

Referenced by StridePrefetcher::calculatePrefetch(), and invalidate().


The documentation for this struct was generated from the following files:

Generated on Fri Feb 28 2020 16:27:16 for gem5 by doxygen 1.8.13