stats: tidy up the Distribution type a little bit
authorNathan Binkert <nate@binkert.org>
Wed, 13 May 2009 14:18:03 +0000 (07:18 -0700)
committerNathan Binkert <nate@binkert.org>
Wed, 13 May 2009 14:18:03 +0000 (07:18 -0700)
src/base/statistics.hh

index c74ac6577fe284d0cb308bf1996a943a698aa0a9..45cd5186c7d927846786cf43705785ec564c2595 100644 (file)
@@ -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)