Home
last modified time | relevance | path

Searched +full:down +full:- +full:counters (Results 1 – 25 of 479) sorted by relevance

12345678910>>...20

/linux/tools/perf/Documentation/
H A Dperf-stat.txt1 perf-stat(1)
5 ----
6 perf-stat - Run a command and gather performance counter statistics
9 --------
11 'perf stat' [-e <EVENT> | --event=EVENT] [-a] <command>
12 'perf stat' [-e <EVENT> | --event=EVENT] [-a] \-- <command> [<options>]
13 'perf stat' [-e <EVENT> | --event=EVENT] [-a] record [-o file] \-- <command> [<options>]
14 'perf stat' report [-i file]
17 -----------
23 -------
[all …]
H A Dtopdown.txt2 ---------------------
11 perf stat --topdown implements this using available metrics that vary
14 % perf stat -a --topdown -I1000
28 fixed counters and do not require generic counters. This allows
53 metric event, and allow user programs to read the performance counters.
84 int slots_fd = perf_event_open(&slots, 0, -1, -1, 0);
104 int metrics_fd = perf_event_open(&metrics, 0, -1, slots_fd, 0);
123 #define RDPMC_FIXED (1 << 30) /* return fixed counters */
124 #define RDPMC_METRIC (1 << 29) /* return metric counters */
147 _rdpmc calls should not be mixed with reading the metrics and slots counters
[all …]
/linux/Documentation/ABI/testing/
H A Dsysfs-bus-pci-devices-aer2 --------------------------
5 statistical counters indicate the errors "as seen/reported by the device".
7 counters may increment at its link partner (e.g. root port) because the
9 problematic endpoint itself (which may report all counters as 0 as it never
15 Contact: linux-pci@vger.kernel.org, rajatja@google.com
28 Advisory Non-Fatal 0
36 Contact: linux-pci@vger.kernel.org, rajatja@google.com
46 Surprise Down Error 0
66 Contact: linux-pci@vger.kernel.org, rajatja@google.com
76 Surprise Down Error 0
[all …]
/linux/tools/testing/selftests/net/netfilter/
H A Dnft_flowtable.sh2 # SPDX-License-Identifier: GPL-2.0
7 # Originator (MTU 9000) <-Router1-> MTU 1500 <-Router2-> Responder (MTU 2000)
14 # nft_flowtable.sh -o8000 -l1500 -r2000
27 log_netns=$(sysctl -n net.netfilter.nf_log_all_netns)
29 checktool "nft --version" "run test without nft tool"
30 checktool "socat -h" "run test without socat"
40 rm -f "$nsin" "$nsin_small" "$ns1out" "$ns2out"
42 [ "$log_netns" -eq 0 ] && sysctl -q net.netfilter.nf_log_all_netns="$log_netns"
47 sysctl -q net.netfilter.nf_log_all_netns=1
55 ip -net "$nsr1" link set "$dev" up
[all …]
/linux/arch/arm64/kernel/
H A Dtopology.c84 * - the 'identical implementation' flag in parse_acpi_topology()
85 * - its parent not having the flag in parse_acpi_topology()
94 entry->core_id = topology_id; in parse_acpi_topology()
95 entry->thread_num = 1; in parse_acpi_topology()
99 } else if (entry->core_id == topology_id) { in parse_acpi_topology()
100 entry->thread_num++; in parse_acpi_topology()
103 cpu_topology[cpu].thread_id = -1; in parse_acpi_topology()
118 max_smt_thread_num = max(max_smt_thread_num, entry->thread_num); in parse_acpi_topology()
160 amu_sample->arch_core_cycles_prev = read_corecnt(); in update_freq_counters_refs()
161 amu_sample->arch_const_cycles_prev = read_constcnt(); in update_freq_counters_refs()
[all …]
/linux/tools/testing/selftests/net/forwarding/
H A Dvxlan_bridge_1d.sh2 # SPDX-License-Identifier: GPL-2.0
4 # +--------------------+ +----------------------+
8 # +----|---------------+ +--|-------------------+
10 # +----|--------------------------------------------------|-------------------+
12 # | +--|--------------------------------------------------|-----------------+ |
19 # | +-----------------------------------------------------------------------+ |
26 # +----|----------------------------------------------------------------------+
28 # +----|--------------------------------------------------------+
37 # +----|---------------------------------------|----------------+
39 # +----|------------------------------+ +----|------------------------------+
[all …]
H A Dvxlan_bridge_1q.sh2 # SPDX-License-Identifier: GPL-2.0
4 # +-----------------------+ +------------------------+
13 # +----|------------------+ +----|-------------------+
15 # +----|--------------------------------------------------|-------------------+
17 # | +--|--------------------------------------------------|-----------------+ |
27 # | +-----------------------------------------------------------------------+ |
34 # +----|----------------------------------------------------------------------+
36 # +----|--------------------------------------------------------+
45 # +----|---------------------------------------|----------------+
47 # +----|------------------------------+ +----|------------------------------+
[all …]
H A Dvxlan_bridge_1q_ipv6.sh2 # SPDX-License-Identifier: GPL-2.0
4 # +-----------------------+ +------------------------+
15 # +----|------------------+ +----|-------------------+
17 # +----|--------------------------------------------------|-------------------+
19 # | +--|--------------------------------------------------|-----------------+ |
31 # | +-----------------------------------------------------------------------+ |
38 # +----|----------------------------------------------------------------------+
40 # +----|----------------------------------------------------------+
49 # +----|---------------------------------------|------------------+
51 # +----|--------------------------------+ +----|-------------------------------+
[all …]
H A Dvxlan_bridge_1d_ipv6.sh2 # SPDX-License-Identifier: GPL-2.0
4 # +-----------------------+ +------------------------+
9 # +----|------------------+ +----|-------------------+
11 # +----|--------------------------------------------------|-------------------+
13 # | +--|--------------------------------------------------|-----------------+ |
20 # | +-----------------------------------------------------------------------+ |
27 # +----|----------------------------------------------------------------------+
29 # +----|----------------------------------------------------------+
38 # +----|---------------------------------------|------------------+
40 # +----|--------------------------------+ +----|-------------------------------+
[all …]
/linux/tools/perf/pmu-events/arch/x86/graniterapids/
H A Dpipeline.json8 …y executing divide or square root operations. Accounts for integer and floating-point operations.",
35 "PublicDescription": "Counts all branch instructions retired. Available PDIST counters: 0",
43 …"PublicDescription": "Counts conditional branch instructions retired. Available PDIST counters: 0",
52 … "PublicDescription": "Counts not taken branch instructions retired. Available PDIST counters: 0",
61 …cDescription": "Counts taken conditional branch instructions retired. Available PDIST counters: 0",
70 "PublicDescription": "Counts far branch instructions retired. Available PDIST counters: 0",
79 …tructions retired excluding returns. TSX abort is an indirect branch. Available PDIST counters: 0",
88 …on": "Counts both direct and indirect near call instructions retired. Available PDIST counters: 0",
97 "PublicDescription": "Counts return instructions retired. Available PDIST counters: 0",
106 … "PublicDescription": "Counts taken branch instructions retired. Available PDIST counters: 0",
[all …]
H A Dfrontend.json7 …"PublicDescription": "Number of times the front-end is resteered when it finds a branch instructio…
16 …e number of prefixes in a 16B-line. This may result in a three-cycle penalty for each LCP (Length …
29 "BriefDescription": "DSB-to-MITE switch true penalty cycles.",
33 …"PublicDescription": "Decode Stream Buffer (DSB) is a Uop-cache that holds translations of previou…
44 …ANT) conditional retired branches (no BTB entry and not mispredicted) Available PDIST counters: 0",
55 …ed DSB (Decode stream buffer i.e. the decoded instruction-cache) miss. Available PDIST counters: 0…
69 …coded instruction-cache) miss. Critical means stalls were exposed to the back-end as a result of t…
80 …tired Instructions that experienced iTLB (Instruction TLB) true miss. Available PDIST counters: 0",
94 … retired Instructions who experienced Instruction L1 Cache true miss. Available PDIST counters: 0",
108 … retired Instructions who experienced Instruction L2 Cache true miss. Available PDIST counters: 0",
[all …]
/linux/Documentation/devicetree/bindings/pwm/
H A Drenesas,rzg2l-gpt.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/pwm/renesas,rzg2l-gpt.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Biju Das <biju.das.jz@bp.renesas.com>
13 RZ/G2L General PWM Timer (GPT) composed of 8 channels with 32-bit timer
16 * Up-counting or down-counting (saw waves) or up/down-counting
29 * Synchronous starting, stopping and clearing counters for arbitrary
31 * Starting, stopping, clearing and up/down counters in response to input
33 * Starting, clearing, stopping and up/down counters in response to a
[all …]
/linux/tools/testing/selftests/drivers/net/hw/
H A Dethtool_rmon.sh2 # SPDX-License-Identifier: GPL-2.0
16 declare -A netif_mtu
22 local current=$(ip -j link show dev $iface | jq -r '.[0].mtu')
23 local required=$((len - ETH_HLEN - ETH_FCS_LEN))
25 if [ $current -lt $required ]; then
44 # Mausezahn does not include FCS bytes in its length - but the
45 # histogram counters do
46 len=$((len - ETH_FCS_LEN))
49 before=$(ethtool --json -S $iface --groups rmon | \
50 jq -r ".[0].rmon[\"${set}-pktsNtoM\"][$bucket].val")
[all …]
/linux/drivers/net/phy/
H A Ddp83tg720.c1 // SPDX-License-Identifier: GPL-2.0
18 * The DP83TG720 1000BASE-T1 PHY has several limitations that require
19 * software-side mitigations. These workarounds are implemented throughout
24 * ------------------------------------------------------------
34 * However, in point-to-point setups where both link partners use the same
37 * continuously miss each other during auto-negotiation.
41 * - A **fixed minimum delay of 1ms** after a hardware reset. The datasheet
42 * "DP83TG720S-Q1 1000BASE-T1 Automotive Ethernet PHY with SGMII and RGMII"
43 * specifies this as the "Post reset stabilization-time prior to MDC preamble
47 * - An **additional asymmetric delay**, empirically chosen based on
[all …]
/linux/tools/perf/pmu-events/arch/x86/pantherlake/
H A Dpipeline.json8 …y executing divide or square root operations. Accounts for integer and floating-point operations.",
48 …cessfully retires. All branch type instructions are accounted for. Available PDIST counters: 0,1",
57 … "PublicDescription": "Counts all branch instructions retired. Available PDIST counters: 0,1",
66 …ublicDescription": "Counts conditional branch instructions retired. Available PDIST counters: 0,1",
76 …ts the number of not taken conditional branch instructions retired. Available PDIST counters: 0,1",
86 …"PublicDescription": "Counts not taken branch instructions retired. Available PDIST counters: 0,1",
96 …escription": "Counts taken conditional branch instructions retired. Available PDIST counters: 0,1",
106 …n": "Counts taken backward conditional branch instructions retired. Available PDIST counters: 0,1",
116 …on": "Counts taken forward conditional branch instructions retired. Available PDIST counters: 0,1",
126 … "PublicDescription": "Counts far branch instructions retired. Available PDIST counters: 0,1",
[all …]
/linux/drivers/md/dm-vdo/indexer/
H A Dsparse-cache.c1 // SPDX-License-Identifier: GPL-2.0-only
6 #include "sparse-cache.h"
10 #include <linux/dm-bufio.h>
13 #include "memory-alloc.h"
16 #include "chapter-index.h"
23 * least-recently-used (LRU). Again, the small size of the cache allows the LRU order to be
46 * All fields that might be frequently updated by that thread are kept in separate cache-aligned
75 * clear the skip_search flag, once again allowing the non-hook searches to use that cache entry.
84 * These counters are essentially fields of the struct cached_chapter_index, but are segregated
118 * The cache-aligned counters change often and are placed at the end of the structure to in __aligned()
[all …]
/linux/arch/mips/sibyte/common/
H A Dsb_tbprof.c1 // SPDX-License-Identifier: GPL-2.0-or-later
5 * Copyright (C) 2007 Ralf Baechle <ralf@linux-mips.org>
7 * written by Ralf Baechle <ralf@linux-mips.org>
85 * Routines for using 40-bit SCD cycle counter
89 * zclk_timer_init(0) at least every 2^40 - 1 ZCLKs.
145 u64 next = (1ULL << 40) - tb_period; in arm_tb()
156 * Unfortunately, in Pass 2 we must clear all counters to knock down in arm_tb()
158 * requires ALL of the SCD perf counters. in arm_tb()
162 /* keep counters 0,2,3,4,5,6,7 as is */ in arm_tb()
167 M_SPC_CFG_CLEAR | /* clear all counters */ in arm_tb()
[all …]
/linux/tools/perf/
H A Ddesign.txt2 Performance Counters for Linux
3 ------------------------------
5 Performance counters are special hardware registers available on most modern
7 as instructions executed, cachemisses suffered, or branches mis-predicted -
8 without slowing down the kernel or applications. These registers can also
9 trigger interrupts when a threshold number of events have passed - and can
13 hardware capabilities. It provides per task and per CPU counters, counter
15 provides "virtual" 64-bit counters, regardless of the width of the
16 underlying hardware counters.
18 Performance counters are accessed via special file descriptors.
[all …]
/linux/fs/xfs/scrub/
H A Dquotacheck.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * Copyright (c) 2020-2024 Oracle. All Rights Reserved.
35 * Quota counters are "summary" metadata, in the sense that they are computed
79 /* Set us up to scrub quota counters. */
84 if (!XFS_IS_QUOTA_ON(sc->mp)) in xchk_setup_quotacheck()
85 return -ENOENT; in xchk_setup_quotacheck()
89 sc->buf = kzalloc(sizeof(struct xqcheck), XCHK_GFP_FLAGS); in xchk_setup_quotacheck()
90 if (!sc->buf) in xchk_setup_quotacheck()
91 return -ENOMEM; in xchk_setup_quotacheck()
110 * will try to update the quota counters for an inode that we've already
[all …]
/linux/tools/perf/pmu-events/arch/x86/emeraldrapids/
H A Dpipeline.json18 …y executing divide or square root operations. Accounts for integer and floating-point operations.",
65 "PublicDescription": "Counts all branch instructions retired. Available PDIST counters: 0",
73 …"PublicDescription": "Counts conditional branch instructions retired. Available PDIST counters: 0",
82 … "PublicDescription": "Counts not taken branch instructions retired. Available PDIST counters: 0",
91 …cDescription": "Counts taken conditional branch instructions retired. Available PDIST counters: 0",
100 "PublicDescription": "Counts far branch instructions retired. Available PDIST counters: 0",
109 …tructions retired excluding returns. TSX abort is an indirect branch. Available PDIST counters: 0",
118 …on": "Counts both direct and indirect near call instructions retired. Available PDIST counters: 0",
127 "PublicDescription": "Counts return instructions retired. Available PDIST counters: 0",
136 … "PublicDescription": "Counts taken branch instructions retired. Available PDIST counters: 0",
[all …]
/linux/tools/perf/pmu-events/arch/x86/sapphirerapids/
H A Dpipeline.json18 …y executing divide or square root operations. Accounts for integer and floating-point operations.",
65 "PublicDescription": "Counts all branch instructions retired. Available PDIST counters: 0",
73 …"PublicDescription": "Counts conditional branch instructions retired. Available PDIST counters: 0",
82 … "PublicDescription": "Counts not taken branch instructions retired. Available PDIST counters: 0",
91 …cDescription": "Counts taken conditional branch instructions retired. Available PDIST counters: 0",
100 "PublicDescription": "Counts far branch instructions retired. Available PDIST counters: 0",
109 …tructions retired excluding returns. TSX abort is an indirect branch. Available PDIST counters: 0",
118 …on": "Counts both direct and indirect near call instructions retired. Available PDIST counters: 0",
127 "PublicDescription": "Counts return instructions retired. Available PDIST counters: 0",
136 … "PublicDescription": "Counts taken branch instructions retired. Available PDIST counters: 0",
[all …]
/linux/tools/perf/pmu-events/arch/x86/meteorlake/
H A Dpipeline.json18 …y executing divide or square root operations. Accounts for integer and floating-point operations.",
58 "PublicDescription": "Counts all branch instructions retired. Available PDIST counters: 0",
77 …"PublicDescription": "Counts conditional branch instructions retired. Available PDIST counters: 0",
87 … "PublicDescription": "Counts not taken branch instructions retired. Available PDIST counters: 0",
106 …cDescription": "Counts taken conditional branch instructions retired. Available PDIST counters: 0",
126 "PublicDescription": "Counts far branch instructions retired. Available PDIST counters: 0",
146 …tructions retired excluding returns. TSX abort is an indirect branch. Available PDIST counters: 0",
196 …on": "Counts both direct and indirect near call instructions retired. Available PDIST counters: 0",
215 "PublicDescription": "Counts return instructions retired. Available PDIST counters: 0",
235 … "PublicDescription": "Counts taken branch instructions retired. Available PDIST counters: 0",
[all …]
/linux/drivers/infiniband/ulp/opa_vnic/
H A Dopa_vnic_encap.h26 * - Redistributions of source code must retain the above copyright
28 * - Redistributions in binary form must reproduce the above copyright
32 * - Neither the name of Intel Corporation nor the names of its
84 #define OPA_VNIC_EMA_DATA (OPA_MGMT_MAD_SIZE - IB_MGMT_VENDOR_HDR)
118 * struct opa_vesw_info - OPA vnic switch information
119 * @fabric_id: 10-bit fabric id
120 * @vesw_id: 12-bit virtual ethernet switch id
155 * struct opa_per_veswport_info - OPA vnic per port information
171 * @non_vlan_sc_uc: sc for non-vlan unicast ethernet packets
172 * @non_vlan_vl_uc: vl for non-vlan unicast ethernet packets
[all …]
/linux/tools/perf/pmu-events/arch/x86/lunarlake/
H A Dpipeline.json18 …y executing divide or square root operations. Accounts for integer and floating-point operations.",
113 … "PublicDescription": "Counts all branch instructions retired. Available PDIST counters: 0,1",
131 …ublicDescription": "Counts conditional branch instructions retired. Available PDIST counters: 0,1",
150 …"PublicDescription": "Counts not taken branch instructions retired. Available PDIST counters: 0,1",
169 …escription": "Counts taken conditional branch instructions retired. Available PDIST counters: 0,1",
179 …n": "Counts taken backward conditional branch instructions retired. Available PDIST counters: 0,1",
189 …on": "Counts taken forward conditional branch instructions retired. Available PDIST counters: 0,1",
208 … "PublicDescription": "Counts far branch instructions retired. Available PDIST counters: 0,1",
227 …uctions retired excluding returns. TSX abort is an indirect branch. Available PDIST counters: 0,1",
264 …": "Counts both direct and indirect near call instructions retired. Available PDIST counters: 0,1",
[all …]
/linux/Documentation/timers/
H A Dtimekeeping.rst10 If you grep through the kernel source you will find a number of architecture-
12 architecture-specific overrides of the sched_clock() function and some
17 on this timeline, providing facilities such as high-resolution timers.
19 provide an accurate delay source using hardware counters.
23 -------------
31 n bits which count from 0 to (2^n)-1 and then wraps around to 0 and start over.
36 shall be as stable and correct as possible as compared to a real-world wall
46 When the wall-clock accuracy of the clock source isn't satisfactory, there
48 the user-visible time to RTC clocks in the system or against networked time
73 register counts up or down, and the timer clock rate, and then conjure all
[all …]

12345678910>>...20