summaryrefslogtreecommitdiff
path: root/src/cpu/minor/stats.hh
diff options
context:
space:
mode:
authorMitch Hayenga <mitch.hayenga@arm.com>2016-04-05 08:08:12 -0500
committerMitch Hayenga <mitch.hayenga@arm.com>2016-04-05 08:08:12 -0500
commit85dadcd38133252652686b92c52cc6a38c90331c (patch)
tree8c87dfd7f98a7825af1f07e7a615b89fa7620b8f /src/cpu/minor/stats.hh
parent774350b750a3d34ed55f0846d0cd8f8fc4b3897d (diff)
downloadgem5-85dadcd38133252652686b92c52cc6a38c90331c.tar.xz
cpu: Add instruction opclass histogram to minor
Diffstat (limited to 'src/cpu/minor/stats.hh')
-rw-r--r--src/cpu/minor/stats.hh3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/cpu/minor/stats.hh b/src/cpu/minor/stats.hh
index dc246304d..c2f7e5f6d 100644
--- a/src/cpu/minor/stats.hh
+++ b/src/cpu/minor/stats.hh
@@ -76,6 +76,9 @@ class MinorStats
Stats::Formula cpi;
Stats::Formula ipc;
+ /** Number of instructions by type (OpClass) */
+ Stats::Vector2d committedInstType;
+
public:
MinorStats();