gem5  v21.1.0.2
Public Member Functions | Public Attributes | List of all members
gem5::replacement_policy::Dueling::DuelerReplData Struct Reference

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

#include <dueling_rp.hh>

Inheritance diagram for gem5::replacement_policy::Dueling::DuelerReplData:
gem5::replacement_policy::ReplacementData gem5::Dueler

Public Member Functions

 DuelerReplData (const std::shared_ptr< ReplacementData > &repl_data_a, const std::shared_ptr< ReplacementData > &repl_data_b)
 Default constructor. More...
 
- Public Member Functions inherited from gem5::Dueler
 Dueler ()
 By default initializes entries as followers. More...
 
virtual ~Dueler ()=default
 
void setSample (uint64_t id, bool team)
 Make this entry a sampling entry for a specific Dueling instance. More...
 
bool isSample (uint64_t id, bool &team) const
 Check if entry is a sample for the given instance. More...
 

Public Attributes

std::shared_ptr< ReplacementDatareplDataA
 
std::shared_ptr< ReplacementDatareplDataB
 

Detailed Description

Dueler-specific implementation of replacement data.

Contains all sub-replacement policies' replacement data.

Definition at line 60 of file dueling_rp.hh.

Constructor & Destructor Documentation

◆ DuelerReplData()

gem5::replacement_policy::Dueling::DuelerReplData::DuelerReplData ( const std::shared_ptr< ReplacementData > &  repl_data_a,
const std::shared_ptr< ReplacementData > &  repl_data_b 
)
inline

Default constructor.

Initialize sub-replacement data.

Definition at line 66 of file dueling_rp.hh.

Member Data Documentation

◆ replDataA

std::shared_ptr<ReplacementData> gem5::replacement_policy::Dueling::DuelerReplData::replDataA

Definition at line 62 of file dueling_rp.hh.

◆ replDataB

std::shared_ptr<ReplacementData> gem5::replacement_policy::Dueling::DuelerReplData::replDataB

Definition at line 63 of file dueling_rp.hh.


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

Generated on Tue Sep 21 2021 12:31:55 for gem5 by doxygen 1.8.17