Home
last modified time | relevance | path

Searched refs:hits (Results 1 – 25 of 34) sorted by relevance

12

/tools/testing/selftests/bpf/benchs/
A Dbench_count.c8 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 Dbench_local_storage_create.c142 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 Dbench_rename.c10 struct counter hits; member
37 atomic_inc(&ctx.hits.value); in producer()
43 res->hits = atomic_swap(&ctx.hits.value, 0); in measure()
A Dbench_bpf_loop.c67 res->hits = atomic_swap(&ctx.skel->bss->hits, 0); in measure()
A Dbench_htab_mem.c294 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 Dbench_strncmp.c133 res->hits = atomic_swap(&ctx.skel->bss->hits, 0); in strncmp_measure()
A Drun_common.sh21 function hits() function
A Dbench_bpf_crypto.c149 res->hits = atomic_swap(&ctx.skel->bss->hits, 0); in crypto_measure()
A Dbench_local_storage.c224 res->hits = atomic_swap(&ctx.skel->bss->hits, 0); in measure()
A Dbench_sockmap.c362 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 Dbench_trigger.c130 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 Dbench_ringbufs.c131 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 Dstrncmp_bench.c14 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 Dbpf_loop_bench.c11 long hits; variable
21 __sync_add_and_fetch(&hits, nr_loops); in outer_loop()
A Dcrypto_bench.c18 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 Dlocal_storage_rcu_tasks_trace_bench.c15 long hits; variable
38 __sync_add_and_fetch(&hits, 1); in get_local()
A Dtrigger_bench.c19 struct counter hits[MAX_CPUS]; variable
25 __sync_add_and_fetch(&hits[cpu & CPU_MASK].value, 1); in inc_counter()
A Dlocal_storage_bench.c37 long hits; variable
99 __sync_add_and_fetch(&hits, lctx.loop_hits); in get_local()
/tools/testing/selftests/bpf/
A Dbench.c41 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 Dbench.h42 long hits; member
/tools/perf/Documentation/
A Dperf-buildid-list.txt25 --with-hits::
26 Show only DSOs with hits.
A Dperf-archive.txt15 This command runs perf-buildid-list --with-hits, and collects the files with the
A Dperf-annotate.txt146 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 Dperf-archive.sh106 …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 Dcpupower-monitor.c238 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()

Completed in 31 milliseconds

12