stats: fix text printout for distributions

This commit is contained in:
Nathan Binkert 2009-02-23 12:04:50 -08:00
parent f69ea20fc6
commit d940a2b741

View file

@ -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);