Display total time.

This commit is contained in:
Bartosz Taudul 2018-02-22 12:44:55 +01:00
parent ffb28a3d0d
commit 6406df6f45

View File

@ -4243,12 +4243,15 @@ void View::DrawFindZone()
}
}
int64_t timeTotal = binTime[0];
auto maxVal = bins[0];
for( int i=1; i<numBins; i++ )
{
maxVal = std::max( maxVal, bins[i] );
timeTotal += binTime[i];
}
ImGui::Text( "Total time: %s", TimeToString( timeTotal ) );
ImGui::Text( "Max counts: %s", RealToString( maxVal, true ) );
enum { Height = 200 };