Lines Matching refs:nthreads
22 unsigned int nthreads; member
26 .nthreads = 1,
33 OPT_UINTEGER('t', "threads", &thread_params.nthreads, "Specify amount of threads"),
91 threads = calloc(thread_params.nthreads, sizeof(threads[0])); in breakpoint_thread()
97 for (i = 0; i < thread_params.nthreads; i++) { in breakpoint_thread()
102 futex_wake(&done, thread_params.nthreads, 0); in breakpoint_thread()
103 for (i = 0; i < thread_params.nthreads; i++) in breakpoint_thread()
161 (double)result_usec / bench_repeat / thread_params.nthreads); in bench_breakpoint_thread()
164 thread_params.nthreads * thread_params.nparallel); in bench_breakpoint_thread()
200 unsigned int i, nthreads, result_usec, done = 0; in bench_breakpoint_enable() local
219 nthreads = enable_params.npassive + enable_params.nactive; in bench_breakpoint_enable()
220 threads = calloc(nthreads, sizeof(threads[0])); in bench_breakpoint_enable()
224 for (i = 0; i < nthreads; i++) { in bench_breakpoint_enable()
241 for (i = 0; i < nthreads; i++) in bench_breakpoint_enable()