Revert "base: Add API to restrict thread affinity to little cores on Android"
This reverts commit 027aa92e. Reason for revert: This change breaks the chromeos builder: https://ci.chromium.org/p/chrome/builders/ci/chromeos-kevin-chrome See builds: https://ci.chromium.org/p/chrome/builders/ci/chromeos-kevin-chrome/9123 https://ci.chromium.org/p/chrome/builders/ci/chromeos-kevin-chrome/9124 Error is: ../../base/cpu_affinity_posix_unittest.cc:108: Failure Expected equality of these values: __sched_cpucount (sizeof (cpu_set_t), &set) Which is: 4 expected_little_cores Which is: 6 Original change's description: > base: Add API to restrict thread affinity to little cores on Android > > Adds functions that facilitate setting the CPU affinity of a given > thread or process to all little cores on the system. > > We intend to use this API to run a power experiment. > > Bug: 1111789 > Change-Id: I6c3d32c2338e9f00464e8b6a8c96af93658a3ae2 > Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2335176 > Commit-Queue: Eric Seckler <eseckler@chromium.org> > Reviewed-by: Daniel Cheng <dcheng@chromium.org> > Reviewed-by: Sami Kyöstilä <skyostil@chromium.org> > Cr-Commit-Position: refs/heads/master@{#794998} TBR=dcheng@chromium.org,skyostil@chromium.org,eseckler@chromium.org Change-Id: I969b4cd892c341f5e0612be6d571de461b4bb6c3 No-Presubmit: true No-Tree-Checks: true No-Try: true Bug: 1111789 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2339498Reviewed-by:Roger Tawa <rogerta@chromium.org> Commit-Queue: Roger Tawa <rogerta@chromium.org> Cr-Commit-Position: refs/heads/master@{#795030}
Showing
Please register or sign in to comment