Re: Post processing of NTP data...
- From: "Richard B. Gilbert" <rgilbert88@xxxxxxxxxxx>
- Date: Tue, 27 Sep 2005 20:33:36 -0400
Val Schmidt wrote:
Many operating systems update the clock at ten millisecond intervals; e.g. the clock "ticks" at 100 Hz. When queried as to the time using O/S services, these systems respond with the current value of the clock register. The maximum error is thus 9.99999... milliseconds and the typical error is 5 milliseconds. Some very new hardware designs allow ntpd to interpolate between "ticks" and yield a much more precise time, if and only if, you use NTP supplied functions to get the time. I seem to recall that Windows uses some really odd interval like 17 milliseconds between "ticks". Linux can optionally update the clock every millisecond (1 KHz tick rate) but this doesn't work very well as the system tends to lose clock interrupts when it gets busy.I've embedded some further questions below.
By the way, thanks for the insight.
On Sep 27, 2005, at 5:05 AM, Brad Knowles wrote:
At 5:08 PM -0400 2005-09-26, Val Schmidt wrote:
I want to log several things with time stamps on the order of ~ . 1ms -
maybe less.
Most modern OSes don't allow you to directly achieve better than 10-20ms accuracy at the level of an individual event. Some real-time operating systems (RTOSes) may allow you to achieve finer resolution at that level, but I don't know if any of them are going to let you get down to the level you want.
Can you help me understand why?
Most applications simply do not require precise and accurate time and general purpose computers are generally not designed for precise and accurate timing.
.
- Follow-Ups:
- Re: Post processing of NTP data...
- From: Danny Mayer
- Re: Post processing of NTP data...
- References:
- Post processing of NTP data...
- From: Val Schmidt
- Re: Post processing of NTP data...
- From: Brad Knowles
- Re: Post processing of NTP data...
- From: Val Schmidt
- Post processing of NTP data...
- Prev by Date: Re: Servers just doen't work (after following the troubleshooting page)
- Next by Date: Re: Post processing of NTP data...
- Previous by thread: Re: Post processing of NTP data...
- Next by thread: Re: Post processing of NTP data...
- Index(es):
Relevant Pages
|