"David J Taylor" <[email protected]> writes:
>David Woolley wrote: >> David J Taylor wrote: >> >>> >>> - with operating system calls, the main clock can be read with a >>> precision of 1 millisecond (although the ticks may be only 15 >>> milliseconds). There are higher resolution counters which can also >>> be read. >> >> >> The architectural resolution is much higher than this. I think you >> are seeing actual 1ms clock ticks, as the result of ntpd forcing the >> use of multi-media timer mode. Since the same machine can run Linux or BSD whose resolution is usec or nsec, yes, the hardware can do better. The question is how good is the software in the kernel. If I do a timestamp on an event, how accurate is that timestamp? Is it msec? Is it 15msec? >David, yes the hardware is better, but I was asked what the system clock >call was and the structure it returns only goes down to milliseconds. What the structure returns need have nothing to do with the accuracy. Linux system calls can return a structure with nsec but the accuracy of the linux clock is no better than usec. >See: > http://msdn.microsoft.com/en-us/library/ms724390(VS.85).aspx > http://msdn.microsoft.com/en-us/library/ms724950(VS.85).aspx >I'm not "seeing" anything. >Cheers, >David _______________________________________________ questions mailing list [email protected] https://lists.ntp.org/mailman/listinfo/questions
