mirror of
https://github.com/Z3Prover/z3
synced 2025-08-16 07:45:27 +00:00
resetting SLS engine between calls, moved statistics collection to engine
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
ff154a09b3
commit
b300041075
5 changed files with 41 additions and 22 deletions
|
@ -93,18 +93,7 @@ public:
|
|||
}
|
||||
|
||||
virtual void collect_statistics(statistics & st) const {
|
||||
sls_engine::stats const & stats = m_engine->get_stats();
|
||||
double seconds = stats.m_stopwatch.get_current_seconds();
|
||||
st.update("sls restarts", stats.m_restarts);
|
||||
st.update("sls full evals", stats.m_full_evals);
|
||||
st.update("sls incr evals", stats.m_incr_evals);
|
||||
st.update("sls incr evals/sec", stats.m_incr_evals / seconds);
|
||||
st.update("sls FLIP moves", stats.m_flips);
|
||||
st.update("sls INC moves", stats.m_incs);
|
||||
st.update("sls DEC moves", stats.m_decs);
|
||||
st.update("sls INV moves", stats.m_invs);
|
||||
st.update("sls moves", stats.m_moves);
|
||||
st.update("sls moves/sec", stats.m_moves / seconds);
|
||||
m_engine->collect_statistics(st);
|
||||
}
|
||||
|
||||
virtual void reset_statistics() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue