mirror of
https://github.com/Z3Prover/z3
synced 2025-08-26 13:06:05 +00:00
fixes to mostly solver arith/euf and backtracking scopes
This commit is contained in:
parent
1ee2ba2a9b
commit
8d76470a8a
25 changed files with 189 additions and 93 deletions
|
@ -12,6 +12,7 @@ Copyright (c) 2015 Microsoft Corporation
|
|||
#include "util/memory_manager.h"
|
||||
#include "util/error_codes.h"
|
||||
#include "util/debug.h"
|
||||
#include "util/scoped_timer.h"
|
||||
// The following two function are automatically generated by the mk_make.py script.
|
||||
// The script collects ADD_INITIALIZER and ADD_FINALIZER commands in the .h files.
|
||||
// For example, rational.h contains
|
||||
|
@ -27,7 +28,6 @@ Copyright (c) 2015 Microsoft Corporation
|
|||
// rational::finalize();
|
||||
void mem_initialize();
|
||||
void mem_finalize();
|
||||
void finalize_scoped_timer();
|
||||
|
||||
// If PROFILE_MEMORY is defined, Z3 will display the amount of memory used, and the number of synchronization steps during finalization
|
||||
// #define PROFILE_MEMORY
|
||||
|
@ -142,7 +142,7 @@ void memory::finalize(bool shutdown) {
|
|||
g_finalizing = false;
|
||||
|
||||
if (shutdown) {
|
||||
finalize_scoped_timer();
|
||||
scoped_timer::finalize();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue