Delta Time - Streamlined Time Keeping For Games

Abdulhaq alynch4048 at gmail.com
Sun Aug 21 12:02:20 UTC 2022


On Saturday, 20 August 2022 at 22:29:13 UTC, jordan4ibanez wrote:
Thanks for your detailed reply Jordan :-). I think I need to 
explain my question in more detail.

The first generation atomic clock was acccurate to 10e-11 seconds 
or 1/100 nanosecond 
https://en.wikipedia.org/wiki/Atomic_clock#Accuracy.

PC clocks in general (assuming you are talking about PCs here) 
seem to be heading towards an accuracy of near 10 nanoseconds 
(https://stackoverflow.com/questions/2607263/how-precise-is-the-internal-clock-of-a-modern-pc).

So I suspect that although from you lower level calls you may be 
receiving readings as doubles, in fact the actual accuracy (and I 
mean accuracy, not precision 
https://manoa.hawaii.edu/exploringourfluidearth/physical/world-ocean/map-distortion/practices-science-precision-vs-accuracy) is probably not 1 nanosecond. However, maybe you're doing something that I'm not expecting or I don't know about (very possible), hence the question.


More information about the Digitalmars-d mailing list