Make statistics output consistent. (#1647)
authorMathias Preiner <mathias.preiner@gmail.com>
Wed, 7 Mar 2018 00:54:06 +0000 (16:54 -0800)
committerGitHub <noreply@github.com>
Wed, 7 Mar 2018 00:54:06 +0000 (16:54 -0800)
commitc6b2e085d4eb2c232a528a96e13fc7b65fd98fea
tree632708f158acc6a3b5b3201212fa2ba1a0606c30
parent612bb0013f180a7d414f0a4b1e770aaa7ed09152
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").
36 files changed:
examples/sets-translate/sets_translate.cpp
src/expr/kind_template.cpp
src/expr/kind_template.h
src/expr/mkkind
src/main/command_executor.cpp
src/parser/smt2/smt2.cpp
src/proof/array_proof.cpp
src/proof/proof_manager.cpp
src/proof/theory_proof.cpp
src/prop/bvminisat/bvminisat.cpp
src/smt/smt_engine.cpp
src/theory/arrays/kinds
src/theory/arrays/theory_arrays.cpp
src/theory/bv/abstraction.cpp
src/theory/bv/bv_quick_check.cpp
src/theory/bv/bv_quick_check.h
src/theory/bv/bv_subtheory_algebraic.cpp
src/theory/bv/bv_subtheory_bitblast.cpp
src/theory/bv/bv_subtheory_bitblast.h
src/theory/bv/bv_subtheory_core.cpp
src/theory/bv/bv_to_bool.cpp
src/theory/bv/lazy_bitblaster.cpp
src/theory/bv/slicer.cpp
src/theory/bv/theory_bv.cpp
src/theory/bv/theory_bv.h
src/theory/datatypes/theory_datatypes.cpp
src/theory/fp/theory_fp.cpp
src/theory/logic_info.cpp
src/theory/sep/theory_sep.cpp
src/theory/sets/theory_sets_private.cpp
src/theory/strings/theory_strings.cpp
src/theory/theory.cpp
src/theory/theory.h
src/theory/theory_engine.cpp
src/theory/uf/theory_uf.cpp
src/util/statistics.cpp