-
Notifications
You must be signed in to change notification settings - Fork 6.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added UMA metrics to record background task duration
This CL adds metrics to record the length of background task for each type of tasks. The metrics was added for both JobService and alarm manager type of tasks. GCM manager type was excluded since it is only used for Android L and below. The uma stats were directly passed to the recorder in BackgroundTaskSchedulerUma instead of the existing pattern of caching and flushing to disk after native is loaded. UMA seems to already have a similar caching mechanism in-built which eliminates the need for it. Bug: 1291584 Change-Id: Ia0720e94c605add7af2f0bdbcaeae1ef23161ef7 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3635420 Reviewed-by: Tommy Nyquist <nyquist@chromium.org> Reviewed-by: Tomasz Wiszkowski <ender@google.com> Commit-Queue: Shakti Sahu <shaktisahu@chromium.org> Cr-Commit-Position: refs/heads/main@{#1002431}
- Loading branch information
Shakti Sahu
authored and
Chromium LUCI CQ
committed
May 12, 2022
1 parent
3cf88ac
commit 803f0c1
Showing
5 changed files
with
134 additions
and
1 deletion.
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
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