3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-10-03 22:43:56 +00:00
This commit is contained in:
Nikolaj Bjorner 2022-05-21 10:27:32 -04:00
parent 127af83c53
commit 386c511f54
8 changed files with 182 additions and 56 deletions

View file

@ -1533,20 +1533,16 @@ namespace opt {
}
void context::collect_statistics(statistics& stats) const {
if (m_solver) {
if (m_solver)
m_solver->collect_statistics(stats);
}
if (m_simplify) {
m_simplify->collect_statistics(stats);
}
for (auto const& kv : m_maxsmts) {
if (m_simplify)
m_simplify->collect_statistics(stats);
for (auto const& kv : m_maxsmts)
kv.m_value->collect_statistics(stats);
}
get_memory_statistics(stats);
get_rlimit_statistics(m.limit(), stats);
if (m_qmax) {
if (m_qmax)
m_qmax->collect_statistics(stats);
}
}
void context::collect_param_descrs(param_descrs & r) {