summaryrefslogtreecommitdiff
path: root/base/statistics.hh
diff options
context:
space:
mode:
authorNathan Binkert <binkertn@umich.edu>2003-11-05 21:17:13 -0500
committerNathan Binkert <binkertn@umich.edu>2003-11-05 21:17:13 -0500
commitf2881c752e29390dd99e5b685505494a72776f7e (patch)
tree989750c3e2715563daf4f5fd6d9c87013a965230 /base/statistics.hh
parentb064b8a6fda1dd3f1bd174d742cc8e452f714efe (diff)
downloadgem5-f2881c752e29390dd99e5b685505494a72776f7e.tar.xz
Ok, actually call resetStats on all stats
minor gratuitous cleanup in printAllExtraOutput. (only create one end iterator) Fix average stats reset base/statistics.hh: Shouldn't reset average stats this way. The current stat value should stay the same. sim/sim_object.cc: Ok, actually call resetStats on all stats minor gratuitous cleanup in printAllExtraOutput. (only create one end iterator) --HG-- extra : convert_revision : 13090ebe490a93757b8eb7d7c6a9697983095e41
Diffstat (limited to 'base/statistics.hh')
-rw-r--r--base/statistics.hh1
1 files changed, 0 insertions, 1 deletions
diff --git a/base/statistics.hh b/base/statistics.hh
index fc3252782..f71e24672 100644
--- a/base/statistics.hh
+++ b/base/statistics.hh
@@ -528,7 +528,6 @@ struct AvgStor
*/
void reset()
{
- current = T();
total = 0;
last = curTick;
}