| /src/external/mit/libuv/dist/docs/code/multi-echo-server/ |
| main.c | 67 int cpu_count; local 68 uv_cpu_info(&info, &cpu_count); 69 uv_free_cpu_info(info, cpu_count); 71 child_worker_count = cpu_count; 73 workers = calloc(cpu_count, sizeof(struct child_worker)); 74 while (cpu_count--) { 75 struct child_worker *worker = &workers[cpu_count];
|
| /src/sys/uvm/ |
| uvm_fault_i.h | 186 cpu_count(CPU_COUNT_FLTRELCK, 1); 199 cpu_count(CPU_COUNT_FLTRELCKOK, 1);
|
| uvm_fault.c | 283 cpu_count(CPU_COUNT_FLTANGET, 1); 330 cpu_count(CPU_COUNT_FLTPGWAIT, 1); 367 cpu_count(CPU_COUNT_FLTNORAM, 1); 386 cpu_count(CPU_COUNT_PAGEINS, 1); 525 cpu_count(CPU_COUNT_FLTANRETRY, 1); 625 cpu_count(CPU_COUNT_FLTNOANON, 1); 631 cpu_count(CPU_COUNT_FLTNORAM, 1); 874 CPU_COUNT(CPU_COUNT_NFAULT, 1); 1066 cpu_count(CPU_COUNT_FLTAMCOPY, 1); 1267 cpu_count(CPU_COUNT_FLTNOUP, 1) [all...] |
| uvm_page_status.c | 88 enum cpu_count base; 137 CPU_COUNT(base + oldstatus, -1); 138 CPU_COUNT(base + newstatus, +1);
|
| uvm_page.c | 228 cpu_count(CPU_COUNT_EXECPAGES, 1); 230 cpu_count(CPU_COUNT_FILEUNKNOWN + status, 1); 232 cpu_count(CPU_COUNT_ANONUNKNOWN + status, 1); 287 cpu_count(CPU_COUNT_EXECPAGES, -1); 289 cpu_count(CPU_COUNT_FILEUNKNOWN + status, -1); 291 cpu_count(CPU_COUNT_ANONUNKNOWN + status, -1); 1050 CPU_COUNT(CPU_COUNT_FREEPAGES, -1); 1065 CPU_COUNT(c == trycolor ? 1067 CPU_COUNT(CPU_COUNT_CPUMISS, 1); 1093 CPU_COUNT(CPU_COUNT_CPUHIT, 1) [all...] |
| /src/external/mit/libuv/dist/src/unix/ |
| haiku.c | 158 *cpu_infos = uv__calloc(system.cpu_count, sizeof(**cpu_infos)); 164 for (i = 0; i < (int)system.cpu_count; i++) { 169 *count = system.cpu_count;
|
| /src/sys/sys/ |
| cpu_data.h | 50 enum cpu_count { enum 245 #define CPU_COUNT(idx, d) \ 257 cpu_count_get(enum cpu_count idx) 263 void cpu_count(enum cpu_count, int64_t);
|
| /src/external/bsd/jemalloc/dist/scripts/ |
| gen_run_tests.py | 6 from multiprocessing import cpu_count 13 nparallel = cpu_count() * 2
|
| /src/external/bsd/jemalloc.old/dist/scripts/ |
| gen_run_tests.py | 6 from multiprocessing import cpu_count namespace 13 nparallel = cpu_count() * 2
|
| /src/crypto/external/apache2/openssl/dist/crypto/ |
| riscvcap.c | 97 size_t cpu_count, unsigned long *cpus, 100 return syscall(__NR_riscv_hwprobe, pairs, pair_count, cpu_count, cpus, flags);
|
| /src/external/apache2/llvm/dist/llvm/tools/opt-viewer/ |
| opt-stats.py | 14 from multiprocessing import cpu_count, Pool
|
| opt-viewer.py | 10 from multiprocessing import cpu_count
|
| /src/external/gpl3/binutils/dist/gprofng/common/ |
| cpuid.c | 202 long pair_count, long cpu_count, \ 205 return syscall(__NR_riscv_hwprobe, pairs, pair_count, cpu_count, cpus, flags);
|
| /src/external/gpl3/binutils.old/dist/gprofng/common/ |
| cpuid.c | 202 long pair_count, long cpu_count, \ 205 return syscall(__NR_riscv_hwprobe, pairs, pair_count, cpu_count, cpus, flags);
|
| /src/sys/kern/ |
| subr_cpu.c | 468 cpu_count(enum cpu_count idx, int64_t delta) function 496 enum cpu_count i;
|
| vfs_vnops.c | 437 cpu_count(CPU_COUNT_EXECPAGES, vp->v_uobj.uo_npages); 466 cpu_count(CPU_COUNT_EXECPAGES, vp->v_uobj.uo_npages);
|
| vfs_vnode.c | 987 cpu_count(CPU_COUNT_EXECPAGES, -vp->v_uobj.uo_npages); 1899 cpu_count(CPU_COUNT_EXECPAGES, -vp->v_uobj.uo_npages);
|
| /src/external/bsd/unbound/dist/testdata/ |
| common.sh | 8 # also included are wait_logfile, cpu_count, process_cpu_list, and 40 # cpu_count : get number of cpus in system 344 cpu_count() function
|
| /src/external/mit/libuv/dist/src/win/ |
| util.c | 534 DWORD cpu_count, i; local 541 cpu_count = 0; 547 cpu_count = system_info.dwNumberOfProcessors; 549 cpu_infos = uv__calloc(cpu_count, sizeof *cpu_infos); 555 sppi_size = cpu_count * sizeof(*sppi); 573 for (i = 0; i < cpu_count; i++) { 635 *cpu_count_ptr = cpu_count; 643 for (i = 0; i < cpu_count; i++)
|
| /src/external/gpl3/gcc/dist/contrib/header-tools/ |
| headerutils.py | 481 at_a_time = multiprocessing.cpu_count() * 2 519 at_a_time = multiprocessing.cpu_count() * 2
|
| /src/external/gpl3/gcc.old/dist/contrib/header-tools/ |
| headerutils.py | 481 at_a_time = multiprocessing.cpu_count() * 2 519 at_a_time = multiprocessing.cpu_count() * 2
|
| /src/external/apache2/llvm/dist/clang/utils/ |
| creduce-clang-crash.py | 400 default=max(4, multiprocessing.cpu_count() / 2),
|
| /src/external/apache2/llvm/dist/llvm/utils/ |
| collect_and_build_with_pgo.py | 144 return ['make', '-j{}'.format(multiprocessing.cpu_count())]
|
| /src/external/apache2/llvm/dist/llvm/utils/lit/lit/ |
| util.py | 114 Otherwise, return the total number of cores (like `os.cpu_count()`). 121 n = os.cpu_count() or 1
|
| /src/external/apache2/llvm/dist/clang/utils/analyzer/ |
| SATestBuild.py | 133 MAX_JOBS = int(math.ceil(multiprocessing.cpu_count() * 0.75))
|