2 ms·
CLOCK_MONOTONIC is affected by NTP on Linux, at least. UNIX time is not actually seconds since the epoch. It's just something very, very close. There are a f
by cmccabe 13y ago
CLOCK_MONOTONIC is affected by NTP on Linux, at least.
UNIX time is not actually seconds since the epoch. It's just something very, very close. There are a few cases where the same time_t value repeats for two seconds in order to insert a leap second.
With regard to Windows, I assume there are equivalents to all these interfaces, but I don't know what they are.