]> git.ipfire.org Git - thirdparty/chrony.git/commit
clientlog: save time of last hit with sub-second resolution
authorMiroslav Lichvar <mlichvar@redhat.com>
Wed, 2 Dec 2015 16:49:40 +0000 (17:49 +0100)
committerMiroslav Lichvar <mlichvar@redhat.com>
Thu, 3 Dec 2015 10:43:06 +0000 (11:43 +0100)
commitd3096c3b5e3c2671c9b29863cf9d856c5bd523e7
treebaadfcb1c167b04862a7810cf6281801f915e293
parent98947a4e521dfd343852ea07473ac943fe5bcf31
clientlog: save time of last hit with sub-second resolution

Instead of time_t use a 32-bit fixed point representation with 4-bit
fraction to save the time of the last hit. The rate can now be measured
up to 16 packets per second. Maximum interval between hits is about 4
years.
clientlog.c
clientlog.h
cmdmon.c
ntp_core.c