Go to the documentation of this file.
41 : numVectorALUs(
p.num_SIMDs), computeUnit(cu),
42 _name(cu.
name() +
".FetchStage"), stats(&cu)
76 safe_cast<ComputeUnit::SQCPort::SenderState*>(pkt->
senderState);
80 const unsigned num_instructions = pkt->
req->getSize() /
84 uint32_t simdId = wavefront->
simdId;
95 : statistics::
Group(parent,
"FetchStage"),
96 ADD_STAT(instFetchInstReturned,
"For each instruction fetch request "
97 "received record how many instructions you got from it")
std::vector< std::vector< Wavefront * > > wfList
void processFetchReturn(PacketPtr pkt)
RequestPtr req
A pointer to the original request.
FetchStage(const ComputeUnitParams &p, ComputeUnit &cu)
void fetch(PacketPtr pkt, Wavefront *wave)
void sample(const U &v, int n=1)
Add a value to the distribtion n times.
statistics::Distribution instFetchInstReturned
gem5::FetchStage::FetchStageStats stats
ComputeUnit & computeUnit
Distribution & init(Counter min, Counter max, Counter bkt)
Set the parameters of this distribution.
FetchStageStats(statistics::Group *parent)
#define ADD_STAT(n,...)
Convenience macro to add a stat to a statistics group.
A Packet is used to encapsulate a transfer between two objects in the memory system (e....
std::vector< FetchUnit > _fetchUnit
SenderState * senderState
This packet's sender state.
const std::string & name()
Reference material can be found at the JEDEC website: UFS standard http://www.jedec....
uint64_t RawMachInst
used to represnt a GPU inst in its raw format.
Generated on Sun Jul 30 2023 01:56:57 for gem5 by doxygen 1.8.17