summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKevin Lim <ktlim@umich.edu>2006-06-01 15:39:45 -0400
committerKevin Lim <ktlim@umich.edu>2006-06-01 15:39:45 -0400
commit51ed3c3fd9f91a686bf87256c966991e6c57c1ff (patch)
tree5100dc143bd8559f46e40be745f033757418efb5
parenta514bf21508f4398f5cf7322f5f2a1ed212bbcaa (diff)
downloadgem5-51ed3c3fd9f91a686bf87256c966991e6c57c1ff.tar.xz
Fix stat bug.
--HG-- extra : convert_revision : 3e4df934478de1ef6a84f193d9ef722157ac6baf
-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++;
}
}