| RE: [chrony-dev] clock_gettime() support |
[ Thread Index |
Date Index
| More chrony.tuxfamily.org/chrony-dev Archives
]
Miroslav,
FreeBSD has the necessary support.
See https://man.freebsd.org/cgi/man.cgi?query=clock_gettime&apropos=0&sektion=0&manpath=FreeBSD+15.0-RELEASE+and+Ports&arch=default&format=html
Adri Koppes
-----Original Message-----
From: Miroslav Lichvar <mlichvar@xxxxxxxxxx>
Sent: dinsdag 27 januari 2026 16:03
To: chrony-dev@xxxxxxxxxxxxxxxxxxxx
Subject: [chrony-dev] clock_gettime() support
Is it ok to assume all systems supported by chrony now provide the standard clock_gettime(), working at least with CLOCK_REALTIME and CLOCK_MONOTONIC?
There is a comment in the macOS driver that it's available only on macOS 10.12 and later. Wikipedia says 10.11.6 was released on July 9, 2018.
I'm considering some changes in order to support synchronization of Linux PHC and CLOCK_AUX clocks and it would simplify things if I could just drop the gettimeofday() support and use the CLOCK_* identifiers everywhere.
--
Miroslav Lichvar
--
To unsubscribe email chrony-dev-request@xxxxxxxxxxxxxxxxxxxx with "unsubscribe" in the subject.
For help email chrony-dev-request@xxxxxxxxxxxxxxxxxxxx with "help" in the subject.
Trouble? Email listmaster@xxxxxxxxxxxxxxxxxxxx.