From: Nathan Binkert Date: Wed, 13 May 2009 14:18:03 +0000 (-0700) Subject: stats: tidy up the Distribution type a little bit X-Git-Tag: Calvin_Submission~304 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=cbf237897f8de0ae411b572aea896c5ce4ea26fb;p=gem5.git stats: tidy up the Distribution type a little bit --- 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)