On Tue, Jun 13, 2017 at 10:35:42AM -0600, Brian Olson wrote:
> double clockadj_get_freq(clockid_t clkid)
> {
>         double f = 0.0;
>         struct timex tx;
>         memset(&tx, 0, sizeof(tx));
>         if (clock_adjtime(clkid, &tx) < 0) {

>From your logs it seems the problem is that clock_adjtime() returns
zero ticks instead of 10000 for the REALTIME clock. I suspect it's a
kernel or possibly glibc bug.

-- 
Miroslav Lichvar

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Linuxptp-users mailing list
Linuxptp-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linuxptp-users

Reply via email to