Instead of time(), have you tried clock_gettime(CLOCK_MONOTONIC) from Time::HiRes? The monotonic clock isn't adjusted by NTP and simply counts from some unspecified time in the past.
In reply to Re: The most precise second (timer)
by jcb
in thread The most precise second (timer)
by tukusejssirs
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |