Description[Android] Support idle wakeup measurement with /proc/timer_stats
Add support for using /proc/timer_stats to measure idle wakeups, as
tracked by power metrics. This involves piping begin/end markers to
/proc/timer_stats to collect the necessary stats, and mapping the
resulting per-thread wakeup data to a given process id.
Unfortunately, the way Mac measures idle wakeups is very different,
which makes the current measurement glue somewhat misleading for all
platforms. Longer term, idle wakeup measurements should be rolled
into a standalone PowerMonitor.
Based on the original change by thestig@chromium.org at
https://codereview.chromium.org/675843004/.
BUG=391309, 422170
CQ_EXTRA_TRYBOTS=tryserver.chromium.perf:linux_perf_bisect;tryserver.chromium.perf:android_nexus5_perf_bisect
Patch Set 1 #Patch Set 2 : Cleanup #Patch Set 3 : Working test #
Total comments: 3
Messages
Total messages: 13 (5 generated)
|