More conservative about when we flag predictions

This commit is contained in:
Keith Winstein
2011-10-13 15:52:51 -04:00
parent 1bb8df69a9
commit d8c9e2389e
+2 -2
View File
@@ -125,8 +125,8 @@ void PredictionEngine::cull( const Framebuffer &fb )
}
}
if ( SRTT > 150 ) flagging = true; /* start underlining predicted chars */
if ( SRTT < 100 ) flagging = false; /* use some hysterisis to avoid annoying flicker */
if ( SRTT > 500 ) flagging = true; /* start underlining predicted chars */
if ( SRTT < 150 ) flagging = false; /* use some hysterisis to avoid flapping */
}
OverlayCell::OverlayCell( uint64_t expiration_time, int s_row, int s_col, int background_color )