New issue
Advanced search Search tips

Issue 923118 link

Starred by 1 user

Issue metadata

Status: Untriaged
Owner: ----
Components:
EstimatedDays: ----
NextAction: ----
OS: ----
Pri: 3
Type: Bug



Sign in to add a comment

TimeTicks should always use QueryPerformanceCounter on Windows

Project Member Reported by ri...@microsoft.com, Jan 17 (5 days ago)

Issue description

TimeTicks currently has a workaround for past QueryPerformanceCounter challenges. Past issues include correctness, precision and cost of reading. These are supposed to fixed in newer versions of Windows. This bug tracks always using QueryPerformanceCounter.

Need to verify the performance cost of QueryPerformanceCounter, on Win7, with a variant time stamp counter CPU, before enabling.

See also:
https://docs.microsoft.com/en-us/windows/desktop/SysInfo/acquiring-high-resolution-time-stamps#qpc-support-in-windows-versions
https://chromium-review.googlesource.com/c/chromium/src/+/1413055

 

Sign in to add a comment