41 : numVectorALUs(
p.num_SIMDs), computeUnit(cu),
42 _name(cu.
name() +
".FetchStage"), stats(&cu)
80 const unsigned num_instructions = pkt->
req->getSize() /
81 sizeof(TheGpuISA::RawMachInst);
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 fetch(PacketPtr pkt, Wavefront *wave)
FetchStage(const ComputeUnitParams &p, ComputeUnit &cu)
std::vector< FetchUnit > _fetchUnit
gem5::FetchStage::FetchStageStats stats
ComputeUnit & computeUnit
void processFetchReturn(PacketPtr pkt)
A Packet is used to encapsulate a transfer between two objects in the memory system (e....
SenderState * senderState
This packet's sender state.
RequestPtr req
A pointer to the original request.
void sample(const U &v, int n=1)
Add a value to the distribtion n times.
Distribution & init(Counter min, Counter max, Counter bkt)
Set the parameters of this distribution.
#define ADD_STAT(n,...)
Convenience macro to add a stat to a statistics group.
Copyright (c) 2024 - Pranith Kumar Copyright (c) 2020 Inria All rights reserved.
T safe_cast(U &&ref_or_ptr)
statistics::Distribution instFetchInstReturned
FetchStageStats(statistics::Group *parent)
const std::string & name()