gem5 v24.0.0.0
Loading...
Searching...
No Matches
gem5::ruby::PrefetchEntry Class Reference

#include <RubyPrefetcher.hh>

Public Member Functions

 PrefetchEntry ()
 constructor
 

Public Attributes

Addr m_address
 The base address for the stream prefetch.
 
int m_stride
 stride distance to get next address from
 
Cycles m_use_time
 the last time that any prefetched request was used
 
bool m_is_valid
 valid bit for each stream
 
RubyRequestType m_type
 L1D prefetches loads and stores.
 
std::bitset< MAX_PF_INFLIGHTrequestIssued
 Bitset for tracking prefetches for which addresses have been issued, which ones have completed.
 
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 Tue Jun 18 2024 16:24:22 for gem5 by doxygen 1.11.0