summaryrefslogtreecommitdiff
path: root/src/cpu/o3/commit_impl.hh
diff options
context:
space:
mode:
authorNilay Vaish <nilay@cs.wisc.edu>2015-03-09 09:39:08 -0500
committerNilay Vaish <nilay@cs.wisc.edu>2015-03-09 09:39:08 -0500
commit53de2512b1bb3179912a3d592cc281b475b9f881 (patch)
tree59ad217666542be3654a405643b7cc2fdaf99139 /src/cpu/o3/commit_impl.hh
parent54bc67f6190e691ad2978b7fe3f9582695767f93 (diff)
downloadgem5-53de2512b1bb3179912a3d592cc281b475b9f881.tar.xz
cpu: o3: remove unused stat variables.
Diffstat (limited to 'src/cpu/o3/commit_impl.hh')
-rw-r--r--src/cpu/o3/commit_impl.hh16
1 files changed, 4 insertions, 12 deletions
diff --git a/src/cpu/o3/commit_impl.hh b/src/cpu/o3/commit_impl.hh
index a62c5f260..cd53def3c 100644
--- a/src/cpu/o3/commit_impl.hh
+++ b/src/cpu/o3/commit_impl.hh
@@ -184,19 +184,18 @@ DefaultCommit<Impl>::regStats()
.name(name() + ".commitSquashedInsts")
.desc("The number of squashed insts skipped by commit")
.prereq(commitSquashedInsts);
- commitSquashEvents
- .name(name() + ".commitSquashEvents")
- .desc("The number of times commit is told to squash")
- .prereq(commitSquashEvents);
+
commitNonSpecStalls
.name(name() + ".commitNonSpecStalls")
.desc("The number of times commit has been forced to stall to "
"communicate backwards")
.prereq(commitNonSpecStalls);
+
branchMispredicts
.name(name() + ".branchMispredicts")
.desc("The number of times a branch was mispredicted")
.prereq(branchMispredicts);
+
numCommittedDist
.init(0,commitWidth,1)
.name(name() + ".committed_per_cycle")
@@ -282,13 +281,6 @@ DefaultCommit<Impl>::regStats()
;
statCommittedInstType.ysubnames(Enums::OpClassStrings);
- commitEligible
- .init(cpu->numThreads)
- .name(name() + ".bw_limited")
- .desc("number of insts not committed due to BW limits")
- .flags(total)
- ;
-
commitEligibleSamples
.name(name() + ".bw_lim_events")
.desc("number cycles where commit BW limit reached")
@@ -994,7 +986,7 @@ DefaultCommit<Impl>::commitInsts()
if (interrupt != NoFault)
handleInterrupt();
- int commit_thread = getCommittingThread();
+ ThreadID commit_thread = getCommittingThread();
if (commit_thread == -1 || !rob->isHeadReady(commit_thread))
break;