]> git.ipfire.org Git - thirdparty/util-linux.git/commit - sys-utils/hwclock.c
hwclock: Reduce drift factor update period
authorJ William Piggott <elseifthen@gmx.com>
Mon, 20 Oct 2014 19:22:24 +0000 (15:22 -0400)
committerJ William Piggott <elseifthen@gmx.com>
Mon, 20 Oct 2014 19:22:24 +0000 (15:22 -0400)
commitbbb4c273e9b97268ed07520a203d887a2cb15044
tree3224f0c35d3e24851896555b8b8e48cf8c0869b6
parent66af1c0f449645658fb66ca9f6473fe910eec753
hwclock: Reduce drift factor update period

To facilitate the calculation of 'cold' vs 'warm' Hardware Clock drift
factor the limit on the update period needs to be less than 8 hours.

4 hours should be enough drift to allow calculations that are not
grossly out of range.

For example, with a workstation that is shutdown every night the cold
drift factor can be significantly different than a drift factor based on
a 24 hour period.

Signed-off-by: J William Piggott <elseifthen@gmx.com>
sys-utils/hwclock.c