Home
last modified time | relevance | path

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

123

/linux/tools/perf/bench/
A DBuild1 perf-bench-y += sched-messaging.o
2 perf-bench-y += sched-pipe.o
4 perf-bench-y += syscall.o
5 perf-bench-y += mem-functions.o
6 perf-bench-y += futex-hash.o
7 perf-bench-y += futex-wake.o
11 perf-bench-y += epoll-wait.o
12 perf-bench-y += epoll-ctl.o
15 perf-bench-y += find-bit-bench.o
19 perf-bench-y += pmu-scan.o
[all …]
A Duprobe.c63 static int bench_uprobe__setup_bpf_skel(enum bench_uprobe bench) in bench_uprobe__setup_bpf_skel() argument
82 switch (bench) { in bench_uprobe__setup_bpf_skel()
89 fprintf(stderr, "Invalid bench: %d\n", bench); in bench_uprobe__setup_bpf_skel()
108 static int bench_uprobe__setup_bpf_skel(enum bench_uprobe bench __maybe_unused) { return 0; } in bench_uprobe__setup_bpf_skel()
146 static int bench_uprobe(int argc, const char **argv, enum bench_uprobe bench) in bench_uprobe() argument
155 if (bench != BENCH_UPROBE__BASELINE && bench_uprobe__setup_bpf_skel(bench) < 0) in bench_uprobe()
184 if (bench != BENCH_UPROBE__BASELINE) in bench_uprobe()
/linux/tools/perf/
A Dbuiltin-bench.c33 struct bench { struct
120 struct bench *benchmarks;
147 for (bench = coll->benchmarks; bench && bench->name; bench++)
151 struct bench *bench; in dump_benchmarks() local
156 printf("%14s: %s\n", bench->name, bench->summary); in dump_benchmarks()
238 struct bench *bench; in run_collection() local
250 if (!bench->fn) in run_collection()
254 argv[1] = bench->name; in run_collection()
255 run_bench(coll->name, bench->name, bench->fn, 1, argv); in run_collection()
308 struct bench *bench; in cmd_bench() local
[all …]
A DBuild1 perf-bench-y += builtin-bench.o
39 perf-bench-y += bench/
/linux/tools/testing/selftests/bpf/
A Dbench.c402 if (bench->argp) { in parse_cmdline_args_final()
489 const struct bench *bench = NULL; variable
624 bench = benchs[i]; in find_benchmark()
628 if (!bench) { in find_benchmark()
648 if (bench->validate) in setup_benchmark()
649 bench->validate(); in setup_benchmark()
650 if (bench->setup) in setup_benchmark()
651 bench->setup(); in setup_benchmark()
704 bench->measure(res); in collect_measurements()
706 if (bench->report_progress) in collect_measurements()
[all …]
A Dbench.h51 struct bench { struct
68 extern const struct bench *bench; argument
/linux/tools/testing/selftests/bpf/benchs/
A Drun_common.sh61 bench="$1"
63 printf "%-20s %s (drops %s)\n" "$bench" "$(hits $summary)" "$(drops $summary)"
68 bench="$1"
70 printf "%-20s %s%%\n" "$bench" "$(percentage $summary)"
75 bench="$1"
77 printf "%-20s %s\n" "$bench" "$(ops $summary)"
82 bench="$1"
84 printf "%-20s %s\n" "$bench" "$(local_storage $summary)"
89 bench="$1"
91 printf "%-20s %s\n" "$bench" "$(total $summary)"
A Dbench_rename.c109 const struct bench bench_rename_base = {
119 const struct bench bench_rename_kprobe = {
129 const struct bench bench_rename_kretprobe = {
139 const struct bench bench_rename_rawtp = {
149 const struct bench bench_rename_fentry = {
159 const struct bench bench_rename_fexit = {
A Drun_bench_htab_mem.sh20 local bench="$1"
23 printf "%-20s %s\n" "$bench" "$(htab_mem $summary)"
A Dbench_count.c64 const struct bench bench_count_global = {
72 const struct bench bench_count_local = {
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_local_storage.c251 const struct bench bench_local_storage_cache_seq_get = {
262 const struct bench bench_local_storage_cache_interleaved_get = {
273 const struct bench bench_local_storage_cache_hashmap_control = {
A Dbench_strncmp.c136 const struct bench bench_strncmp_no_helper = {
147 const struct bench bench_strncmp_helper = {
A Dbench_ringbufs.c519 const struct bench bench_rb_libbpf = {
531 const struct bench bench_rb_custom = {
543 const struct bench bench_pb_libbpf = {
555 const struct bench bench_pb_custom = {
A Drun_bench_local_storage_rcu_tasks_trace.sh11 ./bench --nr_procs 15000 --kthread_pid $kthread_pid -d 600 --quiet local-storage-tasks-trace
A Dbench_bpf_crypto.c165 const struct bench bench_crypto_encrypt = {
176 const struct bench bench_crypto_decrypt = {
A Drun_bench_rename.sh7 summary=$(sudo ./bench -w2 -d5 -a rename-$i | tail -n1 | cut -d'(' -f1 | cut -d' ' -f3-)
A Drun_bench_uprobes.sh7 summary=$(sudo ./bench -w2 -d5 -a trig-$i | tail -n1 | cut -d'(' -f1 | cut -d' ' -f3-)
/linux/tools/perf/tests/shell/
A Dlock_contention.sh47 perf lock record -o ${perfdata} -- perf bench sched messaging > /dev/null 2>&1
67 perf lock con -a -b -E 1 -q -- perf bench sched messaging > /dev/null 2> ${result}
78 perf lock record -o- -- perf bench sched messaging 2> /dev/null | \
102 perf lock con -a -b -t -E 1 -q -- perf bench sched messaging > /dev/null 2> ${result}
125 perf lock con -a -b -l -E 1 -q -- perf bench sched messaging > /dev/null 2> ${result}
143 perf lock con -a -b -g -E 1 -q -- perf bench sched messaging > /dev/null 2> ${result}
165 perf lock con -a -b -Y spinlock -q -- perf bench sched messaging > /dev/null 2> ${result}
197 perf lock con -a -b -L tasklist_lock -q -- perf bench sched messaging > /dev/null 2> ${result}
225 perf lock con -a -b -S unix_stream -E 1 -q -- perf bench sched messaging > /dev/null 2> ${result}
269 perf lock con -a -b -g -E 1 -F wait_total -q -- perf bench sched messaging > /dev/null 2> ${result}
[all …]
/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
104 % perf bench sched messaging # run with default
110 % perf bench sched messaging -t -g 20 # be multi-thread, with 20 groups
139 % perf bench sched pipe
146 % perf bench sched pipe -l 1000 # loop 1000
[all …]
/linux/tools/testing/selftests/net/tcp_ao/
A DMakefile2 TEST_BOTH_AF := bench-lookups
56 $(OUTPUT)/bench-lookups_ipv4: LDLIBS+= -lm
57 $(OUTPUT)/bench-lookups_ipv6: LDLIBS+= -lm
/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

Completed in 30 milliseconds

123