| /tools/testing/selftests/bpf/benchs/ |
| A D | bench_count.c | 8 struct counter hits; member 16 atomic_inc(&ctx->hits.value); in count_global_producer() 25 res->hits = atomic_swap(&ctx->hits.value, 0); in count_global_measure() 31 struct counter *hits; member 38 ctx->hits = calloc(env.producer_cnt, sizeof(*ctx->hits)); in count_local_setup() 39 if (!ctx->hits) in count_local_setup() 49 atomic_inc(&ctx->hits[idx].value); in count_local_producer() 60 res->hits += atomic_swap(&ctx->hits[i].value, 0); in count_local_measure()
|
| A D | bench_local_storage_create.c | 142 res->hits = atomic_swap(&skel->bss->create_cnts, 0); in measure() 208 creates_per_sec = res->hits / 1000.0 / (delta_ns / 1000000000.0); in report_progress() 209 kmallocs_per_create = (double)res->drops / res->hits; in report_progress() 225 creates_mean += res[i].hits / 1000.0 / (0.0 + res_cnt); in report_final() 226 total_creates += res[i].hits; in report_final() 232 creates_stddev += (creates_mean - res[i].hits / 1000.0) * in report_final() 233 (creates_mean - res[i].hits / 1000.0) / in report_final()
|
| A D | bench_rename.c | 10 struct counter hits; member 37 atomic_inc(&ctx.hits.value); in producer() 43 res->hits = atomic_swap(&ctx.hits.value, 0); in measure()
|
| A D | bench_bpf_loop.c | 67 res->hits = atomic_swap(&ctx.skel->bss->hits, 0); in measure()
|
| A D | bench_htab_mem.c | 294 res->hits = atomic_swap(&ctx.skel->bss->op_cnt, 0) / env.producer_cnt; in htab_mem_measure() 302 loop = res->hits / 1000.0 / (delta_ns / 1000000000.0); in htab_mem_report_progress() 316 loop_mean += res[i].hits / 1000.0 / (0.0 + res_cnt); in htab_mem_report_final() 321 loop_stddev += (loop_mean - res[i].hits / 1000.0) * in htab_mem_report_final() 322 (loop_mean - res[i].hits / 1000.0) / in htab_mem_report_final()
|
| A D | bench_strncmp.c | 133 res->hits = atomic_swap(&ctx.skel->bss->hits, 0); in strncmp_measure()
|
| A D | run_common.sh | 21 function hits() function
|
| A D | bench_bpf_crypto.c | 149 res->hits = atomic_swap(&ctx.skel->bss->hits, 0); in crypto_measure()
|
| A D | bench_local_storage.c | 224 res->hits = atomic_swap(&ctx.skel->bss->hits, 0); in measure()
|
| A D | bench_sockmap.c | 362 res->hits = atomic_swap(&ctx.skel->bss->process_byte, 0); in measure() 507 bpf_mbs = res->hits / 1000000.0 / (delta_ns / 1000000000.0); in report_progress() 525 verdict_mbs_mean += res[i].hits / 1000000.0 / (0.0 + res_cnt); in report_final() 526 verdict_total += res[i].hits / 1000000.0; in report_final()
|
| A D | bench_trigger.c | 130 res->hits = sum_and_reset_counters(base_hits); in trigger_measure() 132 res->hits = sum_and_reset_counters(ctx.skel->bss->hits); in trigger_measure()
|
| A D | bench_ringbufs.c | 131 res->hits = atomic_swap(&buf_hits.value, 0); in ringbuf_libbpf_measure() 222 res->hits = atomic_swap(&buf_hits.value, 0); in ringbuf_custom_measure() 351 res->hits = atomic_swap(&buf_hits.value, 0); in perfbuf_measure()
|
| /tools/testing/selftests/bpf/progs/ |
| A D | strncmp_bench.c | 14 long hits = 0; variable 42 __sync_add_and_fetch(&hits, 1); in strncmp_no_helper() 50 __sync_add_and_fetch(&hits, 1); in strncmp_helper()
|
| A D | bpf_loop_bench.c | 11 long hits; variable 21 __sync_add_and_fetch(&hits, nr_loops); in outer_loop()
|
| A D | crypto_bench.c | 18 long hits = 0; variable 78 __sync_add_and_fetch(&hits, 1); in crypto_encrypt() 102 __sync_add_and_fetch(&hits, 1); in crypto_decrypt()
|
| A D | local_storage_rcu_tasks_trace_bench.c | 15 long hits; variable 38 __sync_add_and_fetch(&hits, 1); in get_local()
|
| A D | trigger_bench.c | 19 struct counter hits[MAX_CPUS]; variable 25 __sync_add_and_fetch(&hits[cpu & CPU_MASK].value, 1); in inc_counter()
|
| A D | local_storage_bench.c | 37 long hits; variable 99 __sync_add_and_fetch(&hits, lctx.loop_hits); in get_local()
|
| /tools/testing/selftests/bpf/ |
| A D | bench.c | 41 long total = res->false_hits + res->hits + res->drops; in false_hits_report_progress() 56 total_hits += res[i].hits; in false_hits_report_final() 129 hits_mean += res[i].hits / 1000000.0 / (0.0 + res_cnt); in hits_drops_report_final() 136 hits_stddev += (hits_mean - res[i].hits / 1000000.0) * in hits_drops_report_final() 137 (hits_mean - res[i].hits / 1000000.0) / in hits_drops_report_final() 142 total_ops = res[i].hits + res[i].drops; in hits_drops_report_final() 177 hits_mean += res[i].hits / 1000000.0 / (0.0 + res_cnt); in ops_report_final() 181 hits_stddev += (hits_mean - res[i].hits / 1000000.0) * in ops_report_final() 182 (hits_mean - res[i].hits / 1000000.0) / in ops_report_final() 198 hits_per_sec = res->hits / 1000000.0 / delta_sec; in local_storage_report_progress() [all …]
|
| A D | bench.h | 42 long hits; member
|
| /tools/perf/Documentation/ |
| A D | perf-buildid-list.txt | 25 --with-hits:: 26 Show only DSOs with hits.
|
| A D | perf-archive.txt | 15 This command runs perf-buildid-list --with-hits, and collects the files with the
|
| A D | perf-annotate.txt | 146 global-period, local-period, global-hits, local-hits 150 The period/hits keywords set the base the percentage is computed 151 on - the samples period or the number of samples (hits).
|
| /tools/perf/ |
| A D | perf-archive.sh | 106 …perf buildid-list -i $PERF_DATA --with-hits | grep -v "^ " | grep -Fv -f $EXCLUDE_BUILDIDS > $BUIL… 113 perf buildid-list -i $PERF_DATA --with-hits | grep -v "^ " > $BUILDIDS
|
| /tools/power/cpupower/utils/idle_monitor/ |
| A D | cpupower-monitor.c | 238 int mon, hits = 0; in parse_monitor_param() local 256 tmp_mons[hits] = monitors[num]; in parse_monitor_param() 257 hits++; in parse_monitor_param() 261 if (hits == 0) { in parse_monitor_param() 269 avail_monitors = hits; in parse_monitor_param()
|