Little fixes to make more of the stats reset correctly.
authorNathan Binkert <binkertn@umich.edu>
Thu, 6 Nov 2003 05:41:14 +0000 (00:41 -0500)
committerNathan Binkert <binkertn@umich.edu>
Thu, 6 Nov 2003 05:41:14 +0000 (00:41 -0500)
commit655e9ef3de65ce71f63fce23152de862994c38f3
tree2dcf58807391d686bf38a600aeffd2fc1c290bd0
parent22658f20987208463bd1f8c2ba88f59374dcca66
Little fixes to make more of the stats reset correctly.

base/statistics.cc:
    formatting
cpu/simple_cpu/simple_cpu.cc:
cpu/simple_cpu/simple_cpu.hh:
    Make numInsts reset by adding a resetStats function
sim/sim_object.cc:
    Register the reset callback in a slightly cleaner way to avoid
    potential static member constructor ordering issues

--HG--
extra : convert_revision : 408073b4b0397fbf9dfd9c548a313f1c8c3fc031
base/statistics.cc
cpu/simple_cpu/simple_cpu.cc
cpu/simple_cpu/simple_cpu.hh
sim/sim_object.cc