Message247024
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? |
|
Date |
User |
Action |
Args |
2015-07-21 10:50:56 | vstinner | set | recipients:
+ vstinner, lemburg, tim.peters, belopolsky, pitrou, tim.golden, akira, zach.ware, steve.dower |
2015-07-21 10:50:56 | vstinner | set | messageid: <1437475856.88.0.682110111748.issue19007@psf.upfronthosting.co.za> |
2015-07-21 10:50:56 | vstinner | link | issue19007 messages |
2015-07-21 10:50:56 | vstinner | create | |
|