Mobile/Powersaving/Wakeups/Debugging: Difference between revisions

Jump to navigation Jump to search
no edit summary
No edit summary
 
Line 10: Line 10:


* Slightly underreports when compared to powertop. The reason is that each call to a wakeup-related function (like NotifyCondVar) can potentially lead to more than 1 wakeup. In other words, powertop measures absolute wakeups, the tool measures 'logical' wakeups. The two are proportional, so lowering one will lower the other. The ratio is something like 1:1.5.
* Slightly underreports when compared to powertop. The reason is that each call to a wakeup-related function (like NotifyCondVar) can potentially lead to more than 1 wakeup. In other words, powertop measures absolute wakeups, the tool measures 'logical' wakeups. The two are proportional, so lowering one will lower the other. The ratio is something like 1:1.5.
=== Various Wakeups of Note ===
* Sleep for 0 time in timer thread (2/3 of our wakeups!) - {{bug|596373}}
* IdleService (1/5) - {{bug|584660}}
* nsEventStateManager's nsUITimerCallback (1/5) - {{bug|508518}}
* nsHttpHandler (1/10?)


=== Old Approaches to Finding Wakeups ===
=== Old Approaches to Finding Wakeups ===
213

edits

Navigation menu