[Support] Fix computeHostNumPhysicalCores() to respect affinity
computeHostNumPhysicalCores() is designed to respect CPU affinity. D84764 used sysconf(_SC_NPROCESSORS_ONLN) which does not respect affinity. SupportTests Threading.PhysicalConcurrency may fail if taskset -c is specified.
Loading
Please sign in to comment