diff options
author | David Guillen Fandos <david.guillen@arm.com> | 2016-06-16 11:45:11 +0100 |
---|---|---|
committer | Andreas Sandberg <andreas.sandberg@arm.com> | 2017-11-29 10:00:40 +0000 |
commit | 2209b35832d63e0367ef5f26e388a162899af21d (patch) | |
tree | 93f85aed946d3823d3e8935d621e835b171c8064 /src/cpu/minor/pipeline.cc | |
parent | 3f31abfbc84734dab86734c72bdca778575c26e5 (diff) | |
download | gem5-2209b35832d63e0367ef5f26e388a162899af21d.tar.xz |
cpu-minor: Add missing instruction stats
Change-Id: I811b552989caf3601ac65a128dbee6b7bb405d7f
Reviewed-by: Andreas Sandberg <andreas.sandberg@arm.com>
[ Updated to use IsVector instruction flag. ]
Signed-off-by: Andreas Sandberg <andreas.sandberg@arm.com>
Reviewed-on: https://gem5-review.googlesource.com/5732
Reviewed-by: Gabe Black <gabeblack@google.com>
Diffstat (limited to 'src/cpu/minor/pipeline.cc')
-rw-r--r-- | src/cpu/minor/pipeline.cc | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/cpu/minor/pipeline.cc b/src/cpu/minor/pipeline.cc index 08dc3db74..b5659ac0d 100644 --- a/src/cpu/minor/pipeline.cc +++ b/src/cpu/minor/pipeline.cc @@ -106,6 +106,14 @@ Pipeline::Pipeline(MinorCPU &cpu_, MinorCPUParams ¶ms) : } void +Pipeline::regStats() +{ + Ticked::regStats(); + + fetch2.regStats(); +} + +void Pipeline::minorTrace() const { fetch1.minorTrace(); |