mirror of
https://github.com/Z3Prover/z3
synced 2025-04-23 09:05:31 +00:00
Add Z3_get_estimated_alloc_size to OCaml API (#7068)
This commit is contained in:
parent
19f3ad46ce
commit
68a2c08d5e
3 changed files with 7 additions and 0 deletions
|
@ -1832,6 +1832,9 @@ struct
|
|||
let get (x:statistics) (key:string) =
|
||||
try Some(List.find (fun c -> Entry.get_key c = key) (get_entries x)) with
|
||||
| Not_found -> None
|
||||
|
||||
let get_estimated_alloc_size =
|
||||
Z3native.get_estimated_alloc_size
|
||||
end
|
||||
|
||||
|
||||
|
|
|
@ -3224,6 +3224,9 @@ sig
|
|||
|
||||
(** The value of a particular statistical counter. *)
|
||||
val get : statistics -> string -> Entry.statistics_entry option
|
||||
|
||||
(** The estimated allocated memory in bytes. *)
|
||||
val get_estimated_alloc_size : unit -> int64
|
||||
end
|
||||
|
||||
(** Solvers *)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue