Keep It Simple, Stupid | |
PerlMonks |
Re^4: The most precise second (timer)by tukusejssirs (Beadle) |
on Nov 27, 2019 at 22:08 UTC ( [id://11109331]=note: print w/replies, xml ) | Need Help?? |
I think you led me to the right direction: nanosecond. I used the following script and compared the results with the original code. When averaging differences of 100 seconds (each script), the original comes out a bit better, but when averaging diffs of 300 seconds, the new script is better.
The averages:
I believe I cannot get better results without atomic clock. Correct me if I’m wrong. Anyway, thanks for the help and your time!
In Section
Seekers of Perl Wisdom
|
|