Closed Bug 1734597 Opened 3 years ago Closed 3 years ago

about:processes shows slightly active threads and processes as idle on Windows

Categories

(Toolkit :: Performance Monitoring, defect)

defect

Tracking

()

RESOLVED FIXED
95 Branch
Tracking Status
firefox95 --- fixed

People

(Reporter: florian, Assigned: florian)

References

Details

Attachments

(1 file)

On Windows the resolution of the CPU time information is 16ms, so any thread that used less than 16ms in the last seconds is reported as idle. This is annoying because it means we can't figure out which threads cause many short CPU wake ups. The API that is reliable on Windows is the API returning the thread cycle count, so we can use it as a fallback to decide which threads are idle.

Pushed by fqueze@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/df62726f3d16 Make about:processes fallback to cycle count to decide if a thread or process is active to workaround low CPU timing precision on Windows, r=dthayer,fluent-reviewers,flod.
Status: ASSIGNED → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → 95 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: