diff --git a/server/TracyView.cpp b/server/TracyView.cpp index 741b61e6..536079d7 100644 --- a/server/TracyView.cpp +++ b/server/TracyView.cpp @@ -6457,26 +6457,32 @@ void View::DrawInfo() if( m_frameSortData.logTime ) { - const auto tMinLog = log10fast( tmin ); - const auto idt = numBins / ( log10fast( tmax ) - tMinLog ); + const auto tMinLog = log10( tmin ); + const auto zmax = ( log10( tmax ) - tMinLog ) / numBins; auto fit = frames.begin(); while( fit != frames.end() && *fit == 0 ) fit++; - while( fit != frames.end() ) + for( int64_t i=0; i