| /linux-6.15/tools/testing/selftests/powerpc/pmu/ |
| H A D | count_instructions.c | 30 u64 overhead, bool report) in do_count_loop() argument 45 expected = instructions + overhead; in do_count_loop() 76 u64 current, overhead; in determine_overhead() local 80 overhead = events[0].result.value; in determine_overhead() 85 if (current < overhead) { in determine_overhead() 87 overhead = current; in determine_overhead() 91 return overhead; in determine_overhead() 97 u64 overhead; in test_body() local 112 overhead = determine_overhead(events); in test_body() 116 FAIL_IF(do_count_loop(events, 1000000, overhead, true)); in test_body() [all …]
|
| H A D | count_stcx_fail.c | 30 u64 overhead, bool report) in do_count_loop() argument 81 u64 current, overhead; in determine_overhead() local 85 overhead = events[0].result.value; in determine_overhead() 90 if (current < overhead) { in determine_overhead() 92 overhead = current; in determine_overhead() 96 return overhead; in determine_overhead() 105 u64 overhead; in test_body() local 129 overhead = determine_overhead(events); in test_body() 133 FAIL_IF(do_count_loop(events, 1000000, overhead, true)); in test_body() 136 FAIL_IF(do_count_loop(events, 10000000, overhead, true)); in test_body() [all …]
|
| /linux-6.15/tools/testing/selftests/powerpc/pmu/ebb/ |
| H A D | instruction_count_test.c | 26 uint64_t overhead, bool report) in do_count_loop() argument 46 expected = instructions + overhead; in do_count_loop() 72 uint64_t current, overhead; in determine_overhead() local 76 overhead = event->result.value; in determine_overhead() 81 if (current < overhead) { in determine_overhead() 83 overhead = current; in determine_overhead() 87 return overhead; in determine_overhead() 112 uint64_t overhead; in instruction_count() local 131 overhead = determine_overhead(&event); in instruction_count() 135 FAIL_IF(do_count_loop(&event, 0x100000, overhead, true)); in instruction_count() [all …]
|
| /linux-6.15/tools/perf/Documentation/ |
| H A D | callchain-overhead-calculation.txt | 3 The CPU overhead can be shown in two columns as 'Children' and 'Self' 5 wall-clock overhead). The 'self' overhead is simply calculated by 8 'self' overhead values should be 100%. 10 The 'children' overhead is calculated by adding all period values of 11 the child functions so that it can show the total overhead of the 16 It might be confusing that the sum of all the 'children' overhead 19 can find which function has the most overhead even if samples are 46 in the usual (self-overhead-only) output of perf report: 98 Likewise, the 'self' overhead of 'bar' (40%) was added to the 99 'children' overhead of 'main' and '\_\_libc_start_main'. [all …]
|
| H A D | cpu-and-latency-overheads.txt | 8 Perf can measure overhead for both of these times (shown in 'overhead' and 11 Optimizing CPU overhead is useful to improve 'throughput', while optimizing 12 latency overhead is useful to improve 'latency'. It's important to understand 20 128 seconds of CPU time). The CPU overhead is: 'foo' - 6.6%, 'bar' - 93.4%. 21 While the latency overhead is: 'foo' - 90%, 'bar' - 10%. If we try to optimize 22 running time of the program looking at the (wrong in this case) CPU overhead, 26 By default, perf shows only CPU overhead. To show latency overhead, use 38 To sort by latency overhead, use 'perf report --latency':
|
| H A D | perf-report.txt | 47 the overhead and latency columns. See --percentage for more info. 57 the overhead and latency columns. See --percentage for more info. 62 the overhead and latency columns. See --percentage for more info. 116 - overhead: CPU overhead percentage of sample. 117 - latency: latency (wall-clock) overhead percentage of sample. 146 By default, overhead, comm, dso and symbol keys are used. 147 (i.e. --sort overhead,comm,dso,symbol). 302 - percent: display overhead percent (default) 456 Do not show entries which have an overhead under that percent. 540 for other events to reduce the overhead. [all …]
|
| H A D | perf-config.txt | 182 'top' means a overhead percentage which is more than 5%. 187 'medium' means a overhead percentage which has more than 0.5%. 190 'normal' means the rest of overhead percentages 435 current overhead (33.33%). 478 (meaning that it assumes 100% total overhead of 'foo'). 480 The 'graph' uses absolute overhead value of 'foo' as total so each of 481 'bar' and 'baz' callchain will have 20.00% of overhead. 519 histogram entries. Entries having an overhead lower than this 521 is '10', only entries which have more than 10% of overhead will be 531 and show (accumulated) total overhead as well as 'Self' overhead. [all …]
|
| H A D | perf-top.txt | 134 local_weight, abort, in_tx, transaction, overhead, sample, period. 140 overhead, overhead_sys, overhead_us, overhead_children, sample and period. 155 percentage of the overhead column. See --percentage for more info. 159 percentage of the overhead column. See --percentage for more info. 163 percentage of the overhead column. See --percentage for more info. 199 enabled. See the `overhead calculation' section for more details. 216 Do not show entries which have an overhead under that percent. 220 Determine how to display the overhead percentage of filtered entries. 357 Alternatively one can ask for a group and then two overhead columns 435 include::callchain-overhead-calculation.txt[]
|
| /linux-6.15/drivers/net/fddi/skfp/ |
| H A D | ess.c | 119 u_long payload, overhead ; in ess_raf_received_pack() local 260 payload, overhead); in ess_raf_received_pack() 313 payload, overhead); in ess_raf_received_pack() 426 if (payload > MAX_PAYLOAD || overhead > 5000) { in process_bw_alloc() 437 (u_long)overhead != smc->mib.fddiESSOverhead)) { in process_bw_alloc() 449 smc->ess.sync_bw = overhead - in process_bw_alloc() 457 overhead = 0 ; in process_bw_alloc() 520 chg->overhead.para.p_type = SMT_P3210 ; in ess_send_response() 522 chg->overhead.mib_index = SBAPATHINDEX ; in ess_send_response() 628 req->overhead.para.p_type = SMT_P3210 ; in ess_send_alc_req() [all …]
|
| /linux-6.15/net/sctp/ |
| H A D | output.c | 60 packet->size = packet->overhead; in sctp_packet_reset() 95 packet->overhead = sctp_mtu_payload(sp, 0, 0); in sctp_packet_config() 96 packet->size = packet->overhead; in sctp_packet_config() 155 packet->overhead = 0; in sctp_packet_init() 221 int overhead = 0; in sctp_packet_bundle_pad() local 458 pkt_size = packet->overhead; in sctp_packet_pack() 465 else if (auth_len + padded + packet->overhead > in sctp_packet_pack() 475 skb_reserve(nskb, packet->overhead + MAX_HEADER); in sctp_packet_pack() 479 pkt_size -= packet->overhead; in sctp_packet_pack() 602 skb_reserve(head, packet->overhead + MAX_HEADER); in sctp_packet_transmit() [all …]
|
| /linux-6.15/drivers/net/wireless/ralink/rt2x00/ |
| H A D | rt2x00crypto.c | 68 unsigned int overhead = 0; in rt2x00crypto_tx_overhead() local 71 return overhead; in rt2x00crypto_tx_overhead() 78 overhead += key->icv_len; in rt2x00crypto_tx_overhead() 81 overhead += key->iv_len; in rt2x00crypto_tx_overhead() 85 overhead += 8; in rt2x00crypto_tx_overhead() 88 return overhead; in rt2x00crypto_tx_overhead()
|
| /linux-6.15/fs/freevxfs/ |
| H A D | vxfs_lookup.c | 84 int overhead = VXFS_DIRBLKOV(sbi, dbp); in vxfs_find_entry() local 86 pos += overhead; in vxfs_find_entry() 87 pg_ofs += overhead; in vxfs_find_entry() 234 int overhead = VXFS_DIRBLKOV(sbi, dbp); in vxfs_readdir() local 236 pos += overhead; in vxfs_readdir() 237 pg_ofs += overhead; in vxfs_readdir()
|
| /linux-6.15/fs/xfs/libxfs/ |
| H A D | xfs_trans_resv.c | 496 unsigned int overhead = XFS_DQUOT_LOGRES; in xfs_calc_rename_reservation() local 538 return overhead + max3(t1, t2, t3); in xfs_calc_rename_reservation() 607 unsigned int overhead = XFS_DQUOT_LOGRES; in xfs_calc_link_reservation() local 620 overhead += xfs_calc_pptr_link_overhead(); in xfs_calc_link_reservation() 623 return overhead + max3(t1, t2, t3); in xfs_calc_link_reservation() 675 overhead += xfs_calc_iunlink_add_reservation(mp); in xfs_calc_remove_reservation() 685 overhead += xfs_calc_pptr_unlink_overhead(); in xfs_calc_remove_reservation() 688 return overhead + max3(t1, t2, t3); in xfs_calc_remove_reservation() 759 unsigned int overhead = XFS_DQUOT_LOGRES; in xfs_calc_icreate_reservation() local 767 overhead += xfs_calc_pptr_link_overhead(); in xfs_calc_icreate_reservation() [all …]
|
| /linux-6.15/net/l2tp/ |
| H A D | l2tp_eth.c | 189 unsigned int overhead = 0; in l2tp_eth_adjust_mtu() local 195 overhead += sizeof(struct udphdr); in l2tp_eth_adjust_mtu() 214 overhead += session->hdr_len + ETH_HLEN + l3_overhead; in l2tp_eth_adjust_mtu() 216 mtu = l2tp_tunnel_dst_mtu(tunnel) - overhead; in l2tp_eth_adjust_mtu() 218 dev->mtu = ETH_DATA_LEN - overhead; in l2tp_eth_adjust_mtu()
|
| /linux-6.15/include/net/sctp/ |
| H A D | sctp.h | 576 __u32 overhead = sizeof(struct sctphdr) + extra; in __sctp_mtu_payload() local 579 overhead += sp->pf->af->net_header_len; in __sctp_mtu_payload() 581 overhead += sizeof(struct udphdr); in __sctp_mtu_payload() 583 overhead += sizeof(struct ipv6hdr); in __sctp_mtu_payload() 586 if (WARN_ON_ONCE(mtu && mtu <= overhead)) in __sctp_mtu_payload() 587 mtu = overhead; in __sctp_mtu_payload() 589 return mtu ? mtu - overhead : overhead; in __sctp_mtu_payload()
|
| /linux-6.15/fs/ext4/ |
| H A D | resize.c | 109 ext4_grpblk_t overhead; in ext4_group_overhead_blocks() local 112 overhead += 1 + in ext4_group_overhead_blocks() 114 return overhead; in ext4_group_overhead_blocks() 129 unsigned overhead; in verify_group_input() local 317 unsigned overhead; in ext4_alloc_group_tables() local 337 start_blk += overhead; in ext4_alloc_group_tables() 343 if (overhead == 0) in ext4_alloc_group_tables() 387 itb -= overhead; in ext4_alloc_group_tables() 561 ext4_grpblk_t overhead; in setup_new_flex_group_blocks() local 647 if (overhead != 0) { in setup_new_flex_group_blocks() [all …]
|
| /linux-6.15/Documentation/driver-api/mmc/ |
| H A D | mmc-async-req.rst | 8 How significant is the cache maintenance overhead? 11 pre-fetch makes the cache overhead relatively significant. If the DMA 13 transfer, the DMA preparation overhead would not affect the MMC performance. 75 Pseudocode to handle is_first_req scenario with minimal prepare overhead::
|
| /linux-6.15/Documentation/virt/ |
| H A D | paravirt_ops.rst | 25 known that the overhead of indirect call isn't very important. 29 are called frequently and are performance critical. The overhead is
|
| /linux-6.15/Documentation/usb/ |
| H A D | ohci.rst | 20 - improved robustness; bugfixes; and less overhead 30 to overhead in IRQ processing. When interrupt transfers are queued, those
|
| /linux-6.15/net/mac80211/ |
| H A D | airtime.c | 508 u32 *overhead) in ieee80211_get_rate_duration() argument 579 *overhead = 36 + (streams << 2); in ieee80211_get_rate_duration() 590 u32 duration, overhead = 0; in ieee80211_calc_rx_airtime() local 613 duration = ieee80211_get_rate_duration(hw, status, &overhead); in ieee80211_calc_rx_airtime() 621 return duration + overhead; in ieee80211_calc_rx_airtime() 781 u32 duration, overhead; in ieee80211_calc_expected_tx_airtime() local 790 duration = ieee80211_get_rate_duration(hw, &stat, &overhead); in ieee80211_calc_expected_tx_airtime() 816 duration += (overhead >> agg_shift); in ieee80211_calc_expected_tx_airtime()
|
| H A D | rc80211_minstrel_ht.c | 503 unsigned int nsecs = 0, overhead = mi->overhead; in minstrel_ht_get_tp_avg() local 511 overhead = mi->overhead_legacy; in minstrel_ht_get_tp_avg() 515 nsecs = 1000 * overhead / ampdu_len; in minstrel_ht_get_tp_avg() 1391 unsigned int overhead = 0, overhead_rtscts = 0; in minstrel_calc_retransmit() local 1413 overhead = mi->overhead_legacy; in minstrel_calc_retransmit() 1416 overhead = mi->overhead; in minstrel_calc_retransmit() 1421 tx_time = ctime + 2 * (overhead + tx_time_data); in minstrel_calc_retransmit() 1431 tx_time += ctime + overhead + tx_time_data; in minstrel_calc_retransmit() 1729 mi->overhead = ieee80211_frame_duration(sband->band, 0, 60, 1, 1); in minstrel_ht_update_caps() 1730 mi->overhead += ack_dur; in minstrel_ht_update_caps() [all …]
|
| /linux-6.15/drivers/net/fddi/skfp/h/ |
| H A D | smt.h | 799 struct smt_p_3210 overhead ; /* current SBA overhead */ member 816 struct smt_p_3210 overhead ; /* current SBA overhead */ member 832 struct smt_p_3210 overhead ; /* current SBA overhead */ member 854 struct smt_p_3210 overhead ; /* current SBA overhead */ member
|
| /linux-6.15/Documentation/mm/damon/ |
| H A D | index.rst | 13 - *light-weight* (the monitoring overhead is low enough to be applied online), 15 - *scalable* (the upper-bound of the overhead is in constant range regardless
|
| /linux-6.15/Documentation/filesystems/ext4/ |
| H A D | bigalloc.rst | 11 blocks to reduce both fragmentation and metadata overhead. The 23 also shrinking the amount of file system overhead for metadata.
|
| /linux-6.15/fs/netfs/ |
| H A D | Kconfig | 19 The gathering of statistics adds a certain amount of overhead to 54 The gathering of statistics adds a certain amount of overhead to
|