Open
Bug 1651843
Opened 4 years ago
Updated 4 years ago
Investigate using SetWaitableTimer instead of Sleep in Windows sampler loop
Categories
(Core :: Gecko Profiler, enhancement, P3)
Tracking
()
NEW
People
(Reporter: mozbugz, Unassigned)
References
Details
:mstange suggested that we may want to replace ::Sleep(milliseconds)
in the profiler Sampler loop with SetWaitableTimer
, which has a better-that-millisecond precision.
But we should verify that it can in fact sleep for less than a millisecond.
This could potentially help with bug 1574815 (effective minimum sampling interval is 2ms on Windows).
Reporter | ||
Comment 1•4 years ago
|
||
Some relevant discussion in rust-lang: https://github.com/rust-lang/rust/issues/43376
You need to log in
before you can comment on or make changes to this bug.
Description
•