summaryrefslogtreecommitdiff
path: root/src/cpu/o3/cpu.hh
diff options
context:
space:
mode:
authorAli Saidi <Ali.Saidi@ARM.com>2011-12-01 00:15:22 -0800
committerAli Saidi <Ali.Saidi@ARM.com>2011-12-01 00:15:22 -0800
commit14441039988265b4cb64679fcae0ddb41f1f5e32 (patch)
tree977b1e89470d4f09ddf02e02188842e5e3b390c6 /src/cpu/o3/cpu.hh
parent93fb460faded99c640ff0d7273611932a9ebc46c (diff)
downloadgem5-14441039988265b4cb64679fcae0ddb41f1f5e32.tar.xz
O3: Add stat that counts how many cycles the O3 cpu was quiesced.
--HG-- extra : rebase_source : 043b9307eef3c5b87f8e6370765641e016ed1fa7
Diffstat (limited to 'src/cpu/o3/cpu.hh')
-rw-r--r--src/cpu/o3/cpu.hh3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/cpu/o3/cpu.hh b/src/cpu/o3/cpu.hh
index dd9f5d40f..b2606c1e2 100644
--- a/src/cpu/o3/cpu.hh
+++ b/src/cpu/o3/cpu.hh
@@ -720,6 +720,9 @@ class FullO3CPU : public BaseO3CPU
Stats::Scalar timesIdled;
/** Stat for total number of cycles the CPU spends descheduled. */
Stats::Scalar idleCycles;
+ /** Stat for total number of cycles the CPU spends descheduled due to a
+ * quiesce operation or waiting for an interrupt. */
+ Stats::Scalar quiesceCycles;
/** Stat for the number of committed instructions per thread. */
Stats::Vector committedInsts;
/** Stat for the total number of committed instructions. */