mirror of
https://github.com/Z3Prover/z3
synced 2025-07-28 23:17:56 +00:00
fix the debug build
Signed-off-by: Lev Nachmanson <levnach@hotmail.com>
This commit is contained in:
parent
4c62c8a040
commit
ac27b4d6a2
3 changed files with 3 additions and 4 deletions
|
@ -311,7 +311,7 @@ protected:
|
|||
// Singleton statistics object to accumulate stats throughout the run
|
||||
// This ensures theory statistics collected during timeout are preserved
|
||||
// Using a pointer to avoid any accidental copying
|
||||
std::unique_ptr<statistics> m_global_stats;
|
||||
std::unique_ptr<statistics> m_global_stats;
|
||||
bool m_stats_collected;
|
||||
mutex m_stats_mutex; // Protect statistics access
|
||||
|
||||
|
|
|
@ -28,9 +28,8 @@ Revision History:
|
|||
namespace smt {
|
||||
void context::flush_statistics() {
|
||||
// Only collect statistics once to avoid duplication
|
||||
if (m_statistics_collected) {
|
||||
if (m_statistics_collected)
|
||||
return;
|
||||
}
|
||||
|
||||
// Force aggregation of theory statistics into m_aux_stats
|
||||
// This ensures that detailed theory statistics are available even on timeout/interruption
|
||||
|
|
|
@ -258,7 +258,7 @@ namespace smt {
|
|||
}
|
||||
|
||||
void kernel::flush_statistics() {
|
||||
IF_LOG(DEBUG, log() << "smt::kernel::flush_statistics() called\n";);
|
||||
TRACE(smt_kernel, tout << "smt::kernel::flush_statistics() called\n";);
|
||||
m_imp->m_kernel.flush_statistics();
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue