mirror of
https://github.com/Z3Prover/z3
synced 2026-02-19 23:14:40 +00:00
add back statistics to smt-parallel
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
2a785bf291
commit
b443e90e24
2 changed files with 14 additions and 2 deletions
|
|
@ -68,6 +68,15 @@ namespace search_tree {
|
|||
node* left() const { return m_left; }
|
||||
node* right() const { return m_right; }
|
||||
node* parent() const { return m_parent; }
|
||||
unsigned depth() const {
|
||||
unsigned d = 0;
|
||||
node* p = m_parent;
|
||||
while (p) {
|
||||
++d;
|
||||
p = p->parent();
|
||||
}
|
||||
return d;
|
||||
}
|
||||
|
||||
node* find_active_node() {
|
||||
if (m_status == status::active)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue