Home
last modified time | relevance | path

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

/tools/testing/selftests/bpf/benchs/
Dbench_count.c8 struct counter hits; member
16 atomic_inc(&ctx->hits.value); in count_global_producer()
30 res->hits = atomic_swap(&ctx->hits.value, 0); in count_global_measure()
36 struct counter *hits; member
43 ctx->hits = calloc(env.consumer_cnt, sizeof(*ctx->hits)); in count_local_setup()
44 if (!ctx->hits) in count_local_setup()
54 atomic_inc(&ctx->hits[idx].value); in count_local_producer()
70 res->hits += atomic_swap(&ctx->hits[i].value, 0); in count_local_measure()
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()
Dbench_trigger.c32 res->hits = atomic_swap(&base_hits.value, 0); in trigger_base_measure()
44 res->hits = atomic_swap(&ctx.skel->bss->hits, 0); in trigger_measure()
Drun_bench_ringbufs.sh7 function hits() function
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/
Dtrigger_bench.c11 long hits = 0; variable
16 __sync_add_and_fetch(&hits, 1); in bench_trigger_tp()
24 __sync_add_and_fetch(&hits, 1); in BPF_PROG()
31 __sync_add_and_fetch(&hits, 1); in bench_trigger_kprobe()
38 __sync_add_and_fetch(&hits, 1); in bench_trigger_fentry()
45 __sync_add_and_fetch(&hits, 1); in bench_trigger_fentry_sleep()
52 __sync_add_and_fetch(&hits, 1); in bench_trigger_fmodret()
/tools/perf/Documentation/
Dperf-buildid-list.txt25 --with-hits::
26 Show only DSOs with hits.
Dperf-annotate.txt129 global-period, local-period, global-hits, local-hits
133 The period/hits keywords set the base the percentage is computed
134 on - the samples period or the number of samples (hits).
Dperf-archive.txt15 This command runs perf-buildid-list --with-hits, and collects the files with the
Dperf-c2c.txt197 - count of load hits in FB (Fill Buffer), L1 and L2 cache
200 - count of LLC load accesses, includes LLC hits and LLC HITMs
203 - count of remote load accesses, includes remote hits and remote HITMs
Dperf-report.txt540 global-period, local-period, global-hits, local-hits
544 The period/hits keywords set the base the percentage is computed
545 on - the samples period or the number of samples (hits).
Dperf-intel-pt.txt670 perf buildid-list --with-hits
/tools/power/cpupower/utils/idle_monitor/
Dcpupower-monitor.c223 int mon, hits = 0; in parse_monitor_param() local
241 tmp_mons[hits] = monitors[num]; in parse_monitor_param()
242 hits++; in parse_monitor_param()
246 if (hits == 0) { in parse_monitor_param()
254 avail_monitors = hits; in parse_monitor_param()
/tools/perf/
Dperf-archive.sh25 perf buildid-list -i $PERF_DATA --with-hits | grep -v "^$NOBUILDID " > $BUILDIDS
Dbuiltin-top.c1343 u64 hits = top->samples; in __cmd_top() local
1347 if (opts->overwrite || (hits == top->samples)) in __cmd_top()
Dbuiltin-record.c1857 unsigned long long hits = rec->samples; in __cmd_record() local
1926 if (hits == rec->samples) { in __cmd_record()
/tools/testing/selftests/bpf/
Dbench.h34 long hits; member
Dbench.c58 hits_per_sec = res->hits / 1000000.0 / (delta_ns / 1000000000.0); in hits_drops_report_progress()
76 hits_mean += res[i].hits / 1000000.0 / (0.0 + res_cnt); in hits_drops_report_final()
82 hits_stddev += (hits_mean - res[i].hits / 1000000.0) * in hits_drops_report_final()
83 (hits_mean - res[i].hits / 1000000.0) / in hits_drops_report_final()
/tools/perf/util/
Dannotate.c2104 unsigned int hits = 0; in calc_percent() local
2108 hits += sym_hist->addr[offset].nr_samples; in calc_percent()
2115 data->he.nr_samples = hits; in calc_percent()
2116 data->percent[PERCENT_HITS_LOCAL] = 100.0 * hits / sym_hist->nr_samples; in calc_percent()
2120 data->percent[PERCENT_HITS_GLOBAL] = 100.0 * hits / hists->stats.nr_non_filtered_samples; in calc_percent()
/tools/bpf/bpftool/Documentation/
Dbpftool-prog.rst204 seconds or until user hits <Ctrl+C>. *DURATION* is optional.