STINNER Victor added the comment: Python 3.5 has a new C function _PyTime_GetSystemClock() which uses the new _PyTime_t type. It now has a resolution of 1 nanosecond.
Sorry, I don't have Windows 8 at home, so I cannot work on this issue. I guess that we should check at runtime if GetSystemTimePreciseAsFileTime() is available, as we did for GetTickCount64() in the past: hKernel32 = GetModuleHandleW(L"KERNEL32"); *(FARPROC*)&Py_GetTickCount64 = GetProcAddress(hKernel32, "GetTickCount64"); Is there any Windows developer interested to write a short patch to implement it? ---------- versions: +Python 3.6 -Python 3.5 _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue19007> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com