[ntp:hackers] timespec vs timeval

David L. Mills mills at udel.edu
Tue Jul 17 02:24:29 UTC 2007


P-H,

Lack of portability? The get_systime() is used by all important 
components that read the system clock other than, it seems, to strike a 
packet arrival timestamp. It handles several kernel interfaces, but 
prefers a timespec. If it wasn't portable, ntpd itself would not be 
portable.

Dave

Poul-Henning Kamp wrote:

> In message <469BD6ED.1020505 at udel.edu>, "David L. Mills" writes:
>
>> Is there a reason why the get_systimer() is not used?
>
>
> Its lack of portability ?
>



More information about the hackers mailing list