diff options
author | Curtis Dunham <Curtis.Dunham@arm.com> | 2014-05-09 18:58:47 -0400 |
---|---|---|
committer | Curtis Dunham <Curtis.Dunham@arm.com> | 2014-05-09 18:58:47 -0400 |
commit | 1028c03320c6c7822b8f5a32da2297c1be2d1487 (patch) | |
tree | 1b1688d2b4fbc9e5009af54a200243805169d820 /src/cpu/o3/commit.hh | |
parent | a15b713cba52d9d4d2c1204fef050fb3856ca33e (diff) | |
download | gem5-1028c03320c6c7822b8f5a32da2297c1be2d1487.tar.xz |
cpu: add more instruction mix statistics
For the o3, add instruction mix (OpClass) histogram at commit (stats
also already collected at issue). For the simple CPUs we add a
histogram of executed instructions
Diffstat (limited to 'src/cpu/o3/commit.hh')
-rw-r--r-- | src/cpu/o3/commit.hh | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/cpu/o3/commit.hh b/src/cpu/o3/commit.hh index cd663e2df..ba594a2d2 100644 --- a/src/cpu/o3/commit.hh +++ b/src/cpu/o3/commit.hh @@ -532,6 +532,8 @@ class DefaultCommit Stats::Vector statComInteger; /** Total number of function calls */ Stats::Vector statComFunctionCalls; + /** Committed instructions by instruction type (OpClass) */ + Stats::Vector2d statCommittedInstType; /** Number of cycles where the commit bandwidth limit is reached. */ Stats::Scalar commitEligibleSamples; |