/openbmc/linux/kernel/ |
H A D | profile.c | 36 u32 pc, hits; member 178 struct profile_hit *hits = per_cpu(cpu_profile_hits, cpu)[j]; in profile_flip_buffers() local 180 if (!hits[i].hits) { in profile_flip_buffers() 181 if (hits[i].pc) in profile_flip_buffers() 182 hits[i].pc = 0; in profile_flip_buffers() 185 atomic_add(hits[i].hits, &prof_buffer[hits[i].pc]); in profile_flip_buffers() 186 hits[i].hits = hits[i].pc = 0; in profile_flip_buffers() 201 struct profile_hit *hits = per_cpu(cpu_profile_hits, cpu)[i]; in profile_discard_flip_buffers() local 202 memset(hits, 0, NR_PROFILE_HIT*sizeof(struct profile_hit)); in profile_discard_flip_buffers() 211 struct profile_hit *hits; in do_profile_hits() local [all …]
|
/openbmc/linux/tools/testing/selftests/bpf/benchs/ |
H 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()
|
H 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()
|
H 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()
|
H A D | bench_htab_mem.c | 295 res->hits = atomic_swap(&ctx.skel->bss->op_cnt, 0) / env.producer_cnt; in htab_mem_measure() 303 loop = res->hits / 1000.0 / (delta_ns / 1000000000.0); in htab_mem_report_progress() 317 loop_mean += res[i].hits / 1000.0 / (0.0 + res_cnt); in htab_mem_report_final() 322 loop_stddev += (loop_mean - res[i].hits / 1000.0) * in htab_mem_report_final() 323 (loop_mean - res[i].hits / 1000.0) / in htab_mem_report_final()
|
H A D | bench_bpf_loop.c | 67 res->hits = atomic_swap(&ctx.skel->bss->hits, 0); in measure()
|
H A D | bench_trigger.c | 33 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()
|
H A D | bench_strncmp.c | 133 res->hits = atomic_swap(&ctx.skel->bss->hits, 0); in strncmp_measure()
|
/openbmc/linux/tools/testing/selftests/bpf/progs/ |
H A D | trigger_bench.c | 12 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()
|
H A D | strncmp_bench.c | 14 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()
|
H A D | bpf_loop_bench.c | 11 long hits; variable 21 __sync_add_and_fetch(&hits, nr_loops); in outer_loop()
|
H A D | local_storage_rcu_tasks_trace_bench.c | 15 long hits; variable 38 __sync_add_and_fetch(&hits, 1); in get_local()
|
H A D | local_storage_bench.c | 37 long hits; variable 99 __sync_add_and_fetch(&hits, lctx.loop_hits); in get_local()
|
/openbmc/qemu/tests/tcg/plugins/ |
H A D | insn.c | 27 uint64_t hits; member 42 uint64_t hits; member 115 insn->hits++; in vcpu_insn_matched_exec_before() 120 match->hits++; in vcpu_insn_matched_exec_before() 127 insn->vaddr, insn->disas, insn->hits); in vcpu_insn_matched_exec_before() 134 match->hits, delta, in vcpu_insn_matched_exec_before() 135 match->total_delta / match->hits); in vcpu_insn_matched_exec_before() 225 qemu_plugin_u64 hit_e = qemu_plugin_scoreboard_u64_in_struct(m->counts, MatchCount, hits); in plugin_exit() 226 uint64_t hits = qemu_plugin_u64_sum(hit_e); in plugin_exit() local 228 g_string_printf(out, "Match: %s, hits %"PRId64"\n", m->match_string, hits); in plugin_exit() [all …]
|
/openbmc/qemu/docs/about/ |
H A D | emulation.rst | 345 0x40069c, 'bl #0x4002b0', 10 hits, 1093 match hits, Δ+1257 since last match, 98 avg insns/match 346 0x4006ac, 'bl #0x403690', 10 hits, 1094 match hits, Δ+47 since last match, 98 avg insns/match 347 0x4037fc, 'bl #0x4002b0', 18 hits, 1095 match hits, Δ+22 since last match, 98 avg insns/match 348 0x400720, 'bl #0x403690', 10 hits, 1096 match hits, Δ+58 since last match, 98 avg insns/match 349 0x4037fc, 'bl #0x4002b0', 19 hits, 1097 match hits, Δ+22 since last match, 98 avg insns/match 350 0x400730, 'bl #0x403690', 10 hits, 1098 match hits, Δ+33 since last match, 98 avg insns/match 351 0x4037ac, 'bl #0x4002b0', 12 hits, 1099 match hits, Δ+20 since last match, 98 avg insns/match 518 Class: SVE (68 hits) 519 Class: PCrel addr (47789483 hits) 520 Class: Add/Sub (imm) (192817388 hits) [all …]
|
/openbmc/linux/tools/testing/selftests/bpf/ |
H 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() 73 hits_per_sec = res->hits / 1000000.0 / (delta_ns / 1000000000.0); in hits_drops_report_progress() 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() 163 hits_per_sec = res->hits / 1000000.0 / (delta_ns / 1000000000.0); in ops_report_progress() 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() [all …]
|
/openbmc/linux/mm/ |
H A D | swap_state.c | 52 #define SWAP_RA_VAL(addr, win, hits) \ argument 55 ((hits) & SWAP_RA_HITS_MASK)) 351 int win, hits; in swap_cache_get_folio() local 355 hits = SWAP_RA_HITS(ra_val); in swap_cache_get_folio() 357 hits = min_t(int, hits + 1, SWAP_RA_HITS_MAX); in swap_cache_get_folio() 359 SWAP_RA_VAL(addr, win, hits)); in swap_cache_get_folio() 543 int hits, in __swapin_nr_pages() argument 554 pages = hits + 2; in __swapin_nr_pages() 584 unsigned int hits, pages, max_pages; in swapin_nr_pages() local 591 hits = atomic_xchg(&swapin_readahead_hits, 0); in swapin_nr_pages() [all …]
|
/openbmc/linux/fs/ |
H A D | fs_struct.c | 69 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()
|
/openbmc/linux/drivers/cpuidle/governors/ |
H A D | teo.c | 178 unsigned int hits; member 275 bin->hits -= bin->hits >> DECAY_SHIFT; in teo_update() 278 cpu_data->total += bin->hits + bin->intercepts; in teo_update() 323 cpu_data->state_bins[idx_timer].hits += PULSE; in teo_update() 450 hit_sum += prev_bin->hits; in teo_select()
|
/openbmc/linux/tools/power/cpupower/utils/idle_monitor/ |
H A D | cpupower-monitor.c | 223 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()
|
/openbmc/u-boot/drivers/block/ |
H A D | blkcache.c | 64 ++_stats.hits; in blkcache_read() 163 _stats.hits = 0; in blkcache_configure() 170 _stats.hits = 0; in blkcache_stats()
|
/openbmc/linux/drivers/net/ethernet/marvell/mvpp2/ |
H A D | mvpp2_debugfs.c | 62 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()
|
/openbmc/openbmc/poky/meta/recipes-kernel/systemtap/systemtap/ |
H A D | 0001-staprun-address-ncurses-6.3-failures.patch | 22 - width[p_hits], HIGHLIGHT("hits", p_hits, comp_fn_index), 28 + (int)width[p_hits], HIGHLIGHT("hits", p_hits, comp_fn_index), 44 json_object_object_get_ex(probe, "hits", &field);
|
/openbmc/linux/tools/perf/Documentation/ |
H A D | perf-buildid-list.txt | 25 --with-hits:: 26 Show only DSOs with hits.
|
H 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).
|