In article <cagt4q5pljrio856uhfd_rzcxcw+e1xuuhzs6bn2fl21bmgs...@mail.gmail.com>, Rich Neswold <[email protected]> wrote: >-=-=-=-=-=- > >On Mon, Dec 7, 2015 at 7:03 AM, Christos Zoulas <[email protected]> wrote: > >> In article <[email protected]>, >> Paul Goyette <[email protected]> wrote: >> >However, looking at the source file for lib/libc/sys/settimeofday.c we >> >have the following comment which says that we first try the syscall() >> >and only use the /dev/clockctl mechanism if the syscall() fails: >> >> Using the syscall is simpler and cheaper, so I think the man page should >> be updated. >> > >Is settimeofday() called frequently enough that "cheaper" is a concern? >What is more correct (I don't know the answer)?
I think that it is best to minimize the delay between calling it and setting the time. christos
