|
|
|
good chemistry is complicated, and a little bit messy -LW |
|
| PerlMonks |
Re: The most precise second (timer)by jcb (Parson) |
| on Nov 27, 2019 at 23:14 UTC ( [id://11109341]=note: print w/replies, xml ) | Need Help?? |
|
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 Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||||||||||