Searched refs:cpu_count (Results 1 – 8 of 8) sorted by relevance
| /openbsd-src/usr.bin/systat/ |
| H A D | cpu.c | 101 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 D | opt-stats.py | 14 from multiprocessing import cpu_count, Pool
|
| H A D | opt-viewer.py | 10 from multiprocessing import cpu_count
|
| /openbsd-src/gnu/llvm/lldb/scripts/ |
| H A D | reproducer-replay.py | 72 default=multiprocessing.cpu_count(),
|
| /openbsd-src/gnu/llvm/llvm/utils/lit/lit/ |
| H A D | util.py | 121 n = os.cpu_count() or 1
|
| /openbsd-src/gnu/llvm/llvm/utils/ |
| H A D | collect_and_build_with_pgo.py | 144 return ['make', '-j{}'.format(multiprocessing.cpu_count())]
|
| /openbsd-src/gnu/llvm/clang/utils/ |
| H A D | creduce-clang-crash.py | 400 default=max(4, multiprocessing.cpu_count() // 2),
|
| /openbsd-src/gnu/llvm/clang/utils/analyzer/ |
| H A D | SATestBuild.py | 133 MAX_JOBS = int(math.ceil(multiprocessing.cpu_count() * 0.75))
|