3
0
Fork 0
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:
Nuno Lopes 2016-02-01 17:19:55 +00:00
parent b9c0578eea
commit ea55bd495f
2 changed files with 11 additions and 0 deletions

View file

@ -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();
}
};