commit | e969730be5ca113c966f1c8a8852f8e324072c34 | [log] [tgz] |
---|---|---|
author | Benoît Lizé <lizeb@chromium.org> | Fri Feb 28 10:14:10 2025 |
committer | Chromium LUCI CQ <chromium-scoped@luci-project-accounts.iam.gserviceaccount.com> | Fri Feb 28 10:14:10 2025 |
tree | 9a04b582d75e0320eae3b48537506dd182170fff | |
parent | dc63ba396be47e9d30bdbf8d8a641721621a6507 [diff] |
[cc/scheduler] Align main frame throttling on Impl frame timing Prior to this CL, main frame throttling relied on TimeTicks::Now() when the main frame is about to be sent. This is thus subject to jitter if and when there is descheduling, or long processing delays. From a code cleanliness standpoint, it also makes SchedulerStateMachine depend on hidden state, i.e. current time. This CL makes all throttling decisions based on the timestamp contained in BeginFrameArgs. It eliminates the source of jitter, and makes all computations deterministic. Bug: 379678455 Change-Id: I1127e72faa50c1dd9b13d815ec18862805da66b4 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6304752 Reviewed-by: Jonathan Ross <jonross@chromium.org> Commit-Queue: Benoit Lize <lizeb@chromium.org> Cr-Commit-Position: refs/heads/main@{#1426202}
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.