/haiku-fatelf/3rdparty/mmu_man/onlinedemo/ |
H A D | haiku.php | 96 // max number of cpus for the VM, no more than 8
|
/haiku-fatelf/src/bin/coreutils/lib/ |
H A D | getloadavg.c | 475 static unsigned int cpus = 0; 718 if (cpus == 0) 749 cpus = c; 750 samples = cpus < 2 ? 3 : (2 * cpus / 3); 773 loadavg[elem++] = load / samples / cpus; 474 static unsigned int cpus = 0; variable
|
/haiku-fatelf/src/bin/ |
H A D | top.c | 50 static int cpus; /* how many cpus we are runing on */ variable 126 * Remember: for multiple CPUs, multiply the interval by # cpus 132 return ((100.0 * spent) / (cpus * interval)); 294 cpu_perc(cpus * uinterval - (gtotal + idletime), uinterval)); 421 cpus = sysinfo.cpu_count;
|
/haiku-fatelf/src/system/boot/platform/openfirmware/arch/ppc/ |
H A D | cpu.cpp | 29 // iterate through the "/cpus" node to find all CPUs 30 int cpus = of_finddevice("/cpus"); local 31 if (cpus == OF_FAILED) { 32 printf("boot_arch_cpu_init(): Failed to open \"/cpus\"!\n"); 39 while (of_get_next_device(&cookie, cpus, "cpu", cpuPath,
|
/haiku-fatelf/src/tests/add-ons/kernel/file_systems/beserved/MyNetwork/ |
H A D | MyNetView.cpp | 306 hostInfo.cpus = 0; 401 if (hostInfo.cpus > 0) 407 if (hostInfo.cpus > 0) 413 if (hostInfo.cpus > 0) 419 if (hostInfo.cpus > 0) 421 sprintf(buf, "%ld", hostInfo.cpus); 425 if (hostInfo.cpus > 0) 640 view->hostInfo.cpus = B_LENDIAN_TO_HOST_INT32(view->hostInfo.cpus);
|
/haiku-fatelf/src/tests/add-ons/kernel/file_systems/beserved/server-1.2.6/ |
H A D | beserved_server.c | 530 info->cpus = B_HOST_TO_LENDIAN_INT32(sysinfo.cpu_count);
|
/haiku-fatelf/src/tests/add-ons/kernel/file_systems/beserved/server-Windows/ |
H A D | BeServed.cpp | 614 info->cpus = systemInfo.dwNumberOfProcessors;
|
/haiku-fatelf/src/tests/add-ons/kernel/file_systems/beserved/server/ |
H A D | beserved_server.c | 682 info->cpus = B_HOST_TO_LENDIAN_INT32(sysinfo.cpu_count);
|
/haiku-fatelf/src/tests/system/benchmarks/libMicro/ |
H A D | cachetocache.c | 33 * solaris features to find and bind to cpus in the current 62 static processorid_t cpus[1024]; variable 101 if (pset_info(PS_MYID, NULL, &ncpu, cpus) < 0) { 126 cpu = cpus[(pthread_self() - 1) % ncpu],
|
/haiku-fatelf/src/tests/system/libroot/posix/posixtestsuite/functional/threads/pi_test/ |
H A D | pitest-1.c | 47 int cpus; variable 171 DPRINTF(stdout, "# COLUMNS %d Time TL TP ", 2 + cpus); 172 for (i = 0; i < (cpus - 1); i++) 181 for (i = 0; i < cpus + 1; i++) 230 pthread_t threads[cpus - 1], threadsample, threadtp, threadtl, threadtb; 237 cpus = sysconf(_SC_NPROCESSORS_ONLN); 257 DPRINTF(stderr,"Main Thread: start %d TF thread\n", cpus-1); 258 for (i = 0; i < cpus - 1; i++) 316 for (i = 2; i < cpus - 1; i++)
|
H A D | pitest-2.c | 49 int cpus; variable 172 DPRINTF(stdout, "# COLUMNS %d Time TL TP1 TP2 ", 3 + cpus); 173 for (i = 0; i < (cpus - 1); i++) 182 for (i = 0; i < cpus + 2; i++) 256 pthread_t threads[cpus - 1]; 264 cpus = sysconf(_SC_NPROCESSORS_ONLN); 284 DPRINTF(stderr,"Main Thread: Creating %d TF threads \n", cpus - 1); 285 for (i = 0; i < cpus - 1; i++) 353 for (i = 2; i < cpus - 1; i++)
|
H A D | pitest-3.c | 49 int cpus; variable 183 DPRINTF(stdout, "# COLUMNS %d Time TL TP1 TP2 ", 3 + cpus); 185 for (i = 0; i < (cpus - 1); i++) 195 for (i = 0; i < cpus + 2; i++) 271 pthread_t threads[cpus - 1]; 280 cpus = sysconf(_SC_NPROCESSORS_ONLN); 300 DPRINTF(stderr,"Main Thread: Creating %d TF threads\n", cpus-1); 301 for (i = 0; i < cpus - 1; i++) 369 for (i = 2; i < cpus - 1; i++)
|
H A D | pitest-4.c | 50 int cpus; variable 153 DPRINTF(stdout, "# COLUMNS %d Time TL TP ", 2 + cpus); 154 for (i = 0; i < (cpus - 1); i++) 163 for (i = 0; i < cpus + 1; i++) 244 pthread_t threads[cpus - 1]; 253 cpus = sysconf(_SC_NPROCESSORS_ONLN); 273 DPRINTF(stderr,"Main Thread: Creating %d TF threads\n", cpus-1); 274 for (i = 0; i < cpus - 1; i++) 337 for (i = 2; i < cpus - 1; i++)
|
H A D | pitest-5.c | 48 int cpus; variable 189 DPRINTF(stdout, "# COLUMNS %d Time TL TP ", 2 + cpus); 191 for (i = 0; i < (cpus - 1); i++) 201 for (i = 0; i < cpus + 1; i++) 252 pthread_t threads[cpus - 1], threadsample, threadtp, threadtl, threadtb; 259 cpus = sysconf(_SC_NPROCESSORS_ONLN); 277 DPRINTF(stderr,"Main Thread: Creating %d TF threads\n", cpus-1); 278 for (i = 0; i < cpus - 1; i++) 331 for (i = 2; i < cpus - 1; i++)
|
H A D | pitest-6.c | 47 int cpus; variable 171 DPRINTF(stdout, "# COLUMNS %d Time TP TL ", 2 + cpus); 172 for (i = 0; i < (cpus - 1); i++) 181 for (i = 0; i < cpus + 1; i++) 228 cpus = sysconf(_SC_NPROCESSORS_ONLN); 231 pthread_t threads[cpus - 1], threadsample, threadtp, threadtl, threadtb; 239 cpus = sysconf(_SC_NPROCESSORS_ONLN); 258 DPRINTF(stderr,"Main Thread: Creating %d TF threads\n", cpus-1); 259 for (i = 0; i < cpus - 1; i++) 319 for (i = 2; i < cpus [all...] |