Home
last modified time | relevance | path

Searched refs:numcpus (Results 1 – 10 of 10) 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()
/external/valgrind/memcheck/tests/solaris/
Dscalar.c1320 uint_t numcpus = x0 + 1; in sys_pset5() local
1323 SY(SYS_pset, x0 + PSET_INFO, x0 + 1, x0 + &type, x0 + &numcpus, in sys_pset5()
Dscalar.stderr.exp4447 Syscall param pset_info(numcpus) contains uninitialised byte(s)
4457 Syscall param pset(numcpus) points to unaddressable byte(s)
4473 Syscall param pset_info(numcpus) contains uninitialised byte(s)
/external/valgrind/coregrind/m_syswrap/
Dsyswrap-solaris.c9718 int *, type, vki_uint_t *, numcpus,
9725 vki_uint_t *numcpus = (vki_uint_t *) ARG4; local
9726 if (ML_(safe_to_deref(numcpus, sizeof(vki_uint_t)))) {
9728 *numcpus * sizeof(vki_processorid_t));
9733 ARG6 = *numcpus;
9844 vki_uint_t *numcpus = (vki_uint_t *) ARG4; local
9845 POST_MEM_WRITE(ARG5, MIN(*numcpus, ARG6) * sizeof(vki_processorid_t));
/external/netperf/doc/
Dnetperf.info986 `-n numcpus'
Dnetperf.texi1044 @item -n numcpus