gem5  v19.0.0.0
Public Member Functions | Public Attributes | List of all members
SecondChanceRP::SecondChanceReplData Struct Reference

Second-Chance-specific implementation of replacement data. More...

#include <second_chance_rp.hh>

Inheritance diagram for SecondChanceRP::SecondChanceReplData:
FIFORP::FIFOReplData ReplacementData

Public Member Functions

 SecondChanceReplData ()
 Default constructor. More...
 
- Public Member Functions inherited from FIFORP::FIFOReplData
 FIFOReplData ()
 Default constructor. More...
 

Public Attributes

bool hasSecondChance
 This is different from isTouched because isTouched accounts only for insertion, while this bit is reset every new re-insertion. More...
 
- Public Attributes inherited from FIFORP::FIFOReplData
Tick tickInserted
 Tick on which the entry was inserted. More...
 

Detailed Description

Second-Chance-specific implementation of replacement data.

Definition at line 52 of file second_chance_rp.hh.

Constructor & Destructor Documentation

◆ SecondChanceReplData()

SecondChanceRP::SecondChanceReplData::SecondChanceReplData ( )
inline

Default constructor.

Definition at line 64 of file second_chance_rp.hh.

References SecondChanceRP::useSecondChance().

Member Data Documentation

◆ hasSecondChance

bool SecondChanceRP::SecondChanceReplData::hasSecondChance

This is different from isTouched because isTouched accounts only for insertion, while this bit is reset every new re-insertion.

See also
SecondChanceRP.

Definition at line 59 of file second_chance_rp.hh.


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

Generated on Fri Feb 28 2020 16:27:15 for gem5 by doxygen 1.8.13