gem5  v20.0.0.3
Public Member Functions | Private Member Functions | Private Attributes | List of all members
ScoreboardCheckStage Class Reference

#include <scoreboard_check_stage.hh>

Public Member Functions

 ScoreboardCheckStage (const ComputeUnitParams *params)
 
 ~ScoreboardCheckStage ()
 
void init (ComputeUnit *cu)
 
void exec ()
 
const std::string & name () const
 
void regStats ()
 

Private Member Functions

void collectStatistics (Wavefront *curWave, int unitId)
 
void initStatistics ()
 

Private Attributes

ComputeUnitcomputeUnit
 
uint32_t numSIMDs
 
uint32_t numMemUnits
 
uint32_t numShrMemPipes
 
std::vector< bool > * vectorAluInstAvail
 
int lastGlbMemSimd
 
int lastShrMemSimd
 
int * glbMemInstAvail
 
int * shrMemInstAvail
 
std::vector< std::vector< Wavefront * > * > readyList
 
std::vector< std::vector< std::pair< Wavefront *, WAVE_STATUS > > * > waveStatusList
 
std::string _name
 

Detailed Description

Definition at line 61 of file scoreboard_check_stage.hh.

Constructor & Destructor Documentation

◆ ScoreboardCheckStage()

ScoreboardCheckStage::ScoreboardCheckStage ( const ComputeUnitParams *  params)

Definition at line 42 of file scoreboard_check_stage.cc.

◆ ~ScoreboardCheckStage()

ScoreboardCheckStage::~ScoreboardCheckStage ( )

Definition at line 53 of file scoreboard_check_stage.cc.

References glbMemInstAvail, readyList, shrMemInstAvail, and waveStatusList.

Member Function Documentation

◆ collectStatistics()

void ScoreboardCheckStage::collectStatistics ( Wavefront curWave,
int  unitId 
)
private

◆ exec()

void ScoreboardCheckStage::exec ( )

◆ init()

void ScoreboardCheckStage::init ( ComputeUnit cu)

◆ initStatistics()

void ScoreboardCheckStage::initStatistics ( )
private

◆ name()

const std::string& ScoreboardCheckStage::name ( ) const
inline

Definition at line 70 of file scoreboard_check_stage.hh.

References _name, collectStatistics(), initStatistics(), and regStats().

◆ regStats()

void ScoreboardCheckStage::regStats ( )

Definition at line 168 of file scoreboard_check_stage.cc.

Referenced by name(), and ComputeUnit::regStats().

Member Data Documentation

◆ _name

std::string ScoreboardCheckStage::_name
private

Definition at line 100 of file scoreboard_check_stage.hh.

Referenced by init(), and name().

◆ computeUnit

ComputeUnit* ScoreboardCheckStage::computeUnit
private

Definition at line 76 of file scoreboard_check_stage.hh.

Referenced by exec(), and init().

◆ glbMemInstAvail

int* ScoreboardCheckStage::glbMemInstAvail
private

◆ lastGlbMemSimd

int ScoreboardCheckStage::lastGlbMemSimd
private

Definition at line 85 of file scoreboard_check_stage.hh.

Referenced by collectStatistics(), and initStatistics().

◆ lastShrMemSimd

int ScoreboardCheckStage::lastShrMemSimd
private

Definition at line 86 of file scoreboard_check_stage.hh.

Referenced by collectStatistics(), and initStatistics().

◆ numMemUnits

uint32_t ScoreboardCheckStage::numMemUnits
private

Definition at line 78 of file scoreboard_check_stage.hh.

Referenced by exec(), and init().

◆ numShrMemPipes

uint32_t ScoreboardCheckStage::numShrMemPipes
private

Definition at line 79 of file scoreboard_check_stage.hh.

Referenced by collectStatistics().

◆ numSIMDs

uint32_t ScoreboardCheckStage::numSIMDs
private

Definition at line 77 of file scoreboard_check_stage.hh.

Referenced by exec(), init(), and initStatistics().

◆ readyList

std::vector<std::vector<Wavefront*>*> ScoreboardCheckStage::readyList
private

Definition at line 92 of file scoreboard_check_stage.hh.

Referenced by exec(), init(), and ~ScoreboardCheckStage().

◆ shrMemInstAvail

int* ScoreboardCheckStage::shrMemInstAvail
private

◆ vectorAluInstAvail

std::vector<bool>* ScoreboardCheckStage::vectorAluInstAvail
private

Definition at line 84 of file scoreboard_check_stage.hh.

Referenced by collectStatistics(), init(), and initStatistics().

◆ waveStatusList

std::vector<std::vector<std::pair<Wavefront*, WAVE_STATUS> >*> ScoreboardCheckStage::waveStatusList
private

Definition at line 98 of file scoreboard_check_stage.hh.

Referenced by exec(), init(), and ~ScoreboardCheckStage().


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

Generated on Fri Jul 3 2020 15:53:19 for gem5 by doxygen 1.8.13