Skip to content

Commit

Permalink
fixup! [capture] Fixup
Browse files Browse the repository at this point in the history
  • Loading branch information
Grégoire Roussel committed Jul 17, 2024
1 parent 9a5ae35 commit 2b8af30
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions capture/src/multicapture.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -332,7 +332,6 @@ struct CaptureArgs
std::cout << "port " << port << "\n";
std::cout << "stopAfter " << stopAfter << "\n";
std::cout << "multi " << multi << "\n";
exit(1);
}
};

Expand Down Expand Up @@ -639,7 +638,7 @@ int runCaptureMulti( CaptureArgs const& args )
tracy::RealToString( client.worker->GetZoneCount() ),
tracy::TimeToString( std::chrono::duration_cast<std::chrono::nanoseconds>( client.finishedAt - client.detectedAt ).count() ) );
std::filesystem::path filepath = args.outputDirectory / client.saveName( args.outputFileName );
auto f = std::unique_ptr<tracy::FileWrite>( tracy::FileWrite::Open( filepath.c_str() ) );
auto f = std::unique_ptr<tracy::FileWrite>( tracy::FileWrite::Open( filepath.c_str(), tracy::FileCompression::Zstd, 3, 4 ) );
if( f )
{
client.worker->Write( *f, false );
Expand Down

0 comments on commit 2b8af30

Please sign in to comment.