gem5  v22.1.0.0
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 

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 Wed Dec 21 2022 10:24:21 for gem5 by doxygen 1.9.1