projects
/
gem5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a1e1827
)
stats: Remove printing of SparseHist total
author
Sascha Bischoff
<sascha.bischoff@arm.com>
Thu, 27 Jun 2013 09:49:49 +0000
(
05:49
-0400)
committer
Sascha Bischoff
<sascha.bischoff@arm.com>
Thu, 27 Jun 2013 09:49:49 +0000
(
05:49
-0400)
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.
src/base/stats/text.cc
patch
|
blob
|
history
diff --git
a/src/base/stats/text.cc
b/src/base/stats/text.cc
index 86f657e6e3cd4bdc09ab94593d00fdf1f89e77d4..3909c96ed7b3cf93cf356f7bbf0d3dd8acfdfede 100644
(file)
--- 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