3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-04-28 19:35:50 +00:00

move nla stats to nla_core

Signed-off-by: Lev Nachmanson <levnach@hotmail.com>
This commit is contained in:
Lev Nachmanson 2020-05-15 12:58:34 -07:00
parent 82fd2a062d
commit 01279582ff
5 changed files with 34 additions and 11 deletions

View file

@ -139,6 +139,17 @@ struct pp_factorization {
};
class core {
struct stats {
unsigned m_nla_explanations;
unsigned m_nla_lemmas;
unsigned m_nra_calls;
unsigned m_assume_eqs;
stats() { reset(); }
void reset() {
memset(this, 0, sizeof(*this));
}
};
stats m_stats;
friend class new_lemma;
public:
var_eqs<emonics> m_evars;
@ -465,6 +476,7 @@ public:
bool has_real(const monic& m) const;
void set_use_nra_model(bool m) { m_use_nra_model = m; }
bool use_nra_model() const { return m_use_nra_model; }
void collect_statistics(::statistics&);
}; // end of core
struct pp_mon {