summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorSascha Bischoff <sascha.bischoff@arm.com>2013-06-27 05:49:49 -0400
committerSascha Bischoff <sascha.bischoff@arm.com>2013-06-27 05:49:49 -0400
commit3d19bccb93207fc59065b20304ff47ff969e2f37 (patch)
tree0b2791b04650b8f42e0ae4480e378599fa869f6c /src
parenta1e18270a1e9d35f2300c8fd14a2024873bb2cb7 (diff)
downloadgem5-3d19bccb93207fc59065b20304ff47ff969e2f37.tar.xz
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.
Diffstat (limited to 'src')
-rw-r--r--src/base/stats/text.cc7
1 files changed, 0 insertions, 7 deletions
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