summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--cpu/o3/commit_impl.hh2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpu/o3/commit_impl.hh b/cpu/o3/commit_impl.hh
index 9409697eb..798f30294 100644
--- a/cpu/o3/commit_impl.hh
+++ b/cpu/o3/commit_impl.hh
@@ -925,7 +925,7 @@ DefaultCommit<Impl>::commitInsts()
numCommittedDist.sample(num_committed);
if (num_committed == commitWidth) {
- commitEligibleSamples[0]++;
+ commitEligibleSamples++;
}
}