gem5 v24.0.0.0
Loading...
Searching...
No Matches
gem5::replacement_policy::SHiP::SHiPReplData Class Reference

SHiP-specific implementation of replacement data. More...

#include <ship_rp.hh>

Inheritance diagram for gem5::replacement_policy::SHiP::SHiPReplData:
gem5::replacement_policy::BRRIP::BRRIPReplData gem5::replacement_policy::ReplacementData

Public Member Functions

 SHiPReplData (int num_bits)
 
SignatureType getSignature () const
 Get entry's signature.
 
void setSignature (SignatureType signature)
 Set this entry's signature and reset outcome.
 
void setReReferenced ()
 Set that this entry has been re-referenced.
 
bool wasReReferenced () const
 Get whether entry has been re-referenced since insertion.
 
- Public Member Functions inherited from gem5::replacement_policy::BRRIP::BRRIPReplData
 BRRIPReplData (const int num_bits)
 Default constructor.
 

Private Attributes

SignatureType signature
 Signature that caused the insertion of this entry.
 
bool outcome
 Outcome of insertion; set to one if entry is re-referenced.
 

Additional Inherited Members

- Public Attributes inherited from gem5::replacement_policy::BRRIP::BRRIPReplData
SatCounter8 rrpv
 Re-Reference Interval Prediction Value.
 
bool valid
 Whether the entry is valid.
 

Detailed Description

SHiP-specific implementation of replacement data.

Definition at line 63 of file ship_rp.hh.

Constructor & Destructor Documentation

◆ SHiPReplData()

gem5::replacement_policy::SHiP::SHiPReplData::SHiPReplData ( int num_bits)

Definition at line 42 of file ship_rp.cc.

Member Function Documentation

◆ getSignature()

SHiP::SignatureType gem5::replacement_policy::SHiP::SHiPReplData::getSignature ( ) const

Get entry's signature.

Definition at line 48 of file ship_rp.cc.

◆ setReReferenced()

void gem5::replacement_policy::SHiP::SHiPReplData::setReReferenced ( )

Set that this entry has been re-referenced.

Definition at line 61 of file ship_rp.cc.

◆ setSignature()

void gem5::replacement_policy::SHiP::SHiPReplData::setSignature ( SignatureType signature)

Set this entry's signature and reset outcome.

Parameters
signatureNew signature value/

Definition at line 54 of file ship_rp.cc.

◆ wasReReferenced()

bool gem5::replacement_policy::SHiP::SHiPReplData::wasReReferenced ( ) const

Get whether entry has been re-referenced since insertion.

Returns
True if entry has been re-referenced since insertion.

Definition at line 67 of file ship_rp.cc.

Member Data Documentation

◆ outcome

bool gem5::replacement_policy::SHiP::SHiPReplData::outcome
private

Outcome of insertion; set to one if entry is re-referenced.

Definition at line 70 of file ship_rp.hh.

◆ signature

SignatureType gem5::replacement_policy::SHiP::SHiPReplData::signature
private

Signature that caused the insertion of this entry.

Definition at line 67 of file ship_rp.hh.


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

Generated on Tue Jun 18 2024 16:24:21 for gem5 by doxygen 1.11.0