forked from chromium/chromium
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Mac] Report total idle wakeups instead of just package exits.
Currently, we report only a subset of idle wakeups in the task manager: "package idle exits" (essentially a wakeup of the IC that includes the processor, caches etc; see man powermetrics for details). This is a useful metric, but it isn't what's shown in Activity Monitor or used when calculating EXC_RESOURCE RESOURCE_TYPE_WAKEUPS exceptions (see crbug.com/684051). This changes |ProcessMetrics::GetIdleWakeupsPerSecond| to report total wakeups, but maintains the package idle exit calculation for reporting to UMA (will be in a follow-up CL). Bug: 649641 Change-Id: I6034f258a101b26a2fd6b4b72708a0682c63b19a Reviewed-on: https://chromium-review.googlesource.com/702049 Reviewed-by: Mark Mentovai <mark@chromium.org> Reviewed-by: Jayson Adams <shrike@chromium.org> Commit-Queue: Leonard Grey <lgrey@chromium.org> Cr-Commit-Position: refs/heads/master@{#507396}
- Loading branch information
1 parent
3dbd401
commit d1fc0b4
Showing
3 changed files
with
103 additions
and
41 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters