Lines Matching +full:multi +full:- +full:threaded
1 // SPDX-License-Identifier: GPL-2.0
14 #include "../util/synthetic-events.h"
22 #include <subcmd/parse-options.h>
32 OPT_BOOLEAN('s', "st", &run_st, "Run single threaded benchmark"),
33 OPT_BOOLEAN('t', "mt", &run_mt, "Run multi-threaded benchmark"),
34 OPT_UINTEGER('m', "min-threads", &min_threads,
36 OPT_UINTEGER('M', "max-threads", &max_threads,
38 OPT_UINTEGER('i', "single-iterations", &single_iterations,
39 "Number of iterations used to compute single-threaded average"),
40 OPT_UINTEGER('I', "multi-iterations", &multi_iterations,
41 "Number of iterations used to compute multi-threaded average"),
79 err = __machine__synthesize_threads(&session->machines.host, in do_run_single_threaded()
97 printf(" Average %ssynthesis took: %.3f usec (+- %.3f usec)\n", in do_run_single_threaded()
102 printf(" Average num. events: %.3f (+- %.3f)\n", in do_run_single_threaded()
128 err = -ENOMEM; in run_single_threaded()
133 "Computing performance of single threaded perf event synthesis by\n" in run_single_threaded()
170 err = __machine__synthesize_threads(&session->machines.host, in do_run_multi_threaded()
191 printf(" Average synthesis took: %.3f usec (+- %.3f usec)\n", in do_run_multi_threaded()
196 printf(" Average num. events: %.3f (+- %.3f)\n", in do_run_multi_threaded()
216 "Computing performance of multi threaded perf event synthesis by\n" in run_multi_threaded()
249 * If neither single threaded or multi-threaded are specified, default in bench_synthesize()
250 * to running just single threaded. in bench_synthesize()