summaryrefslogtreecommitdiff
path: root/src/cpu/inorder/first_stage.cc
diff options
context:
space:
mode:
authorKorey Sewell <ksewell@umich.edu>2010-01-31 18:30:24 -0500
committerKorey Sewell <ksewell@umich.edu>2010-01-31 18:30:24 -0500
commitea8909925fd0e7a33feabc9e17f83b85cd7c6039 (patch)
tree8e73a1913dffbafc48831781e075fb573c1adbbb /src/cpu/inorder/first_stage.cc
parentf3bc2df663cccd7db7a4ba87acfc2d0137a5ca02 (diff)
downloadgem5-ea8909925fd0e7a33feabc9e17f83b85cd7c6039.tar.xz
inorder: add activity stats
Diffstat (limited to 'src/cpu/inorder/first_stage.cc')
-rw-r--r--src/cpu/inorder/first_stage.cc4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/cpu/inorder/first_stage.cc b/src/cpu/inorder/first_stage.cc
index c653d152b..658ce37d3 100644
--- a/src/cpu/inorder/first_stage.cc
+++ b/src/cpu/inorder/first_stage.cc
@@ -133,8 +133,10 @@ FirstStage::processStage(bool &status_change)
if (instsProcessed > 0) {
++runCycles;
+ idle = false;
} else {
- ++idleCycles;
+ ++idleCycles;
+ idle = true;
}
}