mirror of
https://github.com/Z3Prover/z3
synced 2025-04-23 17:15:31 +00:00
n/a
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
e47eea2c61
commit
ed7e0e11a8
8 changed files with 142 additions and 55 deletions
|
@ -945,6 +945,10 @@ namespace datalog {
|
|||
if (m_engine) {
|
||||
m_engine->collect_statistics(st);
|
||||
}
|
||||
unsigned long long max_mem = memory::get_max_used_memory();
|
||||
unsigned long long mem = memory::get_allocation_size();
|
||||
st.update("max memory", static_cast<double>(max_mem)/(1024.0*1024.0));
|
||||
st.update("memory", static_cast<double>(mem)/(1024.0*1024.0));
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue