4 ms·
Yes there is, and has been for a very long time, specifically to support ntpd. http://man7.org/linux/man-pages/man2/adjtimex.2.html http://man7.org/linux/man-p
by caf 8y ago
Yes there is, and has been for a very long time, specifically to support ntpd.
http://man7.org/linux/man-pages/man2/adjtimex.2.html http://man7.org/linux/man-pages/man2/adjtimex.2.html
- cyphar 8y agoSorry, I guess you're right. I misunderstood the discussion in [1], the reason why clock frequency change wasn't included in the timens patchset is because it was decided to be far too complicated (not because current kernel timekeeping cannot do it). Not to mention that most people would want to adjust the clock speed for indefinite periods of time, which isn't what adjtimex is meant for. [1]: https://lore.kernel.org/lkml/20180919205037.9574-1-dima@arista.com/ https://lore.kernel.org/lkml/20180919205037.9574-1-dima@aris...