summaryrefslogtreecommitdiff
path: root/src/theory/bv/slicer.cpp
diff options
context:
space:
mode:
authorMathias Preiner <mathias.preiner@gmail.com>2018-03-06 16:54:06 -0800
committerGitHub <noreply@github.com>2018-03-06 16:54:06 -0800
commitc6b2e085d4eb2c232a528a96e13fc7b65fd98fea (patch)
tree632708f158acc6a3b5b3201212fa2ba1a0606c30 /src/theory/bv/slicer.cpp
parent612bb0013f180a7d414f0a4b1e770aaa7ed09152 (diff)
Make statistics output consistent. (#1647)
* Fixes --hide-zero-stats (and really skips the 0 values) * Removes the additional newline after each statistic * Introduces theory::getStatsPrefix(TheoryId) to generate consistent prefixes for statistics based on the theory id (e.g., THEORY_BV -> "theory::bv").
Diffstat (limited to 'src/theory/bv/slicer.cpp')
-rw-r--r--src/theory/bv/slicer.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/theory/bv/slicer.cpp b/src/theory/bv/slicer.cpp
index fa234fcde..4c4b7c723 100644
--- a/src/theory/bv/slicer.cpp
+++ b/src/theory/bv/slicer.cpp
@@ -640,12 +640,12 @@ std::string UnionFind::debugPrint(TermId id) {
}
UnionFind::Statistics::Statistics():
- d_numNodes("theory::bv::slicer::NumberOfNodes", 0),
- d_numRepresentatives("theory::bv::slicer::NumberOfRepresentatives", 0),
- d_numSplits("theory::bv::slicer::NumberOfSplits", 0),
- d_numMerges("theory::bv::slicer::NumberOfMerges", 0),
+ d_numNodes("theory::bv::slicer::NumNodes", 0),
+ d_numRepresentatives("theory::bv::slicer::NumRepresentatives", 0),
+ d_numSplits("theory::bv::slicer::NumSplits", 0),
+ d_numMerges("theory::bv::slicer::NumMerges", 0),
d_avgFindDepth("theory::bv::slicer::AverageFindDepth"),
- d_numAddedEqualities("theory::bv::slicer::NumberOfEqualitiesAdded", Slicer::d_numAddedEqualities)
+ d_numAddedEqualities("theory::bv::slicer::NumEqualitiesAdded", Slicer::d_numAddedEqualities)
{
smtStatisticsRegistry()->registerStat(&d_numRepresentatives);
smtStatisticsRegistry()->registerStat(&d_numSplits);
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback