From: Sascha Bischoff Date: Thu, 27 Jun 2013 09:49:49 +0000 (-0400) Subject: stats: Remove printing of SparseHist total X-Git-Tag: stable_2013_10_14~27 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=3d19bccb93207fc59065b20304ff47ff969e2f37;p=gem5.git stats: Remove printing of SparseHist total This patch removes the printing of the SparseHist total in the stats.txt output file. This has been removed as a sparse histogram has no total, and therefore this was printing out the value of a non-local, unrelated variable. --- diff --git a/src/base/stats/text.cc b/src/base/stats/text.cc index 86f657e6e..3909c96ed 100644 --- a/src/base/stats/text.cc +++ b/src/base/stats/text.cc @@ -686,13 +686,6 @@ SparseHistPrint::operator()(ostream &stream) const print.value = (*it).second; print(stream); } - - print.pdf = NAN; - print.cdf = NAN; - - print.name = base + "total"; - print.value = total; - print(stream); } void