bugger the speed estimate - always use the measured values, and if there aren't enough measured values, use 0.

This commit is contained in:
jrandom
2004-05-22 12:03:38 +00:00
committed by zzz
parent 3599dba5c3
commit fd1313d49f

View File

@ -91,6 +91,7 @@ public class SpeedCalculator extends Calculator {
*
*/
private double getEstimateFactor(long eventThreshold, long numEvents) {
if (true) return 0.0d; // never use the estimate
if (numEvents > eventThreshold)
return 0.0d;
else