summaryrefslogtreecommitdiff
path: root/usr.sbin/ntpd/util.c
AgeCommit message (Expand)Author
2007-03-27Normalize tv so that tv_usec is positive. The kernel also normalizes,Otto Moerbeek
2006-10-27use clock_gettime(CLOCK_MONOTONIC, ..) to get a monotonically increasingHenning Brauer
2006-06-07Compensate old offsets with the amount of adjustment done, avoidingOtto Moerbeek
2004-12-08uniquely name members of s_fixedpt and l_fixedpt; henning@ okMichael Shalayeff
2004-11-12some missing includes, from Joerg Sonnenberger <joerg@britannica.bec.de>Henning Brauer
2004-07-10short fixed point <-> double conversion routines; ok henning@Alexander Guy
2004-07-07help the compiler a bit with a cast, spotted by theoHenning Brauer
2004-07-07* Convert to use the new double-based time handling functions.Alexander Guy
2004-07-07Endian conversion mistakenly done before fraction math; ok henning@Alexander Guy
2004-07-05use correct multiplier for us -> s conversionOtto Moerbeek
2004-07-05calculate the median offset from all servers we sync to and callHenning Brauer
2004-07-04KNFHenning Brauer
2004-07-04Compute the local clock offset from the server's response.Alexander Guy