diff options
author | Korey Sewell <ksewell@umich.edu> | 2006-06-12 16:19:18 -0400 |
---|---|---|
committer | Korey Sewell <ksewell@umich.edu> | 2006-06-12 16:19:18 -0400 |
commit | b0fc2c02af47c04650b981a28e2551bb7d07b426 (patch) | |
tree | ecd587c0228010f29bb1d5c376b2c19a77e4567f /src/base/stats/text.cc | |
parent | 13d46e2075444fb4d9b36c766a7641a637f83dcf (diff) | |
parent | babb22eea4be07cbc725eea129c6a6557fd56af2 (diff) | |
download | gem5-b0fc2c02af47c04650b981a28e2551bb7d07b426.tar.xz |
Merge zizzer:/bk/newmem
into zizzer.eecs.umich.edu:/.automount/zooks/y/ksewell/research/m5-sim/newmem-release
--HG--
extra : convert_revision : 18a381fa230f2ef6d027359ffd619e3ae75cd446
Diffstat (limited to 'src/base/stats/text.cc')
-rw-r--r-- | src/base/stats/text.cc | 20 |
1 files changed, 3 insertions, 17 deletions
diff --git a/src/base/stats/text.cc b/src/base/stats/text.cc index 8d2144665..c4448efc9 100644 --- a/src/base/stats/text.cc +++ b/src/base/stats/text.cc @@ -129,23 +129,9 @@ Text::output() using namespace Database; ccprintf(*stream, "\n---------- Begin Simulation Statistics ----------\n"); - if (bins().empty() || bins().size() == 1) { - stat_list_t::const_iterator i, end = stats().end(); - for (i = stats().begin(); i != end; ++i) - (*i)->visit(*this); - } else { - ccprintf(*stream, "PRINTING BINNED STATS\n"); - bin_list_t::iterator i, end = bins().end(); - for (i = bins().begin(); i != end; ++i) { - MainBin *bin = *i; - bin->activate(); - 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); - ccprintf(*stream, "---------------------------------\n"); - } - } + stat_list_t::const_iterator i, end = stats().end(); + for (i = stats().begin(); i != end; ++i) + (*i)->visit(*this); ccprintf(*stream, "\n---------- End Simulation Statistics ----------\n"); stream->flush(); } |