83 const unsigned num_instructions = pkt->
req->
getSize() /
87 uint32_t simdId = wavefront->simdId;
88 fetchUnit[simdId].processFetchReturn(pkt);
102 .
name(
name() +
".inst_fetch_instr_returned")
103 .
desc(
"For each instruction fetch request recieved record how many "
104 "instructions you got from it")
void fetch(PacketPtr pkt, Wavefront *wave)
FetchStage(const ComputeUnitParams *params)
std::vector< std::vector< Wavefront * > > wfList
Stats::Distribution instFetchInstReturned
void processFetchReturn(PacketPtr pkt)
const RequestPtr req
A pointer to the original request.
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
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.