Home
last modified time | relevance | path

Searched refs:numcpus (Results 1 – 5 of 5) sorted by relevance

/external/ltp/testcases/realtime/func/matrix_mult/
Dmatrix_mult.c62 static int numcpus; variable
208 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()
/external/ltp/testcases/realtime/func/prio-preempt/
Dprio-preempt.c292 int pri_boost, numcpus; in main() local
298 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()
/external/ltp/testcases/realtime/func/prio-wake/
Dprio-wake.c170 int numcpus; in main() local
179 numcpus = sysconf(_SC_NPROCESSORS_ONLN); in main()
180 rt_threads = numcpus; in main()
/external/ltp/testcases/realtime/func/pi-tests/
Dtestpi-7.c267 int i, numcpus; in main() local
278 numcpus = sysconf(_SC_NPROCESSORS_ONLN); in main()
279 med_threads = numcpus; in main()
/external/ltp/testcases/realtime/func/rt-migrate/
Drt-migrate.c80 int numcpus; variable
409 numcpus = sysconf(_SC_NPROCESSORS_ONLN); in main()
410 nr_tasks = numcpus + 1; in main()