mirror of
https://github.com/cosinekitty/astronomy.git
synced 2025-12-25 16:48:34 -05:00
It turns out that GetSystemTimeAsFileTime only returns time with millisecond resolution. In order to get microsecond resolution in Astronomy_CurrentTime(), I had to switch to GetSystemTimePreciseAsFileTime for Windows. Example output from unit test: C Test_AstroTime: PASS - realtime increment = 3.143e-07 seconds after 1 iterations.