From: Nathan Binkert Date: Mon, 23 Feb 2009 20:04:50 +0000 (-0800) Subject: stats: fix text printout for distributions X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=d940a2b74180221dd32ad43d07b099a024f6b52e;p=gem5.git stats: fix text printout for distributions --- 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);