summaryrefslogtreecommitdiff
path: root/src/base
diff options
context:
space:
mode:
authorNathan Binkert <nate@binkert.org>2009-05-13 07:18:03 -0700
committerNathan Binkert <nate@binkert.org>2009-05-13 07:18:03 -0700
commitcbf237897f8de0ae411b572aea896c5ce4ea26fb (patch)
tree73518d67f2cbb838d89971b8ec6578846a77d1d0 /src/base
parentcfa9c781000a7af6ed419cb7b3b3ea78f1933cfe (diff)
downloadgem5-cbf237897f8de0ae411b572aea896c5ce4ea26fb.tar.xz
stats: tidy up the Distribution type a little bit
Diffstat (limited to 'src/base')
-rw-r--r--src/base/statistics.hh4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/base/statistics.hh b/src/base/statistics.hh
index c74ac6577..45cd5186c 100644
--- a/src/base/statistics.hh
+++ b/src/base/statistics.hh
@@ -1388,8 +1388,8 @@ class DistStor
min_val = CounterLimits::max();
max_val = CounterLimits::min();
- underflow = 0;
- overflow = 0;
+ underflow = Counter();
+ overflow = Counter();
size_type size = cvec.size();
for (off_type i = 0; i < size; ++i)