-
Eric Seckler authored
Currently, base::CPU::GuessCoreTypes() is called in multiple places and executes the same code multiple times, even though the result is constant. There's already some static caching in different places. This patch moves the static caching into base::CPU::GuessCoreTypes() and renames it to base::CPU::GetGuessedCoreTypes(). Bug: 1081760 Change-Id: Ifaff01cc19abc48a36d5fe19bc4cb9a9cfa4fd24 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2463309 Commit-Queue: Eric Seckler <eseckler@chromium.org> Reviewed-by:
Daniel Cheng <dcheng@chromium.org> Cr-Commit-Position: refs/heads/master@{#816122}
108d547b