80 const unsigned num_instructions = pkt->
req->getSize() /
81 sizeof(TheGpuISA::RawMachInst);
83 stats.instFetchInstReturned.sample(num_instructions);
84 uint32_t simdId = wavefront->
simdId;
97 "received record how many instructions you got from it")
void fetch(PacketPtr pkt, Wavefront *wave)
FetchStage(const ComputeUnitParams &p, ComputeUnit &cu)
std::vector< FetchUnit > _fetchUnit
const std::string & name() const
gem5::FetchStage::FetchStageStats stats
ComputeUnit & computeUnit
void processFetchReturn(PacketPtr pkt)
SenderState * senderState
This packet's sender state.
RequestPtr req
A pointer to the original request.
#define ADD_STAT(n,...)
Convenience macro to add a stat to a statistics group.
Copyright (c) 2024 Arm Limited All rights reserved.
T safe_cast(U &&ref_or_ptr)
statistics::Distribution instFetchInstReturned
FetchStageStats(statistics::Group *parent)