Searched refs:thread_params (Results 1 – 2 of 2) sorted by relevance
| /linux/tools/perf/bench/ |
| H A D | breakpoint.c | 23 } thread_params = { variable 30 OPT_UINTEGER('b', "breakpoints", &thread_params.nbreakpoints, 32 OPT_UINTEGER('p', "parallelism", &thread_params.nparallel, "Specify amount of parallelism"), 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() 124 breakpoints = calloc(thread_params.nbreakpoints, sizeof(breakpoints[0])); in bench_breakpoint_thread() 125 parallel = calloc(thread_params.nparallel, sizeof(parallel[0])); in bench_breakpoint_thread() [all …]
|
| /linux/tools/testing/selftests/kvm/x86/ |
| H A D | xapic_ipi_test.c | 75 struct thread_params { struct 195 struct thread_params *params = (struct thread_params *)arg; in vcpu_thread() 399 struct thread_params params[2]; in main()
|