diff options
author | Lisa Hsu <hsul@eecs.umich.edu> | 2003-11-04 18:19:40 -0500 |
---|---|---|
committer | Lisa Hsu <hsul@eecs.umich.edu> | 2003-11-04 18:19:40 -0500 |
commit | d7b25c80228a10a57deffb5ba4f654b35777e317 (patch) | |
tree | 2f497ca565090045cbbcef03c4de5df9e09459f7 /base/statistics.cc | |
parent | 293ee75117f1b401a3aff6c889d661299a98b0af (diff) | |
parent | 16d0b2f85ac8527895df09235124798ad6518779 (diff) | |
download | gem5-d7b25c80228a10a57deffb5ba4f654b35777e317.tar.xz |
Merge zizzer:/bk/m5 into zower.eecs.umich.edu:/z/hsul/bk/m5
--HG--
extra : convert_revision : 81a644bebf1b9fe11ac767c097c2d457c5698e73
Diffstat (limited to 'base/statistics.cc')
-rw-r--r-- | base/statistics.cc | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/base/statistics.cc b/base/statistics.cc index 5c1844327..5f21e4de7 100644 --- a/base/statistics.cc +++ b/base/statistics.cc @@ -886,14 +886,18 @@ DistDisplay(ostream &stream, const string &name, const string &desc, } #endif +/** + * @todo get rid of the ugly hack **Ignore for total + */ void FancyDisplay(ostream &stream, const string &name, const string &desc, int precision, FormatFlags flags, result_t mean, - result_t variance) + result_t variance, result_t total) { result_t stdev = isnan(variance) ? NAN : sqrt(variance); PrintOne(stream, mean, name + NAMESEP + "mean", desc, precision, flags); PrintOne(stream, stdev, name + NAMESEP + "stdev", desc, precision, flags); + PrintOne(stream, total, "**Ignore: " + name + NAMESEP + "TOT", desc, precision, flags); } BinBase::BinBase() |