Add a virtual function resetStats() that any SimObject can inherit
authorNathan Binkert <binkertn@umich.edu>
Wed, 5 Nov 2003 23:21:18 +0000 (18:21 -0500)
committerNathan Binkert <binkertn@umich.edu>
Wed, 5 Nov 2003 23:21:18 +0000 (18:21 -0500)
commitb064b8a6fda1dd3f1bd174d742cc8e452f714efe
treedb54b441530115c9d1e20ebe929bb12de5252843
parent9471a4d20ffa98ae3f83edbe8cad1d282ab328af
Add a virtual function resetStats() that any SimObject can inherit
from that will get called any time stats are reset.

sim/sim_object.cc:
sim/sim_object.hh:
    add a virtual function resetStats that any simObject can reset
    when a statistics reset is initiated

--HG--
extra : convert_revision : fdad673142f6ff811f84c246d80e5d41e3c9d4d1
sim/sim_object.cc
sim/sim_object.hh