diff options
author | Steve Reinhardt <stever@eecs.umich.edu> | 2003-10-23 18:53:16 -0700 |
---|---|---|
committer | Steve Reinhardt <stever@eecs.umich.edu> | 2003-10-23 18:53:16 -0700 |
commit | 73b050a541b1778596f9ebffa8a9f780446365c3 (patch) | |
tree | 840d398cdd4d5e70082d45b9d464e21d909ed177 /base | |
parent | 21c7ee1e3ef10cc1ace8d6f29f41c18358b8c0f4 (diff) | |
download | gem5-73b050a541b1778596f9ebffa8a9f780446365c3.tar.xz |
Minor stats fix.
base/statistics.cc:
Small fix: don't exit early out of dist when nozero is set and a zero val is found.
--HG--
extra : convert_revision : 95ba3328c8a79f05f4c821d99071dba10f013ad6
Diffstat (limited to 'base')
-rw-r--r-- | base/statistics.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/base/statistics.cc b/base/statistics.cc index 6593451c4..cde98d861 100644 --- a/base/statistics.cc +++ b/base/statistics.cc @@ -846,7 +846,7 @@ DistDisplay(ostream &stream, const string &name, const string &desc, for (int i = 0; i < size; ++i) { if (flags & nozero && vec[i] == 0.0 || flags & nonan && isnan(vec[i])) - return; + continue; _min = i * bucket_size + min; _pdf = vec[i] / total * 100.0; |