gem5
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Public Attributes | Private Member Functions | Private Attributes | List of all members
ExecStage Class Reference

#include <exec_stage.hh>

Public Member Functions

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

Public Attributes

Stats::Scalar numCyclesWithNoIssue
 
Stats::Scalar numCyclesWithInstrIssued
 
Stats::Vector numCyclesWithInstrTypeIssued
 
Stats::Vector numCyclesWithNoInstrTypeIssued
 
Stats::Distribution spc
 

Private Member Functions

void collectStatistics (enum STAT_STATUS stage, int unitId)
 
void initStatistics ()
 

Private Attributes

ComputeUnitcomputeUnit
 
uint32_t numSIMDs
 
uint32_t numMemUnits
 
std::vector< std::pair
< Wavefront *, DISPATCH_STATUS > > * 
dispatchList
 
std::vector< bool > * vectorAluInstAvail
 
int * glbMemInstAvail
 
int * shrMemInstAvail
 
bool lastTimeInstExecuted
 
bool thisTimeInstExecuted
 
bool instrExecuted
 
Stats::Scalar numTransActiveIdle
 
Stats::Distribution idleDur
 
uint32_t executionResourcesUsed
 
uint64_t idle_dur
 
std::string _name
 

Detailed Description

Definition at line 69 of file exec_stage.hh.

Constructor & Destructor Documentation

ExecStage::ExecStage ( const ComputeUnitParams *  params)

Definition at line 41 of file exec_stage.cc.

References idle_dur, and numTransActiveIdle.

ExecStage::~ExecStage ( )
inline

Definition at line 73 of file exec_stage.hh.

Member Function Documentation

void ExecStage::collectStatistics ( enum STAT_STATUS  stage,
int  unitId 
)
private
void ExecStage::exec ( )
void ExecStage::init ( ComputeUnit cu)
void ExecStage::initStatistics ( )
private

Definition at line 120 of file exec_stage.cc.

References executionResourcesUsed, instrExecuted, and thisTimeInstExecuted.

Referenced by exec().

std::string ExecStage::name ( )
inline

Definition at line 77 of file exec_stage.hh.

References _name.

Referenced by regStats().

void ExecStage::regStats ( )

Member Data Documentation

std::string ExecStage::_name
private

Definition at line 126 of file exec_stage.hh.

Referenced by init(), and name().

ComputeUnit* ExecStage::computeUnit
private

Definition at line 96 of file exec_stage.hh.

Referenced by collectStatistics(), and init().

std::vector<std::pair<Wavefront*, DISPATCH_STATUS> >* ExecStage::dispatchList
private

Definition at line 112 of file exec_stage.hh.

Referenced by exec(), and init().

uint32_t ExecStage::executionResourcesUsed
private

Definition at line 124 of file exec_stage.hh.

Referenced by collectStatistics(), and initStatistics().

int* ExecStage::glbMemInstAvail
private

Definition at line 117 of file exec_stage.hh.

Referenced by collectStatistics(), and init().

uint64_t ExecStage::idle_dur
private

Definition at line 125 of file exec_stage.hh.

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

Stats::Distribution ExecStage::idleDur
private

Definition at line 123 of file exec_stage.hh.

Referenced by collectStatistics(), and regStats().

bool ExecStage::instrExecuted
private

Definition at line 121 of file exec_stage.hh.

Referenced by collectStatistics(), and initStatistics().

bool ExecStage::lastTimeInstExecuted
private

Definition at line 119 of file exec_stage.hh.

Referenced by collectStatistics().

Stats::Scalar ExecStage::numCyclesWithInstrIssued

Definition at line 82 of file exec_stage.hh.

Referenced by collectStatistics(), and regStats().

Stats::Vector ExecStage::numCyclesWithInstrTypeIssued

Definition at line 85 of file exec_stage.hh.

Referenced by collectStatistics(), and regStats().

Stats::Vector ExecStage::numCyclesWithNoInstrTypeIssued

Definition at line 89 of file exec_stage.hh.

Referenced by collectStatistics(), and regStats().

Stats::Scalar ExecStage::numCyclesWithNoIssue

Definition at line 80 of file exec_stage.hh.

Referenced by collectStatistics(), and regStats().

uint32_t ExecStage::numMemUnits
private

Definition at line 101 of file exec_stage.hh.

Referenced by exec(), and regStats().

uint32_t ExecStage::numSIMDs
private

Definition at line 97 of file exec_stage.hh.

Referenced by exec(), and regStats().

Stats::Scalar ExecStage::numTransActiveIdle
private

Definition at line 122 of file exec_stage.hh.

Referenced by collectStatistics(), ExecStage(), and regStats().

int* ExecStage::shrMemInstAvail
private

Definition at line 118 of file exec_stage.hh.

Referenced by collectStatistics(), and init().

Stats::Distribution ExecStage::spc

Definition at line 91 of file exec_stage.hh.

Referenced by collectStatistics(), and regStats().

bool ExecStage::thisTimeInstExecuted
private

Definition at line 120 of file exec_stage.hh.

Referenced by collectStatistics(), and initStatistics().

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

Definition at line 116 of file exec_stage.hh.

Referenced by collectStatistics(), and init().


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

Generated on Fri Jun 9 2017 13:04:10 for gem5 by doxygen 1.8.6