summaryrefslogtreecommitdiff
path: root/src/cpu/minor/pipeline.cc
diff options
context:
space:
mode:
authorDavid Guillen Fandos <david.guillen@arm.com>2016-06-16 11:45:11 +0100
committerAndreas Sandberg <andreas.sandberg@arm.com>2017-11-29 10:00:40 +0000
commit2209b35832d63e0367ef5f26e388a162899af21d (patch)
tree93f85aed946d3823d3e8935d621e835b171c8064 /src/cpu/minor/pipeline.cc
parent3f31abfbc84734dab86734c72bdca778575c26e5 (diff)
downloadgem5-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.cc8
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 &params) :
}
void
+Pipeline::regStats()
+{
+ Ticked::regStats();
+
+ fetch2.regStats();
+}
+
+void
Pipeline::minorTrace() const
{
fetch1.minorTrace();