Home
last modified time | relevance | path

Searched refs:thread_params (Results 1 – 3 of 3) sorted by relevance

/Linux-v6.1/tools/perf/bench/
Dbreakpoint.c23 } 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"),
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()
118 breakpoints = calloc(thread_params.nbreakpoints, sizeof(breakpoints[0])); in bench_breakpoint_thread()
119 parallel = calloc(thread_params.nparallel, sizeof(parallel[0])); in bench_breakpoint_thread()
[all …]
/Linux-v6.1/tools/testing/selftests/kvm/x86_64/
Ducna_injection_test.c64 struct thread_params { struct
181 struct thread_params *params = (struct thread_params *)arg; in run_ucna_injection()
232 static void test_ucna_injection(struct kvm_vcpu *vcpu, struct thread_params *params) in test_ucna_injection()
280 struct thread_params params; in main()
Dxapic_ipi_test.c77 struct thread_params { struct
196 struct thread_params *params = (struct thread_params *)arg; in vcpu_thread()
405 struct thread_params params[2]; in main()