3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-04-13 20:38:43 +00:00

count final checks

This commit is contained in:
Nikolaj Bjorner 2021-03-05 15:01:02 -08:00
parent 022a1fd3dd
commit 5f0ec936e4
2 changed files with 3 additions and 0 deletions

View file

@ -440,6 +440,7 @@ namespace euf {
}
sat::check_result solver::check() {
++m_stats.m_final_checks;
TRACE("euf", s().display(tout););
bool give_up = false;
bool cont = false;
@ -686,6 +687,7 @@ namespace euf {
for (auto* e : m_solvers)
e->collect_statistics(st);
st.update("euf ackerman", m_stats.m_ackerman);
st.update("euf final check", m_stats.m_final_checks);
}
enode* solver::copy(solver& dst_ctx, enode* src_n) {

View file

@ -66,6 +66,7 @@ namespace euf {
// friend class sat::ba_solver;
struct stats {
unsigned m_ackerman;
unsigned m_final_checks;
stats() { reset(); }
void reset() { memset(this, 0, sizeof(*this)); }
};