gem5  v20.1.0.0
Public Member Functions | Public Attributes | List of all members
PrefetchEntry Class Reference

#include <RubyPrefetcher.hh>

Public Member Functions

 PrefetchEntry ()
 constructor More...
 

Public Attributes

Addr m_address
 The base address for the stream prefetch. More...
 
int m_stride
 stride distance to get next address from More...
 
Cycles m_use_time
 the last time that any prefetched request was used More...
 
bool m_is_valid
 valid bit for each stream More...
 
RubyRequestType m_type
 L1D prefetches loads and stores. More...
 
std::bitset< MAX_PF_INFLIGHTrequestIssued
 Bitset for tracking prefetches for which addresses have been issued, which ones have completed. More...
 
std::bitset< MAX_PF_INFLIGHTrequestCompleted
 

Detailed Description

Definition at line 60 of file RubyPrefetcher.hh.

Constructor & Destructor Documentation

◆ PrefetchEntry()

PrefetchEntry::PrefetchEntry ( )
inline

constructor

Definition at line 64 of file RubyPrefetcher.hh.

References RubySystem::getBlockSizeBits(), m_is_valid, m_stride, and m_use_time.

Member Data Documentation

◆ m_address

Addr PrefetchEntry::m_address

The base address for the stream prefetch.

Definition at line 73 of file RubyPrefetcher.hh.

Referenced by RubyPrefetcher::initializeStream(), and RubyPrefetcher::issueNextPrefetch().

◆ m_is_valid

bool PrefetchEntry::m_is_valid

valid bit for each stream

Definition at line 82 of file RubyPrefetcher.hh.

Referenced by RubyPrefetcher::initializeStream(), RubyPrefetcher::issueNextPrefetch(), and PrefetchEntry().

◆ m_stride

int PrefetchEntry::m_stride

stride distance to get next address from

Definition at line 76 of file RubyPrefetcher.hh.

Referenced by RubyPrefetcher::initializeStream(), RubyPrefetcher::issueNextPrefetch(), and PrefetchEntry().

◆ m_type

RubyRequestType PrefetchEntry::m_type

L1D prefetches loads and stores.

Definition at line 85 of file RubyPrefetcher.hh.

Referenced by RubyPrefetcher::initializeStream(), and RubyPrefetcher::issueNextPrefetch().

◆ m_use_time

Cycles PrefetchEntry::m_use_time

the last time that any prefetched request was used

Definition at line 79 of file RubyPrefetcher.hh.

Referenced by RubyPrefetcher::initializeStream(), RubyPrefetcher::issueNextPrefetch(), and PrefetchEntry().

◆ requestCompleted

std::bitset<MAX_PF_INFLIGHT> PrefetchEntry::requestCompleted

Definition at line 90 of file RubyPrefetcher.hh.

Referenced by RubyPrefetcher::observeMiss().

◆ requestIssued

std::bitset<MAX_PF_INFLIGHT> PrefetchEntry::requestIssued

Bitset for tracking prefetches for which addresses have been issued, which ones have completed.

Definition at line 89 of file RubyPrefetcher.hh.

Referenced by RubyPrefetcher::observeMiss().


The documentation for this class was generated from the following file:

Generated on Wed Sep 30 2020 14:02:29 for gem5 by doxygen 1.8.17