gem5 v24.0.0.0
Loading...
Searching...
No Matches
DuelingMonitorTest Class Reference
Inheritance diagram for DuelingMonitorTest:

Protected Member Functions

void SetUp () override
 
void TearDown () override
 

Protected Attributes

std::vector< Duelerentries
 A vector simulating a table-like structure.
 
std::size_t constituencySize
 The constituency size, acquired from params.
 
std::size_t teamSize
 The size of a team, acquired from params.
 
unsigned numBits
 The number of bits in the selector, acquired from params.
 
double lowThreshold
 The low threshold to change winner, acquired from params.
 
double highThreshold
 The high threshold to change winner, acquired from params.
 
std::unique_ptr< DuelingMonitormonitor
 The monitor instance being tested.
 

Detailed Description

Definition at line 83 of file dueling.test.cc.

Member Function Documentation

◆ SetUp()

void DuelingMonitorTest::SetUp ( )
inlineoverrideprotected

Definition at line 109 of file dueling.test.cc.

References constituencySize, entries, highThreshold, lowThreshold, monitor, numBits, and teamSize.

◆ TearDown()

void DuelingMonitorTest::TearDown ( )
inlineoverrideprotected

Definition at line 129 of file dueling.test.cc.

References monitor_id.

Member Data Documentation

◆ constituencySize

std::size_t DuelingMonitorTest::constituencySize
protected

The constituency size, acquired from params.

Definition at line 91 of file dueling.test.cc.

Referenced by SetUp().

◆ entries

std::vector<Dueler> DuelingMonitorTest::entries
protected

A vector simulating a table-like structure.

Definition at line 88 of file dueling.test.cc.

Referenced by SetUp().

◆ highThreshold

double DuelingMonitorTest::highThreshold
protected

The high threshold to change winner, acquired from params.

Definition at line 103 of file dueling.test.cc.

Referenced by SetUp().

◆ lowThreshold

double DuelingMonitorTest::lowThreshold
protected

The low threshold to change winner, acquired from params.

Definition at line 100 of file dueling.test.cc.

Referenced by SetUp().

◆ monitor

std::unique_ptr<DuelingMonitor> DuelingMonitorTest::monitor
protected

The monitor instance being tested.

Definition at line 106 of file dueling.test.cc.

Referenced by SetUp().

◆ numBits

unsigned DuelingMonitorTest::numBits
protected

The number of bits in the selector, acquired from params.

Definition at line 97 of file dueling.test.cc.

Referenced by SetUp().

◆ teamSize

std::size_t DuelingMonitorTest::teamSize
protected

The size of a team, acquired from params.

Definition at line 94 of file dueling.test.cc.

Referenced by SetUp().


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

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