|
gem5
v21.2.1.1
|
#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 | |
| gem5::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 73 of file exec_stage.hh.
| gem5::ExecStage::ExecStage | ( | const ComputeUnitParams & | p, |
| ComputeUnit & | cu, | ||
| ScheduleToExecute & | from_schedule | ||
| ) |
Definition at line 45 of file exec_stage.cc.
References idle_dur, gem5::ExecStage::ExecStageStats::numTransActiveIdle, and stats.
|
inline |
Definition at line 78 of file exec_stage.hh.
|
private |
Definition at line 65 of file exec_stage.cc.
References gem5::BusyExec, executionResourcesUsed, idle_dur, gem5::ExecStage::ExecStageStats::idleDur, gem5::IdleExec, instrExecuted, lastTimeInstExecuted, gem5::ExecStage::ExecStageStats::numCyclesWithInstrIssued, gem5::ExecStage::ExecStageStats::numCyclesWithInstrTypeIssued, gem5::ExecStage::ExecStageStats::numCyclesWithNoInstrTypeIssued, gem5::ExecStage::ExecStageStats::numCyclesWithNoIssue, gem5::ExecStage::ExecStageStats::numTransActiveIdle, gem5::PostExec, gem5::statistics::DistBase< Derived, Stor >::sample(), gem5::ExecStage::ExecStageStats::spc, stats, and thisTimeInstExecuted.
Referenced by exec().
| std::string gem5::ExecStage::dispStatusToStr | ( | int | j | ) |
Definition at line 111 of file exec_stage.cc.
References gem5::EMPTY, gem5::EXREADY, gem5::ArmISA::i, gem5::ArmISA::s, and gem5::SKIP.
Referenced by dumpDispList().
| void gem5::ExecStage::dumpDispList | ( | ) |
Definition at line 129 of file exec_stage.cc.
References computeUnit, gem5::ScheduleToExecute::dispatchStatus(), dispStatusToStr(), DPRINTF, gem5::EMPTY, fromSchedule, gem5::ArmISA::i, gem5::Wavefront::instructionBuffer, gem5::ComputeUnit::numExeUnits(), gem5::ScheduleToExecute::readyInst(), gem5::ArmISA::s, gem5::Wavefront::simdId, ss, and gem5::Wavefront::wfDynId.
Referenced by exec().
| void gem5::ExecStage::exec | ( | ) |
Definition at line 152 of file exec_stage.cc.
References gem5::BusyExec, collectStatistics(), computeUnit, gem5::ScheduleToExecute::dispatchStatus(), gem5::ScheduleToExecute::dispatchTransition(), DPRINTF, dumpDispList(), gem5::EMPTY, gem5::Wavefront::exec(), gem5::EXREADY, gem5::Wavefront::freeResources(), fromSchedule, gem5::IdleExec, initStatistics(), gem5::ComputeUnit::numExeUnits(), panic, gem5::PostExec, gem5::ScheduleToExecute::readyInst(), gem5::ArmISA::s, gem5::ComputeUnit::scheduleStage, gem5::Wavefront::simdId, gem5::SKIP, and gem5::Wavefront::wfDynId.
Referenced by gem5::ComputeUnit::exec().
| void gem5::ExecStage::init | ( | ) |
Definition at line 59 of file exec_stage.cc.
References idle_dur.
Referenced by gem5::ComputeUnit::init().
|
private |
Definition at line 103 of file exec_stage.cc.
References executionResourcesUsed, instrExecuted, and thisTimeInstExecuted.
Referenced by exec().
|
inline |
Definition at line 85 of file exec_stage.hh.
References _name.
|
private |
Definition at line 98 of file exec_stage.hh.
Referenced by name().
|
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(), and initStatistics().
|
private |
Definition at line 91 of file exec_stage.hh.
Referenced by dumpDispList(), and exec().
|
private |
Definition at line 97 of file exec_stage.hh.
Referenced by collectStatistics(), ExecStage(), and init().
|
private |
Definition at line 95 of file exec_stage.hh.
Referenced by collectStatistics(), and initStatistics().
|
private |
Definition at line 93 of file exec_stage.hh.
Referenced by collectStatistics().
|
protected |
Referenced by collectStatistics(), and ExecStage().
|
private |
Definition at line 94 of file exec_stage.hh.
Referenced by collectStatistics(), and initStatistics().