]> git.ipfire.org Git - thirdparty/chrony.git/commit
sourcestats: use median distance in weight calculation
authorMiroslav Lichvar <mlichvar@redhat.com>
Mon, 26 Jun 2017 11:54:48 +0000 (13:54 +0200)
committerMiroslav Lichvar <mlichvar@redhat.com>
Tue, 27 Jun 2017 13:29:01 +0000 (15:29 +0200)
commit17f32c266ea0f7bfb30460e66b7ecd2eb3c229be
treeec43e5e3f482d66598c9870400b29c3ba09ed783
parent6207655ab285a7fa10bba99b2801526bfae72182
sourcestats: use median distance in weight calculation

Replace mean distance with median distance in the weight calculation.
This should make the weights less sensitive to outliers.
sourcestats.c