diff options
author | Korey Sewell <ksewell@umich.edu> | 2010-01-31 18:30:24 -0500 |
---|---|---|
committer | Korey Sewell <ksewell@umich.edu> | 2010-01-31 18:30:24 -0500 |
commit | ea8909925fd0e7a33feabc9e17f83b85cd7c6039 (patch) | |
tree | 8e73a1913dffbafc48831781e075fb573c1adbbb /src/cpu/inorder/first_stage.cc | |
parent | f3bc2df663cccd7db7a4ba87acfc2d0137a5ca02 (diff) | |
download | gem5-ea8909925fd0e7a33feabc9e17f83b85cd7c6039.tar.xz |
inorder: add activity stats
Diffstat (limited to 'src/cpu/inorder/first_stage.cc')
-rw-r--r-- | src/cpu/inorder/first_stage.cc | 4 |
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; } } |