[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [gpsd-dev] Updated docs on NTP segment management
From: |
Harlan Stenn |
Subject: |
Re: [gpsd-dev] Updated docs on NTP segment management |
Date: |
Sat, 07 Mar 2015 12:07:20 -0800 |
User-agent: |
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:31.0) Gecko/20100101 Thunderbird/31.5.0 |
Eric,
Your patch uses clock_gettime() to get the time for the tvc structure.
That's not sufficiently portable for us.
>From what I can see, the tvc structure and its predecessor code in the
old driver only care about how many seconds have passed, in order to do
a check against up->max_delay.
Do you have future plans for the tvc structure where higher-resolution
information will be useful? Otherwise I'm inclined to revert the patch
in that area to go back to a time() call, as that easily gives us the
"seconds" we're looking for.
--
Harlan Stenn <address@hidden>
http://networktimefoundation.org - be a member!
- Re: [gpsd-dev] Updated docs on NTP segment management, (continued)
Re: [gpsd-dev] Updated docs on NTP segment management,
Harlan Stenn <=
- Re: [gpsd-dev] Updated docs on NTP segment management, Gary E. Miller, 2015/03/07
- Re: [gpsd-dev] Updated docs on NTP segment management, Harlan Stenn, 2015/03/07
- Re: [gpsd-dev] Updated docs on NTP segment management, Gary E. Miller, 2015/03/07
- Re: [gpsd-dev] Updated docs on NTP segment management, Harlan Stenn, 2015/03/07
- Re: [gpsd-dev] Updated docs on NTP segment management, Gary E. Miller, 2015/03/07
- Re: [gpsd-dev] Updated docs on NTP segment management, Eric S. Raymond, 2015/03/07
- Re: [gpsd-dev] Updated docs on NTP segment management, Harlan Stenn, 2015/03/07