Lines Matching refs:nthreads
22 unsigned int nthreads; member
26 .nthreads = 1,
33 OPT_UINTEGER('t', "threads", &thread_params.nthreads, "Specify amount of threads"),
85 threads = calloc(thread_params.nthreads, sizeof(threads[0])); in breakpoint_thread()
91 for (i = 0; i < thread_params.nthreads; i++) { in breakpoint_thread()
96 futex_wake(&done, thread_params.nthreads, 0); in breakpoint_thread()
97 for (i = 0; i < thread_params.nthreads; i++) in breakpoint_thread()
149 (double)result_usec / bench_repeat / thread_params.nthreads); in bench_breakpoint_thread()
152 thread_params.nthreads * thread_params.nparallel); in bench_breakpoint_thread()
188 unsigned int i, nthreads, result_usec, done = 0; in bench_breakpoint_enable() local
201 nthreads = enable_params.npassive + enable_params.nactive; in bench_breakpoint_enable()
202 threads = calloc(nthreads, sizeof(threads[0])); in bench_breakpoint_enable()
206 for (i = 0; i < nthreads; i++) { in bench_breakpoint_enable()
223 for (i = 0; i < nthreads; i++) in bench_breakpoint_enable()