gem5
|
#include <fetch_stage.hh>
Public Member Functions | |
FetchStage (const ComputeUnitParams *params) | |
~FetchStage () | |
void | init (ComputeUnit *cu) |
void | exec () |
void | processFetchReturn (PacketPtr pkt) |
void | fetch (PacketPtr pkt, Wavefront *wave) |
std::string | name () |
void | regStats () |
Public Attributes | |
Stats::Distribution | instFetchInstReturned |
Private Attributes | |
uint32_t | numSIMDs |
ComputeUnit * | computeUnit |
std::vector< FetchUnit > | fetchUnit |
std::string | _name |
Definition at line 53 of file fetch_stage.hh.
FetchStage::FetchStage | ( | const ComputeUnitParams * | params | ) |
Definition at line 41 of file fetch_stage.cc.
FetchStage::~FetchStage | ( | ) |
Definition at line 50 of file fetch_stage.cc.
References fetchUnit.
void FetchStage::exec | ( | ) |
Definition at line 68 of file fetch_stage.cc.
References fetchUnit, ArmISA::j, and numSIMDs.
Referenced by ComputeUnit::exec().
Definition at line 92 of file fetch_stage.cc.
References fetchUnit, and Wavefront::simdId.
void FetchStage::init | ( | ComputeUnit * | cu | ) |
Definition at line 56 of file fetch_stage.cc.
References _name, computeUnit, fetchUnit, ArmISA::j, SimObject::name(), numSIMDs, and ComputeUnit::wfList.
Referenced by ComputeUnit::init().
|
inline |
void FetchStage::processFetchReturn | ( | PacketPtr | pkt | ) |
Definition at line 76 of file fetch_stage.cc.
References fetchUnit, Request::getSize(), instFetchInstReturned, Packet::req, safe_cast(), Stats::DistBase< Derived, Stor >::sample(), Packet::senderState, and ComputeUnit::SQCPort::SenderState::wavefront.
void FetchStage::regStats | ( | ) |
Definition at line 98 of file fetch_stage.cc.
References Stats::DataWrap< Derived, InfoProxyType >::desc(), Stats::Distribution::init(), instFetchInstReturned, name(), and Stats::DataWrap< Derived, InfoProxyType >::name().
Referenced by ComputeUnit::regStats().
|
private |
Definition at line 75 of file fetch_stage.hh.
|
private |
Definition at line 70 of file fetch_stage.hh.
Referenced by init().
|
private |
Definition at line 74 of file fetch_stage.hh.
Referenced by exec(), fetch(), FetchStage(), init(), processFetchReturn(), and ~FetchStage().
Stats::Distribution FetchStage::instFetchInstReturned |
Definition at line 66 of file fetch_stage.hh.
Referenced by processFetchReturn(), and regStats().
|
private |
Definition at line 69 of file fetch_stage.hh.
Referenced by exec(), FetchStage(), and init().