commit | a4f1dd19fa6f7fee0cc7c69cfa23be577cdd815f | [log] [tgz] |
---|---|---|
author | Joel Hockey <joelhockey@chromium.org> | Thu Aug 12 22:22:42 2021 |
committer | Chromium LUCI CQ <chromium-scoped@luci-project-accounts.iam.gserviceaccount.com> | Thu Aug 12 22:22:42 2021 |
tree | 64bffdbec190a92a3931f03f65b0d2e513ccc5ff | |
parent | a3c76a667a59ee7b79cc036dc91b9b6909fda0ec [diff] |
Add Core Scheduling helper functions Adds IsCoreSchedulingAvailable() and NumberOfProcessorsForCoreScheduling(). These functions will be used to set the --cpu count for crosvm. http://go/crosvm-cpu-count These functions were partially implemented early for arcvm, and are now moved to a central place where they can be shared with crostini or other VMs. Bug: 1228565 Change-Id: I2c5793aac2b0079b7af964dcf9bcf1a207db6950 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3063740 Reviewed-by: Lei Zhang <thestig@chromium.org> Reviewed-by: Steven Bennetts <stevenjb@chromium.org> Reviewed-by: Brian Geffon <bgeffon@chromium.org> Reviewed-by: Yusuke Sato <yusukes@chromium.org> Commit-Queue: Joel Hockey <joelhockey@chromium.org> Cr-Commit-Position: refs/heads/master@{#911518}
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.