[Linuxptp-devel] Wrong time structure in clock_adjtime?

2018-01-11 Thread Loy, Matthias
Hello, I am confused about the usage of clock_settime() and clock_adjtime(). The first one gets a struct timespec which contains seconds and nanosconds. clock_adjtime takes a timex structure that contains a timeval structure which holds seconds and microseconds. When looking into the source of l

Re: [Linuxptp-devel] Wrong time structure in clock_adjtime?

2018-01-11 Thread Miroslav Lichvar
On Thu, Jan 11, 2018 at 01:03:41PM +, Loy, Matthias wrote: > The first one gets a struct timespec which contains seconds and > nanosconds. clock_adjtime takes a timex structure that contains a > timeval structure which holds seconds and microseconds. > > When looking into the source of linuxpt