mirror of
https://github.com/Z3Prover/z3
synced 2025-05-08 08:15:47 +00:00
Merge branch 'unstable' of https://github.com/Z3Prover/z3 into unstable
This commit is contained in:
commit
2771862583
1 changed files with 4 additions and 4 deletions
|
@ -5617,7 +5617,7 @@ class Statistics:
|
||||||
sat
|
sat
|
||||||
>>> st = s.statistics()
|
>>> st = s.statistics()
|
||||||
>>> len(st)
|
>>> len(st)
|
||||||
4
|
5
|
||||||
"""
|
"""
|
||||||
return int(Z3_stats_size(self.ctx.ref(), self.stats))
|
return int(Z3_stats_size(self.ctx.ref(), self.stats))
|
||||||
|
|
||||||
|
@ -5631,7 +5631,7 @@ class Statistics:
|
||||||
sat
|
sat
|
||||||
>>> st = s.statistics()
|
>>> st = s.statistics()
|
||||||
>>> len(st)
|
>>> len(st)
|
||||||
4
|
5
|
||||||
>>> st[0]
|
>>> st[0]
|
||||||
('nlsat propagations', 2)
|
('nlsat propagations', 2)
|
||||||
>>> st[1]
|
>>> st[1]
|
||||||
|
@ -5655,7 +5655,7 @@ class Statistics:
|
||||||
sat
|
sat
|
||||||
>>> st = s.statistics()
|
>>> st = s.statistics()
|
||||||
>>> st.keys()
|
>>> st.keys()
|
||||||
['nlsat propagations', 'nlsat stages', 'max memory', 'memory']
|
['nlsat propagations', 'nlsat stages', 'max memory', 'memory', 'num allocs']
|
||||||
"""
|
"""
|
||||||
return [Z3_stats_get_key(self.ctx.ref(), self.stats, idx) for idx in range(len(self))]
|
return [Z3_stats_get_key(self.ctx.ref(), self.stats, idx) for idx in range(len(self))]
|
||||||
|
|
||||||
|
@ -5692,7 +5692,7 @@ class Statistics:
|
||||||
sat
|
sat
|
||||||
>>> st = s.statistics()
|
>>> st = s.statistics()
|
||||||
>>> st.keys()
|
>>> st.keys()
|
||||||
['nlsat propagations', 'nlsat stages', 'max memory', 'memory']
|
['nlsat propagations', 'nlsat stages', 'max memory', 'memory', 'num allocs']
|
||||||
>>> st.nlsat_propagations
|
>>> st.nlsat_propagations
|
||||||
2
|
2
|
||||||
>>> st.nlsat_stages
|
>>> st.nlsat_stages
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue