Review Board 2.0.15


cpu: o3: record cpi stacks

Review Request #2680 - Created March 4, 2015 and discarded - Latest diff uploaded

Information
Nilay Vaish
gem5
default
Reviewers
Default
Changeset 10735:c8c9b6d902cb
---------------------------
cpu: o3: record cpi stacks

This patch labels each empty slot of the commit width every cycle using four
different types of delays: misprediction, fetch, memory and execution.  For
memory delays, we check if a memory reference instruction is at the head of the
rob.  Otherwise, we label the slot as execution delayed.  If the rob is empty,
we assume the reason for the vacancy to be delay in fetching the instuction.
Lastly, if the cpu is squashing instructions, then we assume that slots are
going vacant because of misprediction.