]> git.ipfire.org Git - thirdparty/chrony.git/commit
sys: add drift removal to Mac OS X driver
authorBryan Christianson <bryan@whatroute.net>
Wed, 29 Jul 2015 21:50:26 +0000 (09:50 +1200)
committerMiroslav Lichvar <mlichvar@redhat.com>
Mon, 3 Aug 2015 15:28:19 +0000 (17:28 +0200)
commitabb56bded2b8e667c60ce838779be17d2e54e19e
treec29c69fe566a231e30a37b99f66b03cb09300e47
parent0bcd10560a87d61ae60e74d85a0604511c868bdd
sys: add drift removal to Mac OS X driver

The darwin kernel implementation of adjtime() does not require the
adjustment to be aligned to a tickadj boundary, and we can apply
adjustments to the nearest microsecond. Rounding is accounted for by
adding any rounding errors back into the offset.
sys_macosx.c