Skip to content

Commit

Permalink
increased minimum bubble width for estimated bubble widths.
Browse files Browse the repository at this point in the history
  • Loading branch information
Marcus10110 committed Jul 20, 2021
1 parent 30c5964 commit 2336880
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/SimpleParallelAnalyzer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -105,9 +105,9 @@ void SimpleParallelAnalyzer::WorkerThread()
{
U64 last_frame_sample_count = last_frame.mEndingSampleInclusive - last_frame.mStartingSampleInclusive + 1;
estimated_frame_size = last_frame_sample_count * 0.1;
if( estimated_frame_size == 0 )
if( estimated_frame_size < 3 )
{
estimated_frame_size = 1;
estimated_frame_size = 3;
}
}

Expand Down

0 comments on commit 2336880

Please sign in to comment.