gem5  v21.2.1.1
Public Member Functions | Public Attributes | List of all members
gem5::ruby::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 67 of file RubyPrefetcher.hh.

Constructor & Destructor Documentation

◆ PrefetchEntry()

gem5::ruby::PrefetchEntry::PrefetchEntry ( )
inline

constructor

Definition at line 71 of file RubyPrefetcher.hh.

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

Member Data Documentation

◆ m_address

Addr gem5::ruby::PrefetchEntry::m_address

The base address for the stream prefetch.

Definition at line 80 of file RubyPrefetcher.hh.

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

◆ m_is_valid

bool gem5::ruby::PrefetchEntry::m_is_valid

◆ m_stride

int gem5::ruby::PrefetchEntry::m_stride

stride distance to get next address from

Definition at line 83 of file RubyPrefetcher.hh.

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

◆ m_type

RubyRequestType gem5::ruby::PrefetchEntry::m_type

L1D prefetches loads and stores.

Definition at line 92 of file RubyPrefetcher.hh.

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

◆ m_use_time

Cycles gem5::ruby::PrefetchEntry::m_use_time

the last time that any prefetched request was used

Definition at line 86 of file RubyPrefetcher.hh.

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

◆ requestCompleted

std::bitset<MAX_PF_INFLIGHT> gem5::ruby::PrefetchEntry::requestCompleted

Definition at line 97 of file RubyPrefetcher.hh.

Referenced by gem5::ruby::RubyPrefetcher::observeMiss().

◆ requestIssued

std::bitset<MAX_PF_INFLIGHT> gem5::ruby::PrefetchEntry::requestIssued

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

Definition at line 96 of file RubyPrefetcher.hh.

Referenced by gem5::ruby::RubyPrefetcher::observeMiss().


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

Generated on Wed May 4 2022 12:15:52 for gem5 by doxygen 1.8.17