diff options
author | Lisa Hsu <Lisa.Hsu@amd.com> | 2010-06-03 11:06:12 -0700 |
---|---|---|
committer | Lisa Hsu <Lisa.Hsu@amd.com> | 2010-06-03 11:06:12 -0700 |
commit | 4a3ce94386da669e82e1fd32fb201e2c9385938e (patch) | |
tree | 3e616122889bf7fe3d85e00a3a117c8b4f2b0934 /src/base/stats | |
parent | aeb6e2e3ec920f8590f36bdb33c03c2968ab5dde (diff) | |
download | gem5-4a3ce94386da669e82e1fd32fb201e2c9385938e.tar.xz |
Stats: fix dist stat and enable VectorDistStat
Diffstat (limited to 'src/base/stats')
-rw-r--r-- | src/base/stats/text.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/base/stats/text.cc b/src/base/stats/text.cc index 10983506f..090ddff7d 100644 --- a/src/base/stats/text.cc +++ b/src/base/stats/text.cc @@ -412,7 +412,7 @@ DistPrint::operator()(ostream &stream) const namestr << base; Counter low = i * bucket_size + min; - Counter high = ::min(low + bucket_size, max); + Counter high = ::min(low + bucket_size - 1.0, max); namestr << low; if (low < high) namestr << "-" << high; |