diff --git a/update/src/update.cpp b/update/src/update.cpp index e234e92d..5ed8754a 100644 --- a/update/src/update.cpp +++ b/update/src/update.cpp @@ -2,6 +2,7 @@ # include #endif +#include #include #include #include @@ -54,6 +55,10 @@ int main( int argc, char** argv ) { tracy::Worker worker( *f ); +#ifndef TRACY_NO_STATISTICS + while( !worker.AreSourceLocationZonesReady() ) std::this_thread::sleep_for( std::chrono::milliseconds( 10 ) ); +#endif + auto w = std::unique_ptr( tracy::FileWrite::Open( output, hc ? tracy::FileWrite::Compression::Slow : tracy::FileWrite::Compression::Fast ) ); if( !w ) {