projects
/
gem5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cfa9c78
)
stats: tidy up the Distribution type a little bit
author
Nathan Binkert
<nate@binkert.org>
Wed, 13 May 2009 14:18:03 +0000
(07:18 -0700)
committer
Nathan Binkert
<nate@binkert.org>
Wed, 13 May 2009 14:18:03 +0000
(07:18 -0700)
src/base/statistics.hh
patch
|
blob
|
history
diff --git
a/src/base/statistics.hh
b/src/base/statistics.hh
index c74ac6577fe284d0cb308bf1996a943a698aa0a9..45cd5186c7d927846786cf43705785ec564c2595 100644
(file)
--- 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)