summaryrefslogtreecommitdiff
path: root/src/base
diff options
context:
space:
mode:
authorNathan Binkert <nate@binkert.org>2009-02-23 12:04:50 -0800
committerNathan Binkert <nate@binkert.org>2009-02-23 12:04:50 -0800
commitd940a2b74180221dd32ad43d07b099a024f6b52e (patch)
tree912ec655b60aa6d3bc308d52d2acd5212e9edb8f /src/base
parentf69ea20fc64c240b9f97ce584716693aa9b79d58 (diff)
downloadgem5-d940a2b74180221dd32ad43d07b099a024f6b52e.tar.xz
stats: fix text printout for distributions
Diffstat (limited to 'src/base')
-rw-r--r--src/base/stats/text.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/base/stats/text.cc b/src/base/stats/text.cc
index 84336f5e4..00efd977b 100644
--- 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 << name;
+ namestr << base;
Counter low = i * bucket_size + min;
Counter high = ::min(low + bucket_size, max);