Reland "base: Add API to restrict thread affinity to little cores on Android"
This is a reland of 027aa92e Relanding but disabling test on CrOS devices (some of our CrOS devices seem to have asymmetric CPUs that aren't covered by the test). 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 Bug: 1111789 Change-Id: I59315ec0e9a1727986278a04fa5bde409143dfb5 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2339416Reviewed-by:Eric Seckler <eseckler@chromium.org> Reviewed-by:
Sami Kyöstilä <skyostil@chromium.org> Auto-Submit: Eric Seckler <eseckler@chromium.org> Commit-Queue: Sami Kyöstilä <skyostil@chromium.org> Commit-Queue: Eric Seckler <eseckler@chromium.org> Cr-Commit-Position: refs/heads/master@{#795126}
Showing
base/cpu_affinity_posix.cc
0 → 100644
base/cpu_affinity_posix.h
0 → 100644
Please register or sign in to comment