Home
last modified time | relevance | path

Searched full:hits (Results 1 – 25 of 440) sorted by relevance

12345678910>>...18

/Linux-v6.6/kernel/
Dprofile.c36 u32 pc, hits; member
142 * profile hits. read_profile() IPI's all cpus to request them
147 * profile hits required for the accuracy of reported profile hits
151 * and hold the number of pending hits to that profile buffer slot on
152 * a cpu in an entry. When the hashtable overflows, all pending hits
154 * atomic_add() and the hashtable emptied. As numerous pending hits
159 * positions to which hits are accounted during short intervals (e.g.
187 struct profile_hit *hits = per_cpu(cpu_profile_hits, cpu)[j]; in profile_flip_buffers() local
189 if (!hits[i].hits) { in profile_flip_buffers()
190 if (hits[i].pc) in profile_flip_buffers()
[all …]
/Linux-v6.6/tools/testing/selftests/bpf/benchs/
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()
Drun_common.sh21 function hits() function
23 echo "$*" | sed -E "s/.*hits\s+([0-9]+\.[0-9]+ ± [0-9]+\.[0-9]+M\/s).*/\1/"
46 echo -n "hits throughput: "
47 echo -n "$*" | sed -E "s/.* hits throughput\s+([0-9]+\.[0-9]+ ± [0-9]+\.[0-9]+\sM\sops\/s).*/\1/"
48 echo -n -e ", hits latency: "
49 echo -n "$*" | sed -E "s/.* hits latency\s+([0-9]+\.[0-9]+\sns\/op).*/\1/"
63 printf "%-20s %s (drops %s)\n" "$bench" "$(hits $summary)" "$(drops $summary)"
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()
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()
/Linux-v6.6/tools/testing/selftests/bpf/progs/
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()
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()
/Linux-v6.6/tools/perf/pmu-events/arch/arm64/hisilicon/hip08/
Duncore-l3c.json19 "BriefDescription": "Total read hits",
20 "PublicDescription": "Total read hits",
26 "BriefDescription": "Total write hits",
27 "PublicDescription": "Total write hits",
54 "BriefDescription": "Count of the number of read lines that hits in spipe of this L3C",
55 "PublicDescription": "Count of the number of read lines that hits in spipe of this L3C",
61 "BriefDescription": "Count of the number of write lines that hits in spipe of this L3C",
62 "PublicDescription": "Count of the number of write lines that hits in spipe of this L3C",
/Linux-v6.6/tools/testing/selftests/bpf/
Dbench.c40 long total = res->false_hits + res->hits + res->drops; in false_hits_report_progress()
45 printf("%ld false hits of %ld total operations. Percentage = %2.2f %%\n", in false_hits_report_progress()
55 total_hits += res[i].hits; in false_hits_report_final()
61 printf("Summary: %ld false hits of %ld total operations. ", in false_hits_report_final()
72 hits_per_sec = res->hits / 1000000.0 / (delta_ns / 1000000000.0); in hits_drops_report_progress()
79 printf("hits %8.3lfM/s (%7.3lfM/prod), drops %8.3lfM/s, total operations %8.3lfM/s\n", in hits_drops_report_progress()
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()
[all …]
/Linux-v6.6/tools/perf/pmu-events/arch/arm64/fujitsu/a64fx/
Dcache.json105 …"PublicDescription": "This event counts operations where demand access hits an L2 cache refill buf…
108 …"BriefDescription": "This event counts operations where demand access hits an L2 cache refill buff…
111 …"PublicDescription": "This event counts operations where software or hardware prefetch hits an L2 …
114 …"BriefDescription": "This event counts operations where software or hardware prefetch hits an L2 c…
117 …"PublicDescription": "This event counts operations where demand access hits an L2 cache refill buf…
120 …"BriefDescription": "This event counts operations where demand access hits an L2 cache refill buff…
/Linux-v6.6/tools/perf/pmu-events/arch/test/test_soc/cpu/
Duncore.json40 "BriefDescription": "Total read hits",
41 "PublicDescription": "Total read hits",
54 "BriefDescription": "Total cache hits",
55 "PublicDescription": "Total cache hits",
/Linux-v6.6/tools/perf/pmu-events/arch/x86/skylakex/
Dcache.json131 "BriefDescription": "L2 cache hits when fetching instructions, code reads.",
134 "PublicDescription": "Counts L2 cache hits when fetching instructions, code reads.",
316 …Retired load instructions which data sources were L3 and cross-core snoop hits in on-pkg core cach…
321 …Retired load instructions which data sources were L3 and cross-core snoop hits in on-pkg core cach…
345 …"BriefDescription": "Retired load instructions which data sources were hits in L3 without snoops r…
350 …"PublicDescription": "Retired load instructions which data sources were hits in L3 without snoops …
413 "BriefDescription": "Retired load instructions with L1 cache hits as data sources",
433 "BriefDescription": "Retired load instructions with L2 cache hits as data sources",
438 "PublicDescription": "Retired load instructions with L2 cache hits as data sources.",
453 "BriefDescription": "Retired load instructions with L3 cache hits as data sources",
[all …]
/Linux-v6.6/tools/perf/pmu-events/arch/arm64/arm/neoverse-n1/
Dtlb.json8 …dware prefetch accesses. This event counts regardless of whether the miss hits in L2 or results in…
16 …"PublicDescription": "Counts level 1 instruction TLB accesses, whether the access hits or misses i…
36 …dware prefetch accesses. This event counts regardless of whether the miss hits in L2 or results in…
40 …dware prefetch accesses. This event counts regardless of whether the miss hits in L2 or results in…
44 …es caused by memory read operations. This event counts whether the access hits or misses in the TL…
48 …s caused by memory write operations. This event counts whether the access hits or misses in the TL…
/Linux-v6.6/tools/perf/pmu-events/arch/arm64/arm/neoverse-n2-v2/
Dtlb.json8 …dware prefetch accesses. This event counts regardless of whether the miss hits in L2 or results in…
16 …"PublicDescription": "Counts level 1 instruction TLB accesses, whether the access hits or misses i…
36 …dware prefetch accesses. This event counts regardless of whether the miss hits in L2 or results in…
40 …dware prefetch accesses. This event counts regardless of whether the miss hits in L2 or results in…
44 …es caused by memory read operations. This event counts whether the access hits or misses in the TL…
48 …s caused by memory write operations. This event counts whether the access hits or misses in the TL…
/Linux-v6.6/tools/perf/pmu-events/arch/powerpc/power8/
Dmetrics.json492 …"BriefDescription": "Percentage of L2 load hits per instruction where the L2 experienced a Load-Hi…
504 …"BriefDescription": "Percentage of L2 load hits per instruction where the L2 did not experience a …
510 …"BriefDescription": "Percentage of L2 load hits per instruction where the L2 experienced some conf…
534 …"BriefDescription": "Percentage of L3 load hits per instruction where the load collided with a pen…
546 …"BriefDescription": "Percentage of L3 load hits per instruction where the L3 did not experience a …
684 …"BriefDescription": "Percentage of L3 load hits per instruction where the line was brought into th…
1926 …"BriefDescription": "Fraction of hits on any Centaur (local, remote, or distant) on either L4 or D…
1946 … "BriefDescription": "Fraction of hits on a distant chip's Centaur (L4 or DRAM) per L1 load ref",
1971 …"BriefDescription": "Fraction of hits of a line in the M (exclusive) state on the L2 or L3 of a co…
1976 …"BriefDescription": "Fraction of hits of a line in the S state on the L2 or L3 of a core on a dist…
[all …]
/Linux-v6.6/drivers/cpuidle/governors/
Dteo.c49 * Two metrics called "hits" and "intercepts" are associated with each bin.
53 * The "hits" metric reflects the relative frequency of situations in which the
74 * - The sum of the "hits" and "intercepts" metrics for the candidate state
173 * @hits: The "hits" metric.
178 unsigned int hits; member
187 * @total: Grand total of the "intercepts" and "hits" metrics for all bins.
190 * @tick_hits: Number of "hits" after TICK_NSEC.
268 * Decay the "hits" and "intercepts" metrics for all of the bins and in teo_update()
275 bin->hits -= bin->hits >> DECAY_SHIFT; in teo_update()
278 cpu_data->total += bin->hits + bin->intercepts; in teo_update()
[all …]
/Linux-v6.6/tools/perf/pmu-events/arch/x86/haswell/
Duncore-cache.json131 …"BriefDescription": "A cross-core snoop resulted from L3 Eviction which hits a modified line in so…
139 "BriefDescription": "An external snoop hits a modified line in some processor core.",
147 …e snoop initiated by this Cbox due to processor core memory request which hits a modified line in …
155 …"BriefDescription": "A cross-core snoop resulted from L3 Eviction which hits a non-modified line i…
163 "BriefDescription": "An external snoop hits a non-modified line in some processor core.",
171 …e snoop initiated by this Cbox due to processor core memory request which hits a non-modified line…
Dvirtual-memory.json22 "PublicDescription": "Number of cache load STLB hits. No page walk.",
247 "BriefDescription": "Number of DTLB page walker hits in the L1+FB",
255 "BriefDescription": "Number of DTLB page walker hits in the L2",
263 "BriefDescription": "Number of DTLB page walker hits in the L3 + XSNP",
272 "BriefDescription": "Number of DTLB page walker hits in Memory",
337 "BriefDescription": "Number of ITLB page walker hits in the L1+FB",
345 "BriefDescription": "Number of ITLB page walker hits in the L2",
353 "BriefDescription": "Number of ITLB page walker hits in the L3 + XSNP",
362 "BriefDescription": "Number of ITLB page walker hits in Memory",
/Linux-v6.6/tools/perf/pmu-events/arch/x86/ivybridge/
Duncore-cache.json131 …"BriefDescription": "A cross-core snoop resulted from L3 Eviction which hits a modified line in so…
139 "BriefDescription": "An external snoop hits a modified line in some processor core.",
147 …e snoop initiated by this Cbox due to processor core memory request which hits a modified line in …
155 …"BriefDescription": "A cross-core snoop resulted from L3 Eviction which hits a non-modified line i…
163 "BriefDescription": "An external snoop hits a non-modified line in some processor core.",
171 …e snoop initiated by this Cbox due to processor core memory request which hits a non-modified line…
/Linux-v6.6/tools/perf/pmu-events/arch/x86/sandybridge/
Duncore-cache.json131 …"BriefDescription": "A cross-core snoop resulted from L3 Eviction which hits a modified line in so…
139 "BriefDescription": "An external snoop hits a modified line in some processor core.",
147 …e snoop initiated by this Cbox due to processor core memory request which hits a modified line in …
155 …"BriefDescription": "A cross-core snoop resulted from L3 Eviction which hits a non-modified line i…
163 "BriefDescription": "An external snoop hits a non-modified line in some processor core.",
171 …e snoop initiated by this Cbox due to processor core memory request which hits a non-modified line…
/Linux-v6.6/mm/
Dswap_state.c52 #define SWAP_RA_VAL(addr, win, hits) \ argument
55 ((hits) & SWAP_RA_HITS_MASK))
57 /* Initial readahead hits is 4 to start up with a small window */
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()
557 * We can have no readahead hits to judge by: but must not get in __swapin_nr_pages()
[all …]
/Linux-v6.6/tools/perf/pmu-events/arch/x86/snowridgex/
Dvirtual-memory.json10 …"BriefDescription": "Counts the number of first level TLB misses but second level hits due to a de…
64 …"BriefDescription": "Counts the number of first level TLB misses but second level hits due to stor…
111 "BriefDescription": "Counts the number of Extended Page Directory Entry hits.",
114 …"PublicDescription": "Counts the number of Extended Page Directory Entry hits. The Extended Page …
127 "BriefDescription": "Counts the number of Extended Page Directory Pointer Entry hits.",
130 …"PublicDescription": "Counts the number Extended Page Directory Pointer Entry hits. The Extended …
143 …e number of page walks outstanding for an Extended Page table walk including GTLB hits per cycle.",
146 … of page walks outstanding for an Extended Page table walk including GTLB hits per cycle. The Ext…
166 …"BriefDescription": "Counts the number of first level TLB misses but second level hits due to an i…
/Linux-v6.6/tools/perf/pmu-events/arch/x86/elkhartlake/
Dvirtual-memory.json10 …"BriefDescription": "Counts the number of first level TLB misses but second level hits due to a de…
64 …"BriefDescription": "Counts the number of first level TLB misses but second level hits due to stor…
111 "BriefDescription": "Counts the number of Extended Page Directory Entry hits.",
114 …"PublicDescription": "Counts the number of Extended Page Directory Entry hits. The Extended Page …
127 "BriefDescription": "Counts the number of Extended Page Directory Pointer Entry hits.",
130 …"PublicDescription": "Counts the number Extended Page Directory Pointer Entry hits. The Extended …
143 …e number of page walks outstanding for an Extended Page table walk including GTLB hits per cycle.",
146 … of page walks outstanding for an Extended Page table walk including GTLB hits per cycle. The Ext…
166 …"BriefDescription": "Counts the number of first level TLB misses but second level hits due to an i…
/Linux-v6.6/tools/perf/pmu-events/arch/x86/haswellx/
Dvirtual-memory.json22 "PublicDescription": "Number of cache load STLB hits. No page walk.",
247 "BriefDescription": "Number of DTLB page walker hits in the L1+FB",
255 "BriefDescription": "Number of DTLB page walker hits in the L2",
263 "BriefDescription": "Number of DTLB page walker hits in the L3 + XSNP",
272 "BriefDescription": "Number of DTLB page walker hits in Memory",
337 "BriefDescription": "Number of ITLB page walker hits in the L1+FB",
345 "BriefDescription": "Number of ITLB page walker hits in the L2",
353 "BriefDescription": "Number of ITLB page walker hits in the L3 + XSNP",
362 "BriefDescription": "Number of ITLB page walker hits in Memory",
/Linux-v6.6/tools/perf/pmu-events/arch/x86/amdzen4/
Dmemory.json29 "BriefDescription": "Store-to-load-forward (STLF) hits."
40 "BriefDescription": "L1 DTLB misses with L2 DTLB hits for 4k pages.",
46 …"BriefDescription": "L1 DTLB misses with L2 DTLB hits for coalesced pages. A coalesced page is a 1…
52 "BriefDescription": "L1 DTLB misses with L2 DTLB hits for 2M pages.",
58 "BriefDescription": "L1 DTLB misses with L2 DTLB hits for 1G pages.",

12345678910>>...18