[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [gpsd-dev] Print offset in ntpshmmon?
From: |
Hal Murray |
Subject: |
Re: [gpsd-dev] Print offset in ntpshmmon? |
Date: |
Thu, 30 Apr 2015 10:21:16 -0700 |
address@hidden said:
> Offset is normally close to zero. I think printing the offset in ntpshmmon
> as a double and parsing it as a float in ntpshmviz would be fine.
I can't think of any case where offsets as floats would cause problems.
doubles might be better.
The problem is the timestamps. To get an offset by subtracting two
timestamps, you need to do that subtraction before the conversion to floating
point.
--
These are my opinions. I hate spam.
- [gpsd-dev] Print offset in ntpshmmon?, Miroslav Lichvar, 2015/04/21
- Re: [gpsd-dev] Print offset in ntpshmmon?, Eric S. Raymond, 2015/04/21
- Re: [gpsd-dev] Print offset in ntpshmmon?, Gary E. Miller, 2015/04/21
- Re: [gpsd-dev] Print offset in ntpshmmon?, Miroslav Lichvar, 2015/04/22
- Re: [gpsd-dev] Print offset in ntpshmmon?, Gary E. Miller, 2015/04/22
- Re: [gpsd-dev] Print offset in ntpshmmon?, Eric S. Raymond, 2015/04/28
- Re: [gpsd-dev] Print offset in ntpshmmon?, Gary E. Miller, 2015/04/28
- Re: [gpsd-dev] Print offset in ntpshmmon?, Gary E. Miller, 2015/04/28
- Re: [gpsd-dev] Print offset in ntpshmmon?, Miroslav Lichvar, 2015/04/30
- Re: [gpsd-dev] Print offset in ntpshmmon?,
Hal Murray <=
- Re: [gpsd-dev] Print offset in ntpshmmon?, Gary E. Miller, 2015/04/30
- Re: [gpsd-dev] Print offset in ntpshmmon?, Gary E. Miller, 2015/04/30
Re: [gpsd-dev] Print offset in ntpshmmon?, Gary E. Miller, 2015/04/21