commit | 9f0a9f727aa7da129ec94e073378c36d011779be | [log] [tgz] |
---|---|---|
author | Mohsen Izadi <mohsen@chromium.org> | Wed Sep 08 22:44:38 2021 |
committer | Chromium LUCI CQ <chromium-scoped@luci-project-accounts.iam.gserviceaccount.com> | Wed Sep 08 22:44:38 2021 |
tree | 64bc69fa526fb128c5fa633dcf7a87060133dc27 | |
parent | cde27c7c2270bc661c06996874bc7e4ebd418bf6 [diff] |
Sort events for average lag using timestamp AverageLagTracker expects information about events are fed into it in order, so events in a frame should be sorted before being passed to it. Currently, this sorting is based on event's trace id. Instead we can use timestamp of event to sort them. This way, we don't need to keep track of trace ids for events which is one step towards moving average lag metrics tracking off of ui::LatencyInfo. Bug: 1101000 Change-Id: I77acae9d254280c3d97ca404f94832f811d99ede Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3138363 Commit-Queue: Mohsen Izadi <mohsen@chromium.org> Reviewed-by: Robert Flack <flackr@chromium.org> Cr-Commit-Position: refs/heads/main@{#919498}
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
To check out the source code locally, don't use git clone
! Instead, follow the instructions on how to get the code.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .
For historical reasons, there are some small top level directories. Now the guidance is that new top level directories are for product (e.g. Chrome, Android WebView, Ash). Even if these products have multiple executables, the code should be in subdirectories of the product.
If you found a bug, please file it at https://crbug.com/new.