gem5  v22.1.0.0
Protected Member Functions | Protected Attributes | List of all members
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. More...
 
std::size_t constituencySize
 The constituency size, acquired from params. More...
 
std::size_t teamSize
 The size of a team, acquired from params. More...
 
unsigned numBits
 The number of bits in the selector, acquired from params. More...
 
double lowThreshold
 The low threshold to change winner, acquired from params. More...
 
double highThreshold
 The high threshold to change winner, acquired from params. More...
 
std::unique_ptr< DuelingMonitormonitor
 The monitor instance being tested. More...
 

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.

◆ 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.

◆ entries

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

A vector simulating a table-like structure.

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

◆ highThreshold

double DuelingMonitorTest::highThreshold
protected

The high threshold to change winner, acquired from params.

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

◆ lowThreshold

double DuelingMonitorTest::lowThreshold
protected

The low threshold to change winner, acquired from params.

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

◆ monitor

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

The monitor instance being tested.

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

◆ numBits

unsigned DuelingMonitorTest::numBits
protected

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

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

◆ teamSize

std::size_t DuelingMonitorTest::teamSize
protected

The size of a team, acquired from params.

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


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

Generated on Wed Dec 21 2022 10:23:06 for gem5 by doxygen 1.9.1