projects
/
gem5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f69ea20
)
stats: fix text printout for distributions
author
Nathan Binkert
<nate@binkert.org>
Mon, 23 Feb 2009 20:04:50 +0000
(12:04 -0800)
committer
Nathan Binkert
<nate@binkert.org>
Mon, 23 Feb 2009 20:04:50 +0000
(12:04 -0800)
src/base/stats/text.cc
patch
|
blob
|
history
diff --git
a/src/base/stats/text.cc
b/src/base/stats/text.cc
index 84336f5e4f4df3463fa370e3c079803def50a1d9..00efd977be3989e22be88daa91ad75ba245d95e3 100644
(file)
--- a/
src/base/stats/text.cc
+++ b/
src/base/stats/text.cc
@@
-450,7
+450,7
@@
DistPrint::operator()(ostream &stream) const
if (!compat) {
for (off_type i = 0; i < size; ++i) {
stringstream namestr;
- namestr <<
nam
e;
+ namestr <<
bas
e;
Counter low = i * bucket_size + min;
Counter high = ::min(low + bucket_size, max);