Home
last modified time | relevance | path

Searched refs:available_cpus (Results 1 – 1 of 1) sorted by relevance

/third_party/mesa3d/src/util/
Du_cpu_detect.c590 int available_cpus = 0; in util_cpu_detect_once() local
600 available_cpus = MAX2(1, system_info.dwNumberOfProcessors); in util_cpu_detect_once()
616 available_cpus = CPU_COUNT(&affin); in util_cpu_detect_once()
625 if (available_cpus == 0) { in util_cpu_detect_once()
631 available_cpus = ncpu; in util_cpu_detect_once()
634 if (available_cpus == 0) { in util_cpu_detect_once()
635 available_cpus = sysconf(_SC_NPROCESSORS_ONLN); in util_cpu_detect_once()
636 if (available_cpus == ~0) in util_cpu_detect_once()
637 available_cpus = 1; in util_cpu_detect_once()
640 if (available_cpus == 0) { in util_cpu_detect_once()
[all …]