From: Kevin Lim Date: Thu, 1 Jun 2006 19:39:45 +0000 (-0400) Subject: Fix stat bug. X-Git-Tag: m5_2.0_beta1~36^2~108^2~1 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=51ed3c3fd9f91a686bf87256c966991e6c57c1ff;p=gem5.git Fix stat bug. --HG-- extra : convert_revision : 3e4df934478de1ef6a84f193d9ef722157ac6baf --- 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::commitInsts() numCommittedDist.sample(num_committed); if (num_committed == commitWidth) { - commitEligibleSamples[0]++; + commitEligibleSamples++; } }