gecko-dev/tools/profiler
Gerald Squelart 098790a8eb Bug 1703410 - Only change Windows timer resolution if PROFILER_ADJUST_TIMER_RESOLUTION is set - r=florian
On Windows, the profiler changes the timer resolution when the sampling interval is less than 10ms.
However this change affects all of Firefox, which can change other behaviors, sometimes causing confusion when refresh-rate issues magically disappear when the profiler is running.

So now by default the profiler will not change the timer resolution. This should rarely affect the profiler's effective sampling rate, unless all threads in a process are in a waiting state, in which case there is nothing new to sample anyway! The front-end is investigating ways to make sampling gaps more obvious, see https://github.com/firefox-devtools/profiler/issues/2962

If some power users really need the added sampling precision in some profiling sessions, the timer resolution change may be requested before running Firefox, by setting the environment variable "PROFILER_ADJUST_TIMER_RESOLUTION" to any value.

Differential Revision: https://phabricator.services.mozilla.com/D115451
2021-05-19 22:29:17 +00:00
..
core Bug 1703410 - Only change Windows timer resolution if PROFILER_ADJUST_TIMER_RESOLUTION is set - r=florian 2021-05-19 22:29:17 +00:00
docs Bug 1676079 - For consistency and clarity, add Marker suffix to all marker types - r=gregtatum 2020-11-30 22:52:44 +00:00
gecko Bug 1710607 - If not profiling, make ShutdownProfilerChild dispatch SYNC - r=canaltinova 2021-05-12 10:44:33 +00:00
lul Bug 1679522 - Fix include directives and forward declarations. r=andi,necko-reviewers,jgilbert 2021-03-25 10:19:44 +00:00
public Bug 1708350 - profiler_suspend_and_sample_thread can now sample the current thread - r=canaltinova 2021-05-06 23:23:40 +00:00
rust-helper
tasktracer
tests Bug 1708350 - profiler_suspend_and_sample_thread can now sample the current thread - r=canaltinova 2021-05-06 23:23:40 +00:00
moz.build Bug 1693037 - Fix non-MOZ_GECKO_PROFILER builds - r=florian 2021-02-17 22:36:28 +00:00