gem5 v24.0.0.0
Loading...
Searching...
No Matches
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.
 
- Public Member Functions inherited from gem5::Dueler
 Dueler ()
 By default initializes entries as followers.
 
virtual ~Dueler ()=default
 
void setSample (uint64_t id, bool team)
 Make this entry a sampling entry for a specific Dueling instance.
 
bool isSample (uint64_t id, bool &team) const
 Check if entry is a sample for the given instance.
 

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 59 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 65 of file dueling_rp.hh.

Member Data Documentation

◆ replDataA

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

Definition at line 61 of file dueling_rp.hh.

◆ replDataB

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

Definition at line 62 of file dueling_rp.hh.


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

Generated on Tue Jun 18 2024 16:24:21 for gem5 by doxygen 1.11.0