Lines Matching +full:average +full:- +full:on

1 // SPDX-License-Identifier: GPL-2.0
4 * record'. Synthesis is done on the current process and the 'dummy' event
14 #include "../util/synthetic-events.h"
22 #include <subcmd/parse-options.h>
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()
105 printf(" Average time per event %.3f usec\n", in do_run_single_threaded()
128 err = -ENOMEM; in run_single_threaded()
134 "synthesizing events on the perf process itself:"); 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()
199 printf(" Average time per event %.3f usec\n", in do_run_multi_threaded()
217 "synthesizing events on CPU 0:"); in run_multi_threaded()
249 * If neither single threaded or multi-threaded are specified, default in bench_synthesize()