summaryrefslogtreecommitdiff
path: root/base/stats
diff options
context:
space:
mode:
authorLisa Hsu <hsul@eecs.umich.edu>2004-05-17 13:22:19 -0400
committerLisa Hsu <hsul@eecs.umich.edu>2004-05-17 13:22:19 -0400
commit73501ea38f3c3e53fc02561444e25989c29224af (patch)
tree74240b07ca147babd7fcee1e77a31a8155ef5171 /base/stats
parent5d959ce32eea89044519b56fa65f2537bf4e1c07 (diff)
downloadgem5-73501ea38f3c3e53fc02561444e25989c29224af.tar.xz
push the new system_events file that i was prevented from pushing way back when cable died. :(. also, fix the printing of binned stats, it was printing hex values instead of bin names.
base/stats/text.cc: fix the printing of binned stats. --HG-- extra : convert_revision : 3a04d004f5ea1d90536f7102fce946fd6dd34613
Diffstat (limited to 'base/stats')
-rw-r--r--base/stats/text.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/base/stats/text.cc b/base/stats/text.cc
index 0f43a1772..79a91e661 100644
--- a/base/stats/text.cc
+++ b/base/stats/text.cc
@@ -132,7 +132,7 @@ Text::output()
for (i = bins().begin(); i != end; ++i) {
MainBin *bin = *i;
bin->activate();
- ccprintf(*stream,"---%s Bin------------\n", bin);
+ ccprintf(*stream,"---%s Bin------------\n", bin->name());
stat_list_t::const_iterator i, end = stats().end();
for (i = stats().begin(); i != end; ++i)
(*i)->visit(*this);