gem5
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
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 63 of file scoreboard_check_stage.hh.

Constructor & Destructor Documentation

ScoreboardCheckStage::ScoreboardCheckStage ( const ComputeUnitParams *  params)

Definition at line 44 of file scoreboard_check_stage.cc.

ScoreboardCheckStage::~ScoreboardCheckStage ( )

Definition at line 55 of file scoreboard_check_stage.cc.

References glbMemInstAvail, readyList, shrMemInstAvail, and waveStatusList.

Member Function Documentation

void ScoreboardCheckStage::collectStatistics ( Wavefront curWave,
int  unitId 
)
private
void ScoreboardCheckStage::exec ( )
void ScoreboardCheckStage::init ( ComputeUnit cu)
void ScoreboardCheckStage::initStatistics ( )
private
const std::string& ScoreboardCheckStage::name ( ) const
inline

Definition at line 72 of file scoreboard_check_stage.hh.

References _name.

void ScoreboardCheckStage::regStats ( )

Definition at line 170 of file scoreboard_check_stage.cc.

Referenced by ComputeUnit::regStats().

Member Data Documentation

std::string ScoreboardCheckStage::_name
private

Definition at line 102 of file scoreboard_check_stage.hh.

Referenced by init(), and name().

ComputeUnit* ScoreboardCheckStage::computeUnit
private

Definition at line 78 of file scoreboard_check_stage.hh.

Referenced by exec(), and init().

int* ScoreboardCheckStage::glbMemInstAvail
private
int ScoreboardCheckStage::lastGlbMemSimd
private

Definition at line 87 of file scoreboard_check_stage.hh.

Referenced by collectStatistics(), and initStatistics().

int ScoreboardCheckStage::lastShrMemSimd
private

Definition at line 88 of file scoreboard_check_stage.hh.

Referenced by collectStatistics(), and initStatistics().

uint32_t ScoreboardCheckStage::numMemUnits
private

Definition at line 80 of file scoreboard_check_stage.hh.

Referenced by exec(), and init().

uint32_t ScoreboardCheckStage::numShrMemPipes
private

Definition at line 81 of file scoreboard_check_stage.hh.

Referenced by collectStatistics().

uint32_t ScoreboardCheckStage::numSIMDs
private

Definition at line 79 of file scoreboard_check_stage.hh.

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

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

Definition at line 94 of file scoreboard_check_stage.hh.

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

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

Definition at line 86 of file scoreboard_check_stage.hh.

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

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

Definition at line 100 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 Jun 9 2017 13:04:18 for gem5 by doxygen 1.8.6