Home
last modified time | relevance | path

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

/openbsd-src/usr.bin/systat/
H A Dcpu.c101 int cpu_count; variable
154 for (i = 0; i < cpu_count; i++) { in cpu_info()
186 num_disp = cpu_count; in read_cpu()
194 size_t size = sizeof(cpu_count); in initcpu()
199 if (sysctl(mib, 2, &cpu_count, &size, NULL, 0) == -1) in initcpu()
201 if ((cpu_states = calloc(cpu_count, in initcpu()
204 if ((cpu_tm = calloc(cpu_count, sizeof(*cpu_tm))) == NULL || in initcpu()
205 (cpu_old = calloc(cpu_count, sizeof(*cpu_old))) == NULL || in initcpu()
206 (cpu_diff = calloc(cpu_count, sizeof(*cpu_diff))) == NULL) in initcpu()
260 for (c = 0; c < cpu_count; c++) { in print_cpu()
/openbsd-src/gnu/llvm/llvm/tools/opt-viewer/
H A Dopt-stats.py14 from multiprocessing import cpu_count, Pool
H A Dopt-viewer.py10 from multiprocessing import cpu_count
/openbsd-src/gnu/llvm/lldb/scripts/
H A Dreproducer-replay.py72 default=multiprocessing.cpu_count(),
/openbsd-src/gnu/llvm/llvm/utils/lit/lit/
H A Dutil.py121 n = os.cpu_count() or 1
/openbsd-src/gnu/llvm/llvm/utils/
H A Dcollect_and_build_with_pgo.py144 return ['make', '-j{}'.format(multiprocessing.cpu_count())]
/openbsd-src/gnu/llvm/clang/utils/
H A Dcreduce-clang-crash.py400 default=max(4, multiprocessing.cpu_count() // 2),
/openbsd-src/gnu/llvm/clang/utils/analyzer/
H A DSATestBuild.py133 MAX_JOBS = int(math.ceil(multiprocessing.cpu_count() * 0.75))