|
gem5 [DEVELOP-FOR-25.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 | |
| 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 _name, computeUnit, executionResourcesUsed, fromSchedule, idle_dur, instrExecuted, lastTimeInstExecuted, name(), gem5::MipsISA::p, stats, and thisTimeInstExecuted.
|
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::IdleExec, instrExecuted, lastTimeInstExecuted, gem5::PostExec, 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, dispStatusToStr(), DPRINTF, gem5::EMPTY, fromSchedule, gem5::ArmISA::i, gem5::Wavefront::instructionBuffer, gem5::ArmISA::s, gem5::Wavefront::simdId, gem5::ArmISA::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, DPRINTF, dumpDispList(), gem5::EMPTY, gem5::Wavefront::exec(), gem5::EXREADY, gem5::Wavefront::freeResources(), fromSchedule, gem5::IdleExec, initStatistics(), panic, gem5::PostExec, gem5::ArmISA::s, gem5::Wavefront::simdId, gem5::SKIP, and gem5::Wavefront::wfDynId.
| void gem5::ExecStage::init | ( | ) |
Definition at line 59 of file exec_stage.cc.
References idle_dur.
|
private |
Definition at line 103 of file exec_stage.cc.
References executionResourcesUsed, instrExecuted, and thisTimeInstExecuted.
Referenced by exec().
|
inline |
|
private |
Definition at line 98 of file exec_stage.hh.
Referenced by ExecStage(), and name().
|
private |
Definition at line 90 of file exec_stage.hh.
Referenced by dumpDispList(), exec(), and ExecStage().
|
private |
Definition at line 96 of file exec_stage.hh.
Referenced by collectStatistics(), ExecStage(), and initStatistics().
|
private |
Definition at line 91 of file exec_stage.hh.
Referenced by dumpDispList(), exec(), and ExecStage().
|
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(), ExecStage(), and initStatistics().
|
private |
Definition at line 93 of file exec_stage.hh.
Referenced by collectStatistics(), and ExecStage().
|
protected |
Referenced by collectStatistics(), and ExecStage().
|
private |
Definition at line 94 of file exec_stage.hh.
Referenced by collectStatistics(), ExecStage(), and initStatistics().