Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
darwin: optionally get cpukinds from new sysctl hw.perflevels too
Use the existing IOKit code by default since it provides info about core types, and the precise list of core indexes, while sysctl only gives the number of cores per kind. If we found nothing in IOKit or HWLOC_DARWIN_CPUKINDS_FROM_SYSCTL=1 in the env, use sysctl instead. Signed-off-by: Brice Goglin <Brice.Goglin@inria.fr>
- Loading branch information
Showing
2 changed files
with
66 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters