Fix stat bug.
authorKevin Lim <ktlim@umich.edu>
Thu, 1 Jun 2006 19:39:45 +0000 (15:39 -0400)
committerKevin Lim <ktlim@umich.edu>
Thu, 1 Jun 2006 19:39:45 +0000 (15:39 -0400)
--HG--
extra : convert_revision : 3e4df934478de1ef6a84f193d9ef722157ac6baf

cpu/o3/commit_impl.hh

index 9409697eb13c34baa8c5c77230577dda26387d13..798f302942d8fe620b045f906e51d25fa4a84dc8 100644 (file)
@@ -925,7 +925,7 @@ DefaultCommit<Impl>::commitInsts()
     numCommittedDist.sample(num_committed);
 
     if (num_committed == commitWidth) {
-        commitEligibleSamples[0]++;
+        commitEligibleSamples++;
     }
 }