k.schupke at imperial.ac.uk
Wed Jan 26 14:29:32 EST 2005
Marcin 'Qrczak' Kowalczyk wrote:
>Keean Schupke <k.schupke at imperial.ac.uk> writes:
>>Yes timing between point in time should be independant of leap
>>seconds, so if a program, takes 5 seconds to run it should always
>>take 5 seconds, even if it runs accross midnight.
>How would you implement it, given that gettimeofday() and other Unix
>calls which return the current time either gradually slow down near a
>leap second (if NTP is used to synchronize clocks) or the clock is not
>adjusted at all, and at the next time it is set it will just be on
>average one second later (if it is being set manually)?
The computers timer should not attempt to adjust for leap seconds...
Consider it a chronograph.
More information about the Libraries