Handle fluctuations in peer distance better.

This commit is contained in:
Bill Unruh 2007-06-26 23:45:04 +01:00 committed by Richard P. Curnow
parent ca1195a0e6
commit 8022874a47

View file

@ -373,9 +373,9 @@ find_best_sample_index(SST_Stats inst, double *times_back)
/* This defines the assumed ratio between the standard deviation of
the samples and the peer distance as measured from the round trip
time. E.g. a value of 4 means that we think the standard deviation
is a quarter of the peer distance */
is four times the fluctuation of the peer distance */
#define SD_TO_DIST_RATIO 8.0
#define SD_TO_DIST_RATIO 1.0
/* ================================================== */
/* This function runs the linear regression operation on the data. It