[erlang-questions] Erlang Time API And RFC1589?

Sargun Dhillon sargun@REDACTED
Sun Feb 7 07:07:04 CET 2016


RFC1589 (https://tools.ietf.org/html/rfc1589) discusses a time-keeping
in relation with OS kernels. This include syscalls which allow
userspace programs to know if the Kernel is synced to NTP, as well as
error bounds (http://man7.org/linux/man-pages/man2/adjtimex.2.html).
Although this time still will not be globally accurate, it is a step
to ensure that your system clock isn't either wildly out of sync, or
broken.

With the inclusion of the new time keeping API in Erlang 18, and the
explicit os_system_time_source, was there a reason the RFC1589 time
API wasn't included? Would it make sense to add a
os_precise_system_time_source that queries, and exposes the
information in RFC1589, or even add an RFC1589-like extension to the
Erlang time API?



More information about the erlang-questions mailing list