81 const unsigned num_instructions = pkt->
req->getSize() /
85 uint32_t simdId = wavefront->simdId;
86 fetchUnit[simdId].processFetchReturn(pkt);
100 .
name(
name() +
".inst_fetch_instr_returned")
101 .
desc(
"For each instruction fetch request recieved record how many " 102 "instructions you got from it")
void fetch(PacketPtr pkt, Wavefront *wave)
FetchStage(const ComputeUnitParams *params)
std::vector< std::vector< Wavefront * > > wfList
RequestPtr req
A pointer to the original request.
Stats::Distribution instFetchInstReturned
void processFetchReturn(PacketPtr pkt)
Distribution & init(Counter min, Counter max, Counter bkt)
Set the parameters of this distribution.
A Packet is used to encapsulate a transfer between two objects in the memory system (e...
Derived & name(const std::string &name)
Set the name and marks this stat to print at the end of simulation.
virtual const std::string name() const
ComputeUnit * computeUnit
SenderState * senderState
This packet's sender state.
void init(ComputeUnit *cu)
std::vector< FetchUnit > fetchUnit
uint64_t RawMachInst
used to represnt a GPU inst in its raw format.
Derived & desc(const std::string &_desc)
Set the description and marks this stat to print at the end of simulation.
void sample(const U &v, int n=1)
Add a value to the distribtion n times.