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/cpu.hh | |
parent | f3bc2df663cccd7db7a4ba87acfc2d0137a5ca02 (diff) | |
download | gem5-ea8909925fd0e7a33feabc9e17f83b85cd7c6039.tar.xz |
inorder: add activity stats
Diffstat (limited to 'src/cpu/inorder/cpu.hh')
-rw-r--r-- | src/cpu/inorder/cpu.hh | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/cpu/inorder/cpu.hh b/src/cpu/inorder/cpu.hh index d8424397b..253b5b18f 100644 --- a/src/cpu/inorder/cpu.hh +++ b/src/cpu/inorder/cpu.hh @@ -729,9 +729,15 @@ class InOrderCPU : public BaseCPU /** Stat for total number of times the CPU is descheduled. */ Stats::Scalar timesIdled; - /** Stat for total number of cycles the CPU spends descheduled. */ + /** Stat for total number of cycles the CPU spends descheduled or no stages active. */ Stats::Scalar idleCycles; + /** Stat for total number of cycles the CPU is active. */ + Stats::Scalar runCycles; + + /** Percentage of cycles a stage was active */ + Stats::Formula activity; + /** Stat for the number of committed instructions per thread. */ Stats::Vector committedInsts; |