mirror of
https://github.com/Z3Prover/z3
synced 2025-10-03 22:43:56 +00:00
core opt
This commit is contained in:
parent
127af83c53
commit
386c511f54
8 changed files with 182 additions and 56 deletions
|
@ -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) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue