gem5  v22.1.0.0
Public Member Functions | Private Attributes | List of all members
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. More...
 
void setSignature (SignatureType signature)
 Set this entry's signature and reset outcome. More...
 
void setReReferenced ()
 Set that this entry has been re-referenced. More...
 
bool wasReReferenced () const
 Get whether entry has been re-referenced since insertion. More...
 
- Public Member Functions inherited from gem5::replacement_policy::BRRIP::BRRIPReplData
 BRRIPReplData (const int num_bits)
 Default constructor. More...
 

Private Attributes

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

Additional Inherited Members

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

Detailed Description

SHiP-specific implementation of replacement data.

Definition at line 64 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 71 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 68 of file ship_rp.hh.


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

Generated on Wed Dec 21 2022 10:24:21 for gem5 by doxygen 1.9.1