
26 Jan
2005
26 Jan
'05
7:29 p.m.
Marcin 'Qrczak' Kowalczyk wrote:
Keean Schupke
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. Keean.