mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-02 18:08:58 +00:00
833ccac51b
Instead of waiting a set time guessed from how long the parent process took to do its work, after a short time the parent process requests progress updates from all still-pending child processes, and restarts the timer if any progress was made. If processes become unresponsive, they will be the last ones pending, and after one timer cycle without any progress anywhere, the parent process won't wait for children anymore, and will output all profiles successfully gathered so far. Added `MOZ_LOG=prof` logging in nsProfiler.cpp, to monitor profile-gathering. (And removed a spurious 'd' character in the `LOG` macro.) Differential Revision: https://phabricator.services.mozilla.com/D135488 |
||
---|---|---|
.. | ||
ChildProfilerController.cpp | ||
components.conf | ||
nsIProfiler.idl | ||
nsProfiler.cpp | ||
nsProfiler.h | ||
nsProfilerCIID.h | ||
nsProfilerStartParams.cpp | ||
nsProfilerStartParams.h | ||
PProfiler.ipdl | ||
ProfilerChild.cpp | ||
ProfilerIOInterposeObserver.cpp | ||
ProfilerIOInterposeObserver.h | ||
ProfilerParent.cpp | ||
ProfilerTypes.ipdlh |