thread_params
futex_wake(&done, thread_params.nthreads, 0);
for (i = 0; i < thread_params.nthreads; i++)
breakpoints = calloc(thread_params.nbreakpoints, sizeof(breakpoints[0]));
parallel = calloc(thread_params.nparallel, sizeof(parallel[0]));
for (i = 0; i < thread_params.nbreakpoints; i++) {
for (i = 0; i < thread_params.nparallel; i++) {
for (i = 0; i < thread_params.nparallel; i++)
for (i = 0; i < thread_params.nbreakpoints; i++)
bench_repeat, thread_params.nbreakpoints, thread_params.nparallel);
(double)result_usec / bench_repeat / thread_params.nthreads);
thread_params.nthreads * thread_params.nparallel);
} thread_params = {
OPT_UINTEGER('b', "breakpoints", &thread_params.nbreakpoints,
OPT_UINTEGER('p', "parallelism", &thread_params.nparallel, "Specify amount of parallelism"),
OPT_UINTEGER('t', "threads", &thread_params.nthreads, "Specify amount of threads"),
threads = calloc(thread_params.nthreads, sizeof(threads[0]));
for (i = 0; i < thread_params.nthreads; i++) {
struct thread_params *params = (struct thread_params *)arg;
static void test_ucna_injection(struct kvm_vcpu *vcpu, struct thread_params *params)
struct thread_params params;
struct thread_params *params = (struct thread_params *)arg;
struct thread_params params[2];