[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.
parent
8830f117
Please register or sign in to comment