Delta Time - Streamlined Time Keeping For Games

jordan4ibanez jordan4ibanez002 at gmail.com
Sun Aug 21 22:54:57 UTC 2022


On Sunday, 21 August 2022 at 12:02:20 UTC, Abdulhaq wrote:
> 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.

Ohh I get it. No I'm not doing anything that advance with atomic 
clocks. I cannot change forum posts so let's just leave it at: "I 
tried to make this as accurate as possible for your machine down 
to the nanosecond" :P


More information about the Digitalmars-d mailing list