gem5  v21.1.0.2
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 68 of file RubyPrefetcher.hh.

Constructor & Destructor Documentation

◆ PrefetchEntry()

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

constructor

Definition at line 72 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 81 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 84 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 93 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 87 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 98 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 97 of file RubyPrefetcher.hh.

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


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

Generated on Tue Sep 21 2021 12:32:09 for gem5 by doxygen 1.8.17