> Date: Thu, 21 Apr 2022 22:30:21 +0700 > Cc: bug-gnulib@gnu.org, 54...@debbugs.gnu.org > From: Max Nikulin <maniku...@gmail.com> > > Eli Zaretskii, Wed, 20 Apr 2022 22:30:21 > > I see the time samples change in jumps of 15 msec. Which is expected > > on MS-Windows, given the scheduler time tick, > > Why do you expect such value?
It is a well-known fact that the system timer tick happens 64 times a second on MS-Windows. > Clock resolution generally has a little common with timers. I agree, but that's something you should tell/ask Paul, not myself. > I have no experience with windows-specific code, but quick search gives > GetSystemTimePreciseAsFileTime that should provide timestamps with fine > granularity > https://docs.microsoft.com/en-us/windows/win32/api/sysinfoapi/nf-sysinfoapi-getsystemtimepreciseasfiletime That API exists only since Windows 8. More importantly, the Gnulib implementation of current_timespec doesn't use it.