File tree Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -1249,22 +1249,28 @@ void View::DrawFindZone()
12491249 }
12501250
12511251 int64_t tBefore = 0 ;
1252+ int64_t cntBefore = 0 ;
12521253 for ( int i=0 ; i<bin; i++ )
12531254 {
12541255 tBefore += binTime[i];
1256+ cntBefore += bins[i];
12551257 }
12561258
12571259 int64_t tAfter = 0 ;
1260+ int64_t cntAfter = 0 ;
12581261 for ( int i=bin+1 ; i<numBins; i++ )
12591262 {
12601263 tAfter += binTime[i];
1264+ cntAfter += bins[i];
12611265 }
12621266
12631267 ImGui::BeginTooltip ();
12641268 TextDisabledUnformatted ( " Time range:" );
12651269 ImGui::SameLine ();
12661270 ImGui::Text ( " %s - %s" , TimeToString ( t0 ), TimeToString ( t1 ) );
12671271 TextFocused ( " Count:" , RealToString ( bins[bin] ) );
1272+ TextFocused ( " Count in the left bins:" , RealToString ( cntBefore ) );
1273+ TextFocused ( " Count in the right bins:" , RealToString ( cntAfter ) );
12681274 TextFocused ( " Time spent in bin:" , TimeToString ( binTime[bin] ) );
12691275 TextFocused ( " Time spent in the left bins:" , TimeToString ( tBefore ) );
12701276 TextFocused ( " Time spent in the right bins:" , TimeToString ( tAfter ) );
You can’t perform that action at this time.
0 commit comments