Go to the documentation of this file.
40 : numVectorALUs(
p.num_SIMDs), computeUnit(cu),
41 _name(cu.
name() +
".FetchStage"), stats(&cu)
75 safe_cast<ComputeUnit::SQCPort::SenderState*>(pkt->
senderState);
79 const unsigned num_instructions = pkt->
req->getSize() /
83 uint32_t simdId = wavefront->
simdId;
94 :
Stats::Group(parent,
"FetchStage"),
95 ADD_STAT(instFetchInstReturned,
"For each instruction fetch request "
96 "received record how many instructions you got from it")
FetchStage(const ComputeUnitParams &p, ComputeUnit &cu)
Stats::Distribution instFetchInstReturned
FetchStage::FetchStageStats stats
RequestPtr req
A pointer to the original request.
#define ADD_STAT(n,...)
Convenience macro to add a stat to a statistics group.
std::vector< std::vector< Wavefront * > > wfList
std::vector< FetchUnit > _fetchUnit
const std::string & name()
Distribution & init(Counter min, Counter max, Counter bkt)
Set the parameters of this distribution.
ComputeUnit & computeUnit
A Packet is used to encapsulate a transfer between two objects in the memory system (e....
FetchStageStats(Stats::Group *parent)
void sample(const U &v, int n=1)
Add a value to the distribtion n times.
void fetch(PacketPtr pkt, Wavefront *wave)
void processFetchReturn(PacketPtr pkt)
uint64_t RawMachInst
used to represnt a GPU inst in its raw format.
SenderState * senderState
This packet's sender state.
Generated on Tue Mar 23 2021 19:41:27 for gem5 by doxygen 1.8.17