-
Notifications
You must be signed in to change notification settings - Fork 6.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
To be closer to the final API, makes ScopedCPUQuery::QueryOnce() return results asynchronously through a callback. Adapts PageTimelineCPUMonitor and PageTimelineMonitor to make CPU queries asynchronously. Also adds more RunInGraph test helpers that pass run_loop.QuitCallback() for tests to call manually after asynchronous operations complete. Bug: 1471683 Change-Id: I591dd45af741c2da57aa9914d4a890911180a98f Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4950104 Reviewed-by: Alison Gale <agale@chromium.org> Commit-Queue: Joe Mason <joenotcharles@google.com> Cr-Commit-Position: refs/heads/main@{#1212575}
- Loading branch information
1 parent
11f7df0
commit d04f887
Showing
13 changed files
with
311 additions
and
108 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
Oops, something went wrong.