Home
last modified time | relevance | path

Searched refs:bench (Results 1 – 25 of 35) sorted by relevance

12

/linux/tools/perf/
A Dbuiltin-bench.c32 struct bench { struct
98 struct bench *benchmarks;
123 for (bench = coll->benchmarks; bench && bench->name; bench++)
127 struct bench *bench; in dump_benchmarks() local
132 printf("%14s: %s\n", bench->name, bench->summary); in dump_benchmarks()
214 struct bench *bench; in run_collection() local
226 if (!bench->fn) in run_collection()
231 argv[1] = bench->name; in run_collection()
232 run_bench(coll->name, bench->name, bench->fn, 1, argv); in run_collection()
281 struct bench *bench; in cmd_bench() local
[all …]
A DBuild1 perf-y += builtin-bench.o
32 perf-y += bench/
/linux/tools/testing/selftests/bpf/
A Dbench.c345 const struct bench *bench = NULL; variable
372 static const struct bench *benchs[] = {
410 bench = benchs[i]; in setup_benchmark()
414 if (!bench) { in setup_benchmark()
428 if (bench->validate) in setup_benchmark()
429 bench->validate(); in setup_benchmark()
430 if (bench->setup) in setup_benchmark()
431 bench->setup(); in setup_benchmark()
475 bench->measure(res); in collect_measurements()
477 if (bench->report_progress) in collect_measurements()
[all …]
A Dbench.h39 struct bench { struct
55 extern const struct bench *bench; argument
A DMakefile87 test_lirc_mode2_user xdping test_cpp runqslower bench bpf_testmod.ko \
525 $(OUTPUT)/bench_%.o: benchs/bench_%.c bench.h $(BPFOBJ)
533 $(OUTPUT)/bench.o: bench.h testing_helpers.h $(BPFOBJ)
534 $(OUTPUT)/bench: LDLIBS += -lm
535 $(OUTPUT)/bench: $(OUTPUT)/bench.o $(OUTPUT)/testing_helpers.o \
A D.gitignore39 /bench
/linux/tools/testing/selftests/bpf/benchs/
A Drun_common.sh43 bench="$1"
45 printf "%-20s %s (drops %s)\n" "$bench" "$(hits $summary)" "$(drops $summary)"
50 bench="$1"
52 printf "%-20s %s%%\n" "$bench" "$(percentage $summary)"
57 bench="$1"
59 printf "%-20s %s\n" "$bench" "$(total $summary)"
A Dbench_trigger.c110 const struct bench bench_trig_base = {
120 const struct bench bench_trig_tp = {
131 const struct bench bench_trig_rawtp = {
142 const struct bench bench_trig_kprobe = {
153 const struct bench bench_trig_fentry = {
164 const struct bench bench_trig_fentry_sleep = {
175 const struct bench bench_trig_fmodret = {
A Dbench_rename.c114 const struct bench bench_rename_base = {
125 const struct bench bench_rename_kprobe = {
136 const struct bench bench_rename_kretprobe = {
147 const struct bench bench_rename_rawtp = {
158 const struct bench bench_rename_fentry = {
169 const struct bench bench_rename_fexit = {
A Dbench_bloom_filter_map.c424 const struct bench bench_bloom_lookup = {
435 const struct bench bench_bloom_update = {
446 const struct bench bench_bloom_false_positive = {
457 const struct bench bench_hashmap_without_bloom = {
468 const struct bench bench_hashmap_with_bloom = {
A Dbench_count.c74 const struct bench bench_count_global = {
83 const struct bench bench_count_local = {
A Dbench_ringbufs.c523 const struct bench bench_rb_libbpf = {
534 const struct bench bench_rb_custom = {
545 const struct bench bench_pb_libbpf = {
556 const struct bench bench_pb_custom = {
A Drun_bench_trigger.sh7 summary=$(sudo ./bench -w2 -d5 -a trig-$i | tail -n1 | cut -d'(' -f1 | cut -d' ' -f3-)
A Drun_bench_rename.sh7 summary=$(sudo ./bench -w2 -d5 -a rename-$i | tail -n1 | cut -d'(' -f1 | cut -d' ' -f3-)
/linux/tools/perf/Documentation/
A Dperf-bench.txt1 perf-bench(1)
6 perf-bench - General framework for benchmark suites
11 'perf bench' [<common options>] <subsystem> <suite> [<options>]
15 This 'perf bench' command is a general framework for benchmark suites.
31 % perf bench sched pipe # with no style specified
42 % perf bench --format=simple sched pipe # specified simple
101 % perf bench sched messaging # run with default
107 % perf bench sched messaging -t -g 20 # be multi-thread, with 20 groups
128 % perf bench sched pipe
135 % perf bench sched pipe -l 1000 # loop 1000
/linux/tools/io_uring/
A DMakefile6 all: io_uring-cp io_uring-bench
10 io_uring-bench: syscall.o io_uring-bench.o
16 $(RM) io_uring-cp io_uring-bench *.o
A DREADME12 io_uring-bench
17 io_uring-bench should operate on. This uses the raw io_uring
/linux/tools/perf/tests/shell/
A Dstat_bpf_counters.sh33 base_cycles=$(perf stat --no-big-num -e cycles -- perf bench sched messaging -g 1 -l 100 -t 2>&1 | …
38 bpf_cycles=$(perf stat --no-big-num --bpf-counters -e cycles -- perf bench sched messaging -g 1 -l …
A Dstat_all_metrics.sh13 result=$(perf stat -M "$m" perf bench internals synthesize 2>&1)
A Dstat_all_pmu.sh13 result=$(perf stat -e "$p" perf bench internals synthesize 2>&1)
/linux/tools/power/cpupower/
A D.gitignore22 bench/cpufreq-bench
/linux/tools/power/cpupower/bench/
A Dcpufreq-bench_script.sh48 …cpufreq-bench -o /var/log/cpufreq-bench/up_threshold_${up_threshold}_sampling_rate_${sampling_rate}
A DREADME-BENCH1 This is cpufreq-bench, a microbenchmark for the cpufreq framework.
27 cpufreq-bench helps to test the condition of a given cpufreq governor.
80 trigger of the cpufreq-bench, you will see no performance loss (compare with
107 cpufreq-bench Command Usage
A Dexample.cfg5 output = /var/log/cpufreq-bench
/linux/tools/perf/bench/
A DBuild14 perf-y += find-bit-bench.o

Completed in 30 milliseconds

12