Closed
Bug 980030
Opened 11 years ago
Closed 8 years ago
Use a real time thread for b2g sampling
Categories
(Core :: Gecko Profiler, defect)
Tracking
()
RESOLVED
WONTFIX
People
(Reporter: BenWa, Unassigned)
References
Details
Results from bug 980027 show promising results. This should improve our sampling accuracy on b2g quite a bit.
Comment 1•11 years ago
|
||
I plan to land a fix to GonkHal.cpp to allow RT thread priorities in bug 980027. So this bug depends on that.
Depends on: 980027
Comment 2•11 years ago
|
||
Are we talking about "InputReader" thread here or else ?
http://dxr.mozilla.org/mozilla-central/source/widget/gonk/nsAppShell.cpp#961
Reporter | ||
Comment 3•11 years ago
|
||
(In reply to Vincent Lin[:vilin] from comment #2)
> Are we talking about "InputReader" thread here or else ?
> http://dxr.mozilla.org/mozilla-central/source/widget/gonk/nsAppShell.cpp#961
No, I mean the thread which takes samples:
http://mxr.mozilla.org/mozilla-central/source/tools/profiler/platform-linux.cc#261
If a high priority thread is running we wont be able to collect samples because right now the SignalSender is of default priority and therefore get a bad sample when trying to profile it.
Comment 4•11 years ago
|
||
This will need child process access to hal::SetCurrentThreadPriority(). This is bug 982325.
Depends on: 982325
You need to log in
before you can comment on or make changes to this bug.
Description
•