Home
last modified time | relevance | path

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

1234

/linux-6.3-rc2/kernel/
A Dprofile.c36 u32 pc, hits; member
189 if (!hits[i].hits) { in profile_flip_buffers()
190 if (hits[i].pc) in profile_flip_buffers()
194 atomic_add(hits[i].hits, &prof_buffer[hits[i].pc]); in profile_flip_buffers()
195 hits[i].hits = hits[i].pc = 0; in profile_flip_buffers()
227 if (!hits) { in do_profile_hits()
240 hits[i + j].hits += nr_hits; in do_profile_hits()
242 } else if (!hits[i + j].hits) { in do_profile_hits()
244 hits[i + j].hits = nr_hits; in do_profile_hits()
257 atomic_add(hits[i].hits, &prof_buffer[hits[i].pc]); in do_profile_hits()
[all …]
/linux-6.3-rc2/tools/testing/selftests/bpf/benchs/
A 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()
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.c72 res->hits = atomic_swap(&ctx.skel->bss->hits, 0); in measure()
A Dbench_trigger.c33 res->hits = atomic_swap(&base_hits.value, 0); in trigger_base_measure()
45 res->hits = atomic_swap(&ctx.skel->bss->hits, 0); in trigger_measure()
A Dbench_strncmp.c138 res->hits = atomic_swap(&ctx.skel->bss->hits, 0); in strncmp_measure()
A Dbench_local_storage.c224 res->hits = atomic_swap(&ctx.skel->bss->hits, 0); in measure()
A Drun_common.sh21 function hits() function
/linux-6.3-rc2/tools/testing/selftests/bpf/progs/
A Dtrigger_bench.c12 long hits = 0; variable
17 __sync_add_and_fetch(&hits, 1); in bench_trigger_tp()
25 __sync_add_and_fetch(&hits, 1); in BPF_PROG()
32 __sync_add_and_fetch(&hits, 1); in bench_trigger_kprobe()
39 __sync_add_and_fetch(&hits, 1); in bench_trigger_fentry()
46 __sync_add_and_fetch(&hits, 1); in bench_trigger_fentry_sleep()
53 __sync_add_and_fetch(&hits, 1); in bench_trigger_fmodret()
60 __sync_add_and_fetch(&hits, 1); in bench_trigger_uprobe()
A Dstrncmp_bench.c14 long hits = 0; variable
39 __sync_add_and_fetch(&hits, 1); in strncmp_no_helper()
47 __sync_add_and_fetch(&hits, 1); in strncmp_helper()
A Dbpf_loop_bench.c11 long hits; variable
24 __sync_add_and_fetch(&hits, nr_loops); in benchmark()
A Dlocal_storage_rcu_tasks_trace_bench.c15 long hits; variable
38 __sync_add_and_fetch(&hits, 1); in get_local()
A Dlocal_storage_bench.c37 long hits; variable
99 __sync_add_and_fetch(&hits, lctx.loop_hits); in get_local()
/linux-6.3-rc2/tools/testing/selftests/bpf/
A Dbench.c40 long total = res->false_hits + res->hits + res->drops; in false_hits_report_progress()
55 total_hits += res[i].hits; in false_hits_report_final()
128 hits_mean += res[i].hits / 1000000.0 / (0.0 + res_cnt); in hits_drops_report_final()
135 hits_stddev += (hits_mean - res[i].hits / 1000000.0) * in hits_drops_report_final()
136 (hits_mean - res[i].hits / 1000000.0) / in hits_drops_report_final()
141 total_ops = res[i].hits + res[i].drops; in hits_drops_report_final()
176 hits_mean += res[i].hits / 1000000.0 / (0.0 + res_cnt); in ops_report_final()
180 hits_stddev += (hits_mean - res[i].hits / 1000000.0) * in ops_report_final()
181 (hits_mean - res[i].hits / 1000000.0) / in ops_report_final()
197 hits_per_sec = res->hits / 1000000.0 / delta_sec; in local_storage_report_progress()
[all …]
/linux-6.3-rc2/mm/
A Dswap_state.c53 #define SWAP_RA_VAL(addr, win, hits) \ argument
56 ((hits) & SWAP_RA_HITS_MASK))
353 int win, hits; in swap_cache_get_folio() local
357 hits = SWAP_RA_HITS(ra_val); in swap_cache_get_folio()
359 hits = min_t(int, hits + 1, SWAP_RA_HITS_MAX); in swap_cache_get_folio()
361 SWAP_RA_VAL(addr, win, hits)); in swap_cache_get_folio()
532 int hits, in __swapin_nr_pages() argument
543 pages = hits + 2; in __swapin_nr_pages()
573 unsigned int hits, pages, max_pages; in swapin_nr_pages() local
584 if (!hits) in swapin_nr_pages()
[all …]
/linux-6.3-rc2/fs/
A Dfs_struct.c69 int hits = 0; in chroot_fs_refs() local
72 hits += replace_path(&fs->root, old_root, new_root); in chroot_fs_refs()
73 hits += replace_path(&fs->pwd, old_root, new_root); in chroot_fs_refs()
75 while (hits--) { in chroot_fs_refs()
/linux-6.3-rc2/drivers/cpuidle/governors/
A Dteo.c177 unsigned int hits; member
274 bin->hits -= bin->hits >> DECAY_SHIFT; in teo_update()
277 cpu_data->total += bin->hits + bin->intercepts; in teo_update()
300 cpu_data->state_bins[idx_timer].hits += PULSE; in teo_update()
425 hit_sum += prev_bin->hits; in teo_select()
/linux-6.3-rc2/tools/power/cpupower/utils/idle_monitor/
A 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()
/linux-6.3-rc2/tools/perf/Documentation/
A Dperf-buildid-list.txt25 --with-hits::
26 Show only DSOs with hits.
A Dperf-annotate.txt143 global-period, local-period, global-hits, local-hits
147 The period/hits keywords set the base the percentage is computed
148 on - the samples period or the number of samples (hits).
A Dperf-archive.txt15 This command runs perf-buildid-list --with-hits, and collects the files with the
/linux-6.3-rc2/drivers/net/ethernet/marvell/mvpp2/
A Dmvpp2_debugfs.c62 u32 hits = mvpp2_cls_flow_hits(entry->priv, entry->id); in mvpp2_dbgfs_flow_flt_hits_show() local
64 seq_printf(s, "%u\n", hits); in mvpp2_dbgfs_flow_flt_hits_show()
75 u32 hits = mvpp2_cls_lookup_hits(entry->priv, entry->flow); in mvpp2_dbgfs_flow_dec_hits_show() local
77 seq_printf(s, "%u\n", hits); in mvpp2_dbgfs_flow_dec_hits_show()
194 u32 hits; in mvpp2_dbgfs_flow_c2_hits_show() local
196 hits = mvpp2_cls_c2_hit_count(entry->priv, entry->id); in mvpp2_dbgfs_flow_c2_hits_show()
198 seq_printf(s, "%u\n", hits); in mvpp2_dbgfs_flow_c2_hits_show()
/linux-6.3-rc2/lib/
A Dlru_cache.c192 lc->hits = 0; in lc_reset()
230 lc->hits, lc->misses, lc->starving, lc->locked, lc->changed); in lc_seq_printf_stats()
377 ++lc->hits; in __lc_get()
381 ++lc->hits; in __lc_get()
/linux-6.3-rc2/Documentation/devicetree/bindings/arc/
A Darchs-pct.txt4 CPU and cache events like cache misses and hits. Like conventional PCT there
/linux-6.3-rc2/tools/perf/
A Dperf-archive.sh24 perf buildid-list -i $PERF_DATA --with-hits | grep -v "^ " > $BUILDIDS

Completed in 38 milliseconds

1234