/openbmc/phosphor-hwmon/ |
H A D | average.hpp | 12 class Average class 18 /** @brief <average, average_interval> 19 * average is the value of power*_average. 27 /** @brief Get averageValue in averageMap based on averageKey. 31 * @param[in] sensorKey - Sensor details 33 * @return - Optional 40 /** @brief Set average value in averageMap based on sensor key. 44 * @param[in] sensorKey - Sensor details 45 * @param[in] sensorValue - The related average values of this sensor 50 /** @brief Calculate the average value. [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/input/ |
H A D | microchip,qt1050.txt | 1 Microchip AT42QT1050 Five-channel Touch Sensor IC 4 one to five keys, dependent on mode. The QT1050 includes all signal processing 11 - compatible: Must be "microchip,qt1050" 12 - reg: The I2C address of the device 13 - interrupts: The sink for the touchpad's IRQ output, 14 see ../interrupt-controller/interrupts.txt 17 - wakeup-source: touch keys can be used as a wakeup source 19 Each button (key) is represented as a sub-node: 25 - linux,code: Keycode to emit. 26 - reg: The key number. Valid values: 0, 1, 2, 3, 4. [all …]
|
/openbmc/linux/Documentation/accounting/ |
H A D | delay-accounting.rst | 7 runnable task may wait for a free CPU to run on. 9 The per-task delay accounting functionality measures 18 g) write-protect copy 35 statistics of a task are available both during its lifetime as well as on its 40 --------- 44 generic data structure to userspace corresponding to per-pid and per-tgid 53 cache, direct compact, write-protect copy, IRQ/SOFTIRQ etc. 60 When a task exits, records containing the per-task statistics 62 task of a thread group, the per-tgid statistics are also sent. More details 70 ----- [all …]
|
/openbmc/linux/Documentation/hwmon/ |
H A D | lochnagar.rst | 10 ----------- 12 Lochnagar 2 features built-in Current Monitor circuitry that allows for the 13 measurement of both voltage and current on up to eight of the supply voltage 22 ---------------- 30 power1_average Measured average power for DBVDD1 (microWatts) 37 power2_average Measured average power for 1V8 DSP (microWatts) 44 power3_average Measured average power for 1V8 CDC (microWatts) 51 power4_average Measured average power for VDDCORE DSP (microWatts) 58 power5_average Measured average power for AVDD 1V8 (microWatts) 63 power6_average Measured average power for SYSVDD (microWatts) [all …]
|
H A D | lm25066.rst | 10 Addresses scanned: - 22 Addresses scanned: - 34 Addresses scanned: - 44 Addresses scanned: - 54 Addresses scanned: - 61 Author: Guenter Roeck <linux@roeck-us.net> 65 ----------- 72 Documentation/hwmon/pmbus.rst for details on PMBus client drivers. 76 ----------- 78 This driver does not auto-detect devices. You will have to instantiate the [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/hwmon/ |
H A D | adi,adm1275.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 6 $schema: http://devicetree.org/meta-schemas/core.yaml# 11 - Krzysztof Kozlowski <krzk@kernel.org> 15 that offer digital current, voltage, and power monitoring using an on-chip, 16 12-bit analog-to-digital converter (ADC), communicated through a PMBus 25 - adi,adm1075 26 - adi,adm1272 27 - adi,adm1275 28 - adi,adm1276 [all …]
|
/openbmc/linux/drivers/gpu/drm/amd/include/ |
H A D | kgd_pp_interface.h | 219 * APU power is managed to system-level requirements through the PPT 229 * enum pp_power_limit_level - Used to query the power limits 238 PP_PWR_LIMIT_MIN = -1, 245 * enum pp_power_type - Used to specify the type of the requested power 248 * moving average of APU power (default ~5000 ms). 249 * @PP_PWR_TYPE_FAST: manages the ~10 ms moving average of APU power, 313 /* export for dpm on ci and si */ 459 /* Average clocks */ 511 /* Average clocks */ 570 /* Average clocks */ [all …]
|
/openbmc/linux/tools/perf/pmu-events/arch/x86/snowridgex/ |
H A D | uncore-memory.json | 7 …: "Counts the total number of DRAM Read CAS commands, w/ and w/o auto-pre, issued on this channel.… 17 …"Counts the total number of DRAM Write CAS commands issued, w/ and w/o auto-pre, on this channel.", 27 … the number of DRAM Activate commands sent on this channel. Activate commands are issued to open … 36 … the number of DRAM Activate commands sent on this channel. Activate commands are issued to open … 45 "PublicDescription": "Counts the total number of DRAM CAS commands issued on this channel.", 54 …: "Counts the total number of DRAM Read CAS commands, w/ and w/o auto-pre, issued on this channel.… 59 "BriefDescription": "DRAM RD_CAS and WR_CAS Commands. : DRAM RD_CAS commands w/auto-pre", 63 …-pre : DRAM RD_CAS and WR_CAS Commands : Counts the total number or DRAM Read CAS commands issued … 81 …nds issued on this channel. This includes both regular RD CAS commands as well as those with impl… 99 …"Counts the total number of DRAM Write CAS commands issued, w/ and w/o auto-pre, on this channel.", [all …]
|
/openbmc/linux/Documentation/translations/zh_CN/accounting/ |
H A D | delay-accounting.rst | 1 .. include:: ../disclaimer-zh_CN.rst 3 :Original: Documentation/accounting/delay-accounting.rst 37 ---- 58 ---- 78 getdelays [-dilv] [-t tgid] [-p pid] 82 # ./getdelays -d -p 10 87 # ./getdelays -d -t 5 88 print delayacct stats ON 92 CPU count real total virtual total delay total delay average 94 IO count delay total delay average [all …]
|
/openbmc/linux/tools/perf/pmu-events/arch/x86/ivytown/ |
H A D | uncore-interconnect.json | 43 …cle. This can be used with the write transaction count to calculate the average write latency in … 52 …cle. This can be used with the write transaction count to calculate the average write latency in … 61 …ycle. This can be used with the read transaction count to calculate the average read latency in t… 70 …ycle. This can be used with the read transaction count to calculate the average read latency in t… 97 …cle. This can be used with the transaction count event to calculate the average latency in the un… 106 …cle. This can be used with the transaction count event to calculate the average latency in the un… 147 "BriefDescription": "BL Ingress Occupancy - DRS", 169 "BriefDescription": "BL Ingress Occupancy - NCB", 191 "BriefDescription": "BL Ingress Occupancy - NCS", 210 …ny requests behind it in the switch queue will lose ownership and have to re-acquire it later when… [all …]
|
H A D | ivt-metrics.json | 4 "MetricExpr": "cstate_pkg@c2\\-residency@ / TSC", 11 "MetricExpr": "cstate_core@c3\\-residency@ / TSC", 18 "MetricExpr": "cstate_pkg@c3\\-residency@ / TSC", 25 "MetricExpr": "cstate_core@c6\\-residency@ / TSC", 32 "MetricExpr": "cstate_pkg@c6\\-residency@ / TSC", 39 "MetricExpr": "cstate_core@c7\\-residency@ / TSC", 46 "MetricExpr": "cstate_pkg@c7\\-residency@ / TSC", 59 "MetricExpr": "((msr@aperf@ - cycles) / msr@aperf@ if msr@smi@ > 0 else 0)", 78 …sible; which incur a few cycles load re-issue. However; the short re-issue duration is often hidde… 82 …"BriefDescription": "This metric represents Core fraction of cycles CPU dispatched uops on executi… [all …]
|
/openbmc/linux/tools/perf/bench/ |
H A D | synthesize.c | 1 // SPDX-License-Identifier: GPL-2.0 4 * record'. Synthesis is done on the current process and the 'dummy' event 14 #include "../util/synthetic-events.h" 22 #include <subcmd/parse-options.h> 33 OPT_BOOLEAN('t', "mt", &run_mt, "Run multi-threaded benchmark"), 34 OPT_UINTEGER('m', "min-threads", &min_threads, 36 OPT_UINTEGER('M', "max-threads", &max_threads, 38 OPT_UINTEGER('i', "single-iterations", &single_iterations, 39 "Number of iterations used to compute single-threaded average"), 40 OPT_UINTEGER('I', "multi-iterations", &multi_iterations, [all …]
|
/openbmc/linux/tools/perf/pmu-events/arch/x86/jaketown/ |
H A D | uncore-memory.json | 7 … the number of DRAM Activate commands sent on this channel. Activate commands are issued to open … 11 … "BriefDescription": "DRAM RD_CAS and WR_CAS Commands.; All DRAM WR_CAS (w/ and w/out auto-pre)", 27 … "BriefDescription": "DRAM RD_CAS and WR_CAS Commands.; All DRAM RD_CAS (w/ and w/out auto-pre)", 51 …"BriefDescription": "DRAM RD_CAS and WR_CAS Commands.; DRAM WR_CAS (w/ and w/out auto-pre) in Read… 59 …"BriefDescription": "DRAM RD_CAS and WR_CAS Commands.; DRAM WR_CAS (w/ and w/out auto-pre) in Writ… 70 "PublicDescription": "Uncore Fixed Counter - uclks", 104 …"PublicDescription": "Counts the number of ECC errors detected and corrected by the iMC on this ch… 112 …nt in a major mode (selected by a filter) on the given channel. Major modea are channel-wide, an… 121 …nt in a major mode (selected by a filter) on the given channel. Major modea are channel-wide, an… 130 …nt in a major mode (selected by a filter) on the given channel. Major modea are channel-wide, an… [all …]
|
H A D | uncore-interconnect.json | 43 …cle. This can be used with the write transaction count to calculate the average write latency in … 52 …cle. This can be used with the write transaction count to calculate the average write latency in … 61 …ycle. This can be used with the read transaction count to calculate the average read latency in t… 70 …ycle. This can be used with the read transaction count to calculate the average read latency in t… 97 …cle. This can be used with the transaction count event to calculate the average latency in the un… 106 …cle. This can be used with the transaction count event to calculate the average latency in the un… 147 "BriefDescription": "BL Ingress Occupancy - DRS", 169 "BriefDescription": "BL Ingress Occupancy - NCB", 191 "BriefDescription": "BL Ingress Occupancy - NCS", 228 …on request type in addition to the source queue. Note the special filtering equation. We do OR-r… [all …]
|
/openbmc/qemu/tests/unit/ |
H A D | test-timed-average.c | 2 * Timed average computation tests 10 * See the COPYING.LIB file in the top-level directory. 14 #include "sysemu/cpu-timers.h" 15 #include "qemu/timed-average.h" 40 /* we will compute some average on a period of 1 second */ in test_average() 86 g_test_add_func("/timed-average/average", test_average); in main()
|
/openbmc/bmcweb/redfish-core/include/generated/enums/ |
H A D | telemetry_service.hpp | 1 // SPDX-License-Identifier: Apache-2.0 2 // SPDX-FileCopyrightText: Copyright OpenBMC Authors 8 // clang-format off 12 Average, enumerator 20 {CollectionFunction::Average, "Average"}, 27 // clang-format on
|
/openbmc/linux/tools/perf/pmu-events/arch/powerpc/power8/ |
H A D | metrics.json | 46 "MetricExpr": "(PM_BR_MPRED_TA - PM_BR_MPRED_CCACHE) / PM_RUN_INST_CMPL * 100", 52 …"MetricExpr": "(PM_BR_MPRED_TA - PM_BR_MPRED_CCACHE) / (PM_BR_PRED_LSTACK_BR0 + PM_BR_PRED_LSTACK_… 124 "MetricExpr": "(PM_CMPLU_STALL_BRU_CRU - PM_CMPLU_STALL_BRU) / PM_RUN_INST_CMPL", 135 "BriefDescription": "Cycles stalled by FXU Multi-Cycle Instructions", 148 …"MetricExpr": "(PM_CMPLU_STALL_FXU / PM_RUN_INST_CMPL) - (PM_CMPLU_STALL_FXLONG / PM_RUN_INST_CMPL… 208 "MetricExpr": "(PM_GCT_NOSLOT_IC_MISS - PM_GCT_NOSLOT_IC_L3MISS) / PM_RUN_INST_CMPL", 213 … "BriefDescription": "Cycles stalled by GCT empty due to Icache misses that resolve off-chip", 220 …L) - (PM_GCT_NOSLOT_IC_MISS / PM_RUN_INST_CMPL) - (PM_GCT_NOSLOT_BR_MPRED / PM_RUN_INST_CMPL) - (… 237 "BriefDescription": "Cycles stalled by D-Cache Misses", 243 …"BriefDescription": "Cycles stalled by D-Cache Misses that resolved in distant interventions and m… [all …]
|
/openbmc/linux/tools/perf/pmu-events/arch/powerpc/power10/ |
H A D | metrics.json | 10 "BriefDescription": "Average cycles per completed instruction", 16 …"BriefDescription": "Average cycles per completed instruction when dispatch was stalled for any re… 22 …"BriefDescription": "Average cycles per completed instruction when dispatch was stalled because th… 28 …"BriefDescription": "Average cycles per completed instruction when dispatch was stalled because Fe… 34 …"BriefDescription": "Average cycles per completed instruction when dispatch was stalled because th… 40 …"BriefDescription": "Average cycles per completed instruction when dispatch was stalled waiting to… 46 …"BriefDescription": "Average cycles per completed instruction when dispatch was stalled waiting to… 52 …"BriefDescription": "Average cycles per completed instruction when dispatch was stalled due to an … 58 …"BriefDescription": "Average cycles per completed instruction when dispatch was stalled while the … 64 …"BriefDescription": "Average cycles per completed instruction when dispatch was stalled while the … [all …]
|
/openbmc/linux/tools/perf/pmu-events/arch/x86/broadwellx/ |
H A D | uncore-interconnect.json | 6 …-width (L0) mode, flits are made up of four fits, each of which contains 20 bits of data (along wi… 15 …-width (L0) mode, flits are made up of four fits, each of which contains 20 bits of data (along wi… 118 … "BriefDescription": "Misc Events - Set 0; Cache Inserts of Atomic Transactions as Secondary", 122 …"PublicDescription": "Counts Timeouts - Set 0 : Cache Inserts of Atomic Transactions as Secondary", 127 "BriefDescription": "Misc Events - Set 0; Cache Inserts of Read Transactions as Secondary", 131 … "PublicDescription": "Counts Timeouts - Set 0 : Cache Inserts of Read Transactions as Secondary", 136 "BriefDescription": "Misc Events - Set 0; Cache Inserts of Write Transactions as Secondary", 140 … "PublicDescription": "Counts Timeouts - Set 0 : Cache Inserts of Write Transactions as Secondary", 145 "BriefDescription": "Misc Events - Set 0; Fastpath Rejects", 149 "PublicDescription": "Counts Timeouts - Set 0 : Fastpath Rejects", [all …]
|
/openbmc/linux/tools/perf/pmu-events/arch/x86/haswellx/ |
H A D | uncore-interconnect.json | 6 …-width (L0) mode, flits are made up of four fits, each of which contains 20 bits of data (along wi… 15 …-width (L0) mode, flits are made up of four fits, each of which contains 20 bits of data (along wi… 118 … "BriefDescription": "Misc Events - Set 0; Cache Inserts of Atomic Transactions as Secondary", 122 …"PublicDescription": "Counts Timeouts - Set 0 : Cache Inserts of Atomic Transactions as Secondary", 127 "BriefDescription": "Misc Events - Set 0; Cache Inserts of Read Transactions as Secondary", 131 … "PublicDescription": "Counts Timeouts - Set 0 : Cache Inserts of Read Transactions as Secondary", 136 "BriefDescription": "Misc Events - Set 0; Cache Inserts of Write Transactions as Secondary", 140 … "PublicDescription": "Counts Timeouts - Set 0 : Cache Inserts of Write Transactions as Secondary", 145 "BriefDescription": "Misc Events - Set 0; Fastpath Rejects", 149 "PublicDescription": "Counts Timeouts - Set 0 : Fastpath Rejects", [all …]
|
/openbmc/linux/tools/perf/pmu-events/arch/x86/icelakex/ |
H A D | uncore-memory.json | 7 … the number of DRAM Activate commands sent on this channel. Activate commands are issued to open … 16 … the number of DRAM Activate commands sent on this channel. Activate commands are issued to open … 25 "PublicDescription": "Counts the total number of DRAM CAS commands issued on this channel.", 34 …: "Counts the total number of DRAM Read CAS commands, w/ and w/o auto-pre, issued on this channel.… 39 "BriefDescription": "DRAM RD_CAS and WR_CAS Commands. : DRAM RD_CAS commands w/auto-pre", 43 …-pre : DRAM RD_CAS and WR_CAS Commands : Counts the total number or DRAM Read CAS commands issued … 61 …nds issued on this channel. This includes both regular RD CAS commands as well as those with impl… 79 …"Counts the total number of DRAM Write CAS commands issued, w/ and w/o auto-pre, on this channel.", 84 "BriefDescription": "DRAM RD_CAS and WR_CAS Commands. : DRAM WR_CAS commands w/o auto-pre", 88 …"PublicDescription": "DRAM RD_CAS and WR_CAS Commands. : DRAM WR_CAS commands w/o auto-pre : DRAM … [all …]
|
/openbmc/linux/drivers/cpuidle/governors/ |
H A D | menu.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * menu.c - the menu idle governor 5 * Copyright (C) 2006-2007 Adam Belay <abelay@novell.com> 42 * ----------------------- 44 * the C state is required to actually break even on this cost. CPUIDLE 52 * that is based on historic behavior. For example, if in the past the actual 56 * menu uses a running average for this correction factor, however it uses a 58 * that the ratio is dependent on the order of magnitude of the expected 61 * seconds of idle time. A second independent factor that has big impact on 67 * indexed based on the magnitude of the expected duration as well as the [all …]
|
/openbmc/linux/tools/perf/pmu-events/arch/x86/haswell/ |
H A D | hsw-metrics.json | 4 "MetricExpr": "cstate_pkg@c2\\-residency@ / TSC", 11 "MetricExpr": "cstate_core@c3\\-residency@ / TSC", 18 "MetricExpr": "cstate_pkg@c3\\-residency@ / TSC", 25 "MetricExpr": "cstate_core@c6\\-residency@ / TSC", 32 "MetricExpr": "cstate_pkg@c6\\-residency@ / TSC", 39 "MetricExpr": "cstate_core@c7\\-residency@ / TSC", 46 "MetricExpr": "cstate_pkg@c7\\-residency@ / TSC", 59 "MetricExpr": "((msr@aperf@ - cycles) / msr@aperf@ if msr@smi@ > 0 else 0)", 78 …sible; which incur a few cycles load re-issue. However; the short re-issue duration is often hidde… 82 …"BriefDescription": "This metric represents Core fraction of cycles CPU dispatched uops on executi… [all …]
|
/openbmc/witherspoon-pfault-analysis/power-supply/ |
H A D | power_supply.hpp | 2 #include "average.hpp" 42 * @param[in] name - the device name 43 * @param[in] inst - the device instance 44 * @param[in] objpath - the path to monitor 45 * @param[in] invpath - the inventory path to use 46 * @param[in] bus - D-Bus bus object 47 * @param[in] e - event object 48 * @param[in] t - time to allow power supply to assert PG# 49 * @param[in] p - time to allow power supply presence state to 62 * If a certain fault bits are on, the appropriate error will be [all …]
|
/openbmc/phosphor-power/power-supply/ |
H A D | power_supply.hpp | 2 #include "average.hpp" 42 * @param[in] name - the device name 43 * @param[in] inst - the device instance 44 * @param[in] objpath - the path to monitor 45 * @param[in] invpath - the inventory path to use 46 * @param[in] bus - D-Bus bus object 47 * @param[in] e - event object 48 * @param[in] t - time to allow power supply to assert PG# 49 * @param[in] p - time to allow power supply presence state to 62 * If a certain fault bits are on, the appropriate error will be [all …]
|