|
gem5
v21.0.1.0
|
#include <exec_stage.hh>
Classes | |
| struct | ExecStageStats |
Public Member Functions | |
| ExecStage (const ComputeUnitParams &p, ComputeUnit &cu, ScheduleToExecute &from_schedule) | |
| ~ExecStage () | |
| void | init () |
| void | exec () |
| std::string | dispStatusToStr (int j) |
| void | dumpDispList () |
| const std::string & | name () const |
Protected Attributes | |
| ExecStage::ExecStageStats | stats |
Private Member Functions | |
| void | collectStatistics (enum STAT_STATUS stage, int unitId) |
| void | initStatistics () |
Private Attributes | |
| ComputeUnit & | computeUnit |
| ScheduleToExecute & | fromSchedule |
| bool | lastTimeInstExecuted |
| bool | thisTimeInstExecuted |
| bool | instrExecuted |
| int | executionResourcesUsed |
| uint64_t | idle_dur |
| const std::string | _name |
Definition at line 72 of file exec_stage.hh.
| ExecStage::ExecStage | ( | const ComputeUnitParams & | p, |
| ComputeUnit & | cu, | ||
| ScheduleToExecute & | from_schedule | ||
| ) |
Definition at line 44 of file exec_stage.cc.
References idle_dur, ExecStage::ExecStageStats::numTransActiveIdle, and stats.
|
inline |
Definition at line 77 of file exec_stage.hh.
|
private |
Definition at line 64 of file exec_stage.cc.
References BusyExec, executionResourcesUsed, idle_dur, ExecStage::ExecStageStats::idleDur, IdleExec, instrExecuted, lastTimeInstExecuted, ExecStage::ExecStageStats::numCyclesWithInstrIssued, ExecStage::ExecStageStats::numCyclesWithInstrTypeIssued, ExecStage::ExecStageStats::numCyclesWithNoInstrTypeIssued, ExecStage::ExecStageStats::numCyclesWithNoIssue, ExecStage::ExecStageStats::numTransActiveIdle, PostExec, Stats::DistBase< Derived, Stor >::sample(), ExecStage::ExecStageStats::spc, stats, and thisTimeInstExecuted.
Referenced by exec().
| std::string ExecStage::dispStatusToStr | ( | int | j | ) |
Definition at line 110 of file exec_stage.cc.
References EMPTY, EXREADY, ArmISA::i, ArmISA::s, and SKIP.
Referenced by dumpDispList().
| void ExecStage::dumpDispList | ( | ) |
Definition at line 128 of file exec_stage.cc.
References computeUnit, ScheduleToExecute::dispatchStatus(), dispStatusToStr(), DPRINTF, EMPTY, fromSchedule, ArmISA::i, Wavefront::instructionBuffer, ComputeUnit::numExeUnits(), ScheduleToExecute::readyInst(), ArmISA::s, Wavefront::simdId, ArmISA::ss, and Wavefront::wfDynId.
Referenced by exec().
| void ExecStage::exec | ( | ) |
Definition at line 151 of file exec_stage.cc.
References BusyExec, collectStatistics(), computeUnit, ScheduleToExecute::dispatchStatus(), ScheduleToExecute::dispatchTransition(), DPRINTF, dumpDispList(), EMPTY, Wavefront::exec(), EXREADY, Wavefront::freeResources(), fromSchedule, IdleExec, initStatistics(), ComputeUnit::numExeUnits(), panic, PostExec, ScheduleToExecute::readyInst(), ArmISA::s, ComputeUnit::scheduleStage, Wavefront::simdId, SKIP, and Wavefront::wfDynId.
Referenced by ComputeUnit::exec().
| void ExecStage::init | ( | ) |
Definition at line 58 of file exec_stage.cc.
References idle_dur.
Referenced by ComputeUnit::init().
|
private |
Definition at line 102 of file exec_stage.cc.
References executionResourcesUsed, instrExecuted, and thisTimeInstExecuted.
Referenced by exec().
|
inline |
Definition at line 84 of file exec_stage.hh.
References _name.
|
private |
Definition at line 97 of file exec_stage.hh.
Referenced by name().
|
private |
Definition at line 89 of file exec_stage.hh.
Referenced by dumpDispList(), and exec().
|
private |
Definition at line 95 of file exec_stage.hh.
Referenced by collectStatistics(), and initStatistics().
|
private |
Definition at line 90 of file exec_stage.hh.
Referenced by dumpDispList(), and exec().
|
private |
Definition at line 96 of file exec_stage.hh.
Referenced by collectStatistics(), ExecStage(), and init().
|
private |
Definition at line 94 of file exec_stage.hh.
Referenced by collectStatistics(), and initStatistics().
|
private |
Definition at line 92 of file exec_stage.hh.
Referenced by collectStatistics().
|
protected |
Referenced by collectStatistics(), and ExecStage().
|
private |
Definition at line 93 of file exec_stage.hh.
Referenced by collectStatistics(), and initStatistics().