Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/wolfpld/tracy.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBartosz Taudul <wolf.pld@gmail.com>2018-08-05 00:53:21 +0300
committerBartosz Taudul <wolf.pld@gmail.com>2018-08-05 00:53:21 +0300
commitb92087bd95514295d3e54aa75357381917ca992f (patch)
treef653207750361dee0a4b091654fed77865a11d85 /capture
parent2acea5da3c691fab9a5518689a5e624bfeb7351a (diff)
Fix capture utility.
Diffstat (limited to 'capture')
-rw-r--r--capture/src/capture.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/capture/src/capture.cpp b/capture/src/capture.cpp
index 46dff6ca..88503c9c 100644
--- a/capture/src/capture.cpp
+++ b/capture/src/capture.cpp
@@ -163,7 +163,7 @@ int main( int argc, char** argv )
std::this_thread::sleep_for( std::chrono::milliseconds( 100 ) );
}
- printf( "\nFrames: %" PRIu64 "\nTime span: %s\nZones: %s\nSaving trace...", worker.GetFrameCount(), TimeToString( worker.GetLastTime() - worker.GetFrameBegin( 0 ) ), RealToString( worker.GetZoneCount(), true ) );
+ printf( "\nFrames: %" PRIu64 "\nTime span: %s\nZones: %s\nSaving trace...", worker.GetFrameCount( *worker.GetFramesBase() ), TimeToString( worker.GetLastTime() - worker.GetTimeBegin() ), RealToString( worker.GetZoneCount(), true ) );
fflush( stdout );
auto f = std::unique_ptr<tracy::FileWrite>( tracy::FileWrite::Open( output ) );
if( f )