Searched refs:numcpus (Results 1 – 5 of 5) sorted by relevance
62 static int numcpus; variable208 tids = malloc(sizeof(int) * numcpus); in main_thread()213 memset(tids, 0, numcpus); in main_thread()252 pthread_barrier_init(&mult_start, NULL, numcpus + 1); in main_thread()258 for (j = 0; j < numcpus; j++) { in main_thread()319 numcpus = sysconf(_SC_NPROCESSORS_ONLN); in main()321 criteria = pass_criteria * numcpus; in main()337 new_iterations = (int)((iterations + numcpus - 1) / numcpus) * numcpus; in main()343 iterations_percpu = iterations / numcpus; in main()348 printf("Number of CPUs: %u\n", numcpus); in main()
292 int pri_boost, numcpus; in main() local298 numcpus = sysconf(_SC_NPROCESSORS_ONLN); in main()303 if (rt_threads == -1 || rt_threads > numcpus) { in main()304 rt_threads = numcpus; in main()307 numcpus); in main()308 printf("Using %d\n", numcpus); in main()
170 int numcpus; in main() local179 numcpus = sysconf(_SC_NPROCESSORS_ONLN); in main()180 rt_threads = numcpus; in main()
267 int i, numcpus; in main() local278 numcpus = sysconf(_SC_NPROCESSORS_ONLN); in main()279 med_threads = numcpus; in main()
80 int numcpus; variable409 numcpus = sysconf(_SC_NPROCESSORS_ONLN); in main()410 nr_tasks = numcpus + 1; in main()