resource manager: Add statistic for every resource. (#3772)
authorMathias Preiner <mathias.preiner@gmail.com>
Thu, 20 Feb 2020 00:59:58 +0000 (16:59 -0800)
committerGitHub <noreply@github.com>
Thu, 20 Feb 2020 00:59:58 +0000 (16:59 -0800)
commit508ecb3007a2b6aa8b76b28dc8282247b5dba957
treeb80cab956e6b40b4cd783ceb78393006c09782b5
parent9705504973f6f85c6be4944c615984df7b614f67
resource manager: Add statistic for every resource. (#3772)

This commit adds statistics for all resource steps. A resource statistic is incremented by 1 if the resource is spent (via `spendResource`).

Fixes #3751.
52 files changed:
src/bindings/java/CMakeLists.txt
src/cvc4.i
src/decision/decision_engine.h
src/expr/expr_manager.i
src/expr/node_manager.cpp
src/options/smt_options.toml
src/parser/parser.cpp
src/preprocessing/passes/apply_substs.cpp
src/preprocessing/passes/bool_to_bv.cpp
src/preprocessing/passes/bv_to_bool.cpp
src/preprocessing/passes/ite_removal.cpp
src/preprocessing/passes/ite_simp.cpp
src/preprocessing/passes/non_clausal_simp.cpp
src/preprocessing/passes/static_learning.cpp
src/preprocessing/passes/unconstrained_simplifier.cpp
src/preprocessing/preprocessing_pass_context.h
src/prop/bv_sat_solver_notify.h
src/prop/bvminisat/bvminisat.h
src/prop/bvminisat/core/Solver.cc
src/prop/bvminisat/core/Solver.h
src/prop/cnf_stream.cpp
src/prop/minisat/core/Solver.cc
src/prop/minisat/core/Solver.h
src/prop/prop_engine.cpp
src/prop/prop_engine.h
src/prop/theory_proxy.cpp
src/prop/theory_proxy.h
src/smt/smt_engine.cpp
src/theory/arith/theory_arith.cpp
src/theory/arrays/theory_arrays.cpp
src/theory/bv/bitblast/bitblaster.h
src/theory/bv/bitblast/eager_bitblaster.cpp
src/theory/bv/bitblast/lazy_bitblaster.cpp
src/theory/bv/bitblast/lazy_bitblaster.h
src/theory/bv/bv_eager_solver.cpp
src/theory/bv/bv_subtheory_bitblast.cpp
src/theory/bv/bv_subtheory_core.cpp
src/theory/bv/bv_subtheory_inequality.cpp
src/theory/bv/theory_bv.cpp
src/theory/bv/theory_bv.h
src/theory/output_channel.h
src/theory/quantifiers/instantiate.cpp
src/theory/rewriter.cpp
src/theory/sep/theory_sep.cpp
src/theory/theory_engine.cpp
src/theory/theory_engine.h
src/theory/theory_test_utils.h
src/theory/uf/theory_uf.cpp
src/util/resource_manager.cpp
src/util/resource_manager.h
src/util/resource_manager.i [deleted file]
test/unit/theory/theory_white.h