mirror of
https://github.com/Z3Prover/z3
synced 2025-06-27 08:28:44 +00:00
add new API function Z3_get_estimated_alloc_size() that returns *estimated* allocated memory size by Z3
Signed-off-by: Nuno Lopes <nlopes@microsoft.com>
This commit is contained in:
parent
b9c0578eea
commit
ea55bd495f
2 changed files with 11 additions and 0 deletions
|
@ -130,4 +130,8 @@ extern "C" {
|
|||
Z3_CATCH_RETURN(0.0);
|
||||
}
|
||||
|
||||
unsigned long long Z3_API Z3_get_estimated_alloc_size(void) {
|
||||
return memory::get_allocation_size();
|
||||
}
|
||||
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue