gem5 v24.0.0.0
|
SHiP-specific implementation of replacement data. More...
#include <ship_rp.hh>
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. | |
SHiP-specific implementation of replacement data.
Definition at line 63 of file ship_rp.hh.
gem5::replacement_policy::SHiP::SHiPReplData::SHiPReplData | ( | int | num_bits | ) |
Definition at line 42 of file ship_rp.cc.
SHiP::SignatureType gem5::replacement_policy::SHiP::SHiPReplData::getSignature | ( | ) | const |
Get entry's signature.
Definition at line 48 of file ship_rp.cc.
void gem5::replacement_policy::SHiP::SHiPReplData::setReReferenced | ( | ) |
Set that this entry has been re-referenced.
Definition at line 61 of file ship_rp.cc.
void gem5::replacement_policy::SHiP::SHiPReplData::setSignature | ( | SignatureType | signature | ) |
Set this entry's signature and reset outcome.
signature | New signature value/ |
Definition at line 54 of file ship_rp.cc.
bool gem5::replacement_policy::SHiP::SHiPReplData::wasReReferenced | ( | ) | const |
Get whether entry has been re-referenced since insertion.
Definition at line 67 of file ship_rp.cc.
|
private |
Outcome of insertion; set to one if entry is re-referenced.
Definition at line 70 of file ship_rp.hh.
|
private |
Signature that caused the insertion of this entry.
Definition at line 67 of file ship_rp.hh.