mirror of
https://github.com/Z3Prover/z3
synced 2025-07-24 05:08:55 +00:00
fix extraction of statistics for horn tactic
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
a895506dac
commit
8e2298c327
2 changed files with 15 additions and 25 deletions
|
@ -1167,32 +1167,20 @@ namespace datalog {
|
|||
if (m_bmc) {
|
||||
m_bmc->reset_statistics();
|
||||
}
|
||||
if (m_tab) {
|
||||
m_tab->reset_statistics();
|
||||
}
|
||||
}
|
||||
|
||||
void context::collect_statistics(statistics& st) const {
|
||||
|
||||
switch(m_engine) {
|
||||
case DATALOG_ENGINE:
|
||||
break;
|
||||
case PDR_ENGINE:
|
||||
case QPDR_ENGINE:
|
||||
if (m_pdr) {
|
||||
m_pdr->collect_statistics(st);
|
||||
}
|
||||
break;
|
||||
case BMC_ENGINE:
|
||||
case QBMC_ENGINE:
|
||||
if (m_bmc) {
|
||||
m_bmc->collect_statistics(st);
|
||||
}
|
||||
break;
|
||||
case TAB_ENGINE:
|
||||
if (m_tab) {
|
||||
m_tab->collect_statistics(st);
|
||||
}
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
if (m_pdr) {
|
||||
m_pdr->collect_statistics(st);
|
||||
}
|
||||
if (m_bmc) {
|
||||
m_bmc->collect_statistics(st);
|
||||
}
|
||||
if (m_tab) {
|
||||
m_tab->collect_statistics(st);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue