| /linux/tools/testing/selftests/turbostat/ |
| H A D | added_perf_counters.py | 23 PerfCounterInfo('cstate_core', 'c1-residency'), 24 PerfCounterInfo('cstate_core', 'c6-residency'), 25 PerfCounterInfo('cstate_core', 'c7-residency'), 26 PerfCounterInfo('cstate_pkg', 'c2-residency'), 27 PerfCounterInfo('cstate_pkg', 'c3-residency'), 28 PerfCounterInfo('cstate_pkg', 'c6-residency'), 29 PerfCounterInfo('cstate_pkg', 'c7-residency'), 30 PerfCounterInfo('cstate_pkg', 'c8-residency'), 31 PerfCounterInfo('cstate_pkg', 'c9-residency'), 32 PerfCounterInfo('cstate_pkg', 'c10-residency'),
|
| /linux/Documentation/devicetree/bindings/cpu/ |
| H A D | idle-states.yaml | 84 |<-------- min-residency -------->| 110 min-residency: Minimum period, including preparation and entry, for a given 119 An idle CPU requires the expected min-residency time to select the most 143 The min-residency time parameter deserves further explanation since it is 179 min-residency is defined for a given idle state as the minimum expected 180 residency time for a state (inclusive of preparation and entry) after 209 IDLE2-min-residency 211 Graph 2: idle states min-residency example 214 costs, it is clear that if the idle state residency time (i.e. time till next 215 wake-up IRQ) is less than IDLE2-min-residency, IDLE1 is the better idle state [all …]
|
| /linux/tools/perf/pmu-events/arch/x86/snowridgex/ |
| H A D | uncore-power.json | 136 "BriefDescription": "Package C State Residency - C0", 142 …Residency - C0 : Counts the number of cycles when the package was in C0. This event can be used i… 146 "BriefDescription": "Package C State Residency - C2E", 152 …Residency - C2E : Counts the number of cycles when the package was in C2E. This event can be used… 156 "BriefDescription": "Package C State Residency - C3", 162 …Residency - C3 : Counts the number of cycles when the package was in C3. This event can be used i… 166 "BriefDescription": "Package C State Residency - C6", 172 …Residency - C6 : Counts the number of cycles when the package was in C6. This event can be used i…
|
| /linux/tools/perf/pmu-events/arch/x86/icelakex/ |
| H A D | uncore-power.json | 137 "BriefDescription": "Package C State Residency - C0", 143 …Residency - C0 : Counts the number of cycles when the package was in C0. This event can be used i… 147 "BriefDescription": "Package C State Residency - C2E", 153 …Residency - C2E : Counts the number of cycles when the package was in C2E. This event can be used… 157 "BriefDescription": "Package C State Residency - C3", 163 …Residency - C3 : Counts the number of cycles when the package was in C3. This event can be used i… 167 "BriefDescription": "Package C State Residency - C6", 173 …Residency - C6 : Counts the number of cycles when the package was in C6. This event can be used i…
|
| /linux/tools/perf/pmu-events/arch/x86/sapphirerapids/ |
| H A D | uncore-power.json | 138 "BriefDescription": "Package C State Residency - C0", 144 …Residency - C0 : Counts the number of cycles when the package was in C0. This event can be used i… 148 "BriefDescription": "Package C State Residency - C2E", 154 …Residency - C2E : Counts the number of cycles when the package was in C2E. This event can be used… 158 "BriefDescription": "Package C State Residency - C6", 164 …Residency - C6 : Counts the number of cycles when the package was in C6. This event can be used i…
|
| /linux/tools/perf/pmu-events/arch/x86/emeraldrapids/ |
| H A D | uncore-power.json | 138 "BriefDescription": "Package C State Residency - C0", 144 …Residency - C0 : Counts the number of cycles when the package was in C0. This event can be used i… 148 "BriefDescription": "Package C State Residency - C2E", 154 …Residency - C2E : Counts the number of cycles when the package was in C2E. This event can be used… 158 "BriefDescription": "Package C State Residency - C6", 164 …Residency - C6 : Counts the number of cycles when the package was in C6. This event can be used i…
|
| /linux/tools/perf/pmu-events/arch/x86/haswellx/ |
| H A D | uncore-power.json | 335 "BriefDescription": "Frequency Residency", 344 "BriefDescription": "Frequency Residency", 353 "BriefDescription": "Frequency Residency", 362 "BriefDescription": "Frequency Residency", 425 "BriefDescription": "Package C State Residency - C0", 430 …nction with edge detect to count C0 entrances (or exits using invert). Residency events do not in… 434 "BriefDescription": "Package C State Residency - C1E", 439 …ction with edge detect to count C1E entrances (or exits using invert). Residency events do not in… 443 "BriefDescription": "Package C State Residency - C2E", 448 …ction with edge detect to count C2E entrances (or exits using invert). Residency events do not in… [all …]
|
| /linux/tools/perf/pmu-events/arch/x86/alderlaken/ |
| H A D | adln-metrics.json | 3 "BriefDescription": "C10 residency percent per package", 4 "MetricExpr": "cstate_pkg@c10\\-residency@ / msr@tsc@", 10 "BriefDescription": "C1 residency percent per core", 11 "MetricExpr": "cstate_core@c1\\-residency@ / msr@tsc@", 17 "BriefDescription": "C2 residency percent per package", 18 "MetricExpr": "cstate_pkg@c2\\-residency@ / msr@tsc@", 24 "BriefDescription": "C3 residency percent per package", 25 "MetricExpr": "cstate_pkg@c3\\-residency@ / msr@tsc@", 31 "BriefDescription": "C6 residency percent per core", 32 "MetricExpr": "cstate_core@c6\\-residency@ / msr@tsc@", [all …]
|
| /linux/tools/perf/pmu-events/arch/x86/cascadelakex/ |
| H A D | uncore-power.json | 129 "BriefDescription": "Package C State Residency - C0", 135 …nction with edge detect to count C0 entrances (or exits using invert). Residency events do not in… 139 "BriefDescription": "Package C State Residency - C2E", 145 …ction with edge detect to count C2E entrances (or exits using invert). Residency events do not in… 149 "BriefDescription": "Package C State Residency - C3", 155 …nction with edge detect to count C3 entrances (or exits using invert). Residency events do not in… 159 "BriefDescription": "Package C State Residency - C6", 165 …nction with edge detect to count C6 entrances (or exits using invert). Residency events do not in…
|
| /linux/tools/perf/pmu-events/arch/x86/skylakex/ |
| H A D | uncore-power.json | 129 "BriefDescription": "Package C State Residency - C0", 135 …nction with edge detect to count C0 entrances (or exits using invert). Residency events do not in… 139 "BriefDescription": "Package C State Residency - C2E", 145 …ction with edge detect to count C2E entrances (or exits using invert). Residency events do not in… 149 "BriefDescription": "Package C State Residency - C3", 155 …nction with edge detect to count C3 entrances (or exits using invert). Residency events do not in… 159 "BriefDescription": "Package C State Residency - C6", 165 …nction with edge detect to count C6 entrances (or exits using invert). Residency events do not in…
|
| /linux/tools/perf/pmu-events/arch/x86/broadwellx/ |
| H A D | uncore-power.json | 389 "BriefDescription": "Package C State Residency - C0", 394 …nction with edge detect to count C0 entrances (or exits using invert). Residency events do not in… 398 "BriefDescription": "Package C State Residency - C1E", 403 …ction with edge detect to count C1E entrances (or exits using invert). Residency events do not in… 407 "BriefDescription": "Package C State Residency - C2E", 412 …ction with edge detect to count C2E entrances (or exits using invert). Residency events do not in… 416 "BriefDescription": "Package C State Residency - C3", 421 …nction with edge detect to count C3 entrances (or exits using invert). Residency events do not in… 425 "BriefDescription": "Package C State Residency - C6", 430 …nction with edge detect to count C6 entrances (or exits using invert). Residency events do not in… [all …]
|
| /linux/tools/perf/pmu-events/arch/x86/broadwellde/ |
| H A D | uncore-power.json | 389 "BriefDescription": "Package C State Residency - C0", 394 …nction with edge detect to count C0 entrances (or exits using invert). Residency events do not in… 398 "BriefDescription": "Package C State Residency - C1E", 403 …ction with edge detect to count C1E entrances (or exits using invert). Residency events do not in… 407 "BriefDescription": "Package C State Residency - C2E", 412 …ction with edge detect to count C2E entrances (or exits using invert). Residency events do not in… 416 "BriefDescription": "Package C State Residency - C3", 421 …nction with edge detect to count C3 entrances (or exits using invert). Residency events do not in… 425 "BriefDescription": "Package C State Residency - C6", 430 …nction with edge detect to count C6 entrances (or exits using invert). Residency events do not in… [all …]
|
| /linux/Documentation/admin-guide/pm/ |
| H A D | intel_idle.rst | 137 its target residency is based on the exit latency value. Specifically, for 138 C1-type idle states the exit latency value is also used as the target residency 141 state types (C2 and C3) the target residency value is 3 times the exit latency 142 (again, that is because it reflects the target residency to exit latency ratio 264 residency. The syntax is a comma-separated list of ``name:latency:residency`` 266 in microseconds, and ``residency`` is the target residency in microseconds. It 268 example, ``C1:1:3,C6:50:100`` sets the exit latency and target residency for 271 higher latency and target residency than shallower ones. Also, target 272 residency cannot be smaller than exit latency. If any of these conditions is 310 enter a package C-state. [That is why the exit latency and target residency
|
| /linux/tools/perf/pmu-events/arch/x86/grandridge/ |
| H A D | grr-metrics.json | 3 "BriefDescription": "C10 residency percent per package", 4 "MetricExpr": "cstate_pkg@c10\\-residency@ / msr@tsc@", 10 "BriefDescription": "C1 residency percent per core", 11 "MetricExpr": "cstate_core@c1\\-residency@ / msr@tsc@", 17 "BriefDescription": "C2 residency percent per package", 18 "MetricExpr": "cstate_pkg@c2\\-residency@ / msr@tsc@", 24 "BriefDescription": "C3 residency percent per package", 25 "MetricExpr": "cstate_pkg@c3\\-residency@ / msr@tsc@", 31 "BriefDescription": "C6 residency percent per core", 32 "MetricExpr": "cstate_core@c6\\-residency@ / msr@tsc@", [all …]
|
| /linux/tools/perf/pmu-events/arch/x86/sierraforest/ |
| H A D | srf-metrics.json | 3 "BriefDescription": "C10 residency percent per package", 4 "MetricExpr": "cstate_pkg@c10\\-residency@ / msr@tsc@", 10 "BriefDescription": "C1 residency percent per core", 11 "MetricExpr": "cstate_core@c1\\-residency@ / msr@tsc@", 17 "BriefDescription": "C2 residency percent per package", 18 "MetricExpr": "cstate_pkg@c2\\-residency@ / msr@tsc@", 24 "BriefDescription": "C3 residency percent per package", 25 "MetricExpr": "cstate_pkg@c3\\-residency@ / msr@tsc@", 31 "BriefDescription": "C6 residency percent per core", 32 "MetricExpr": "cstate_core@c6\\-residency@ / msr@tsc@", [all …]
|
| /linux/tools/power/x86/turbostat/ |
| H A D | turbostat.8 | 39 <event> is a perf event for given device from /sys/bus/event_source/devices/<device>/events/<event> eg. c1-residency 40 perf/cstate_core/c1-residency would then use /sys/bus/event_source/devices/cstate_core/events/c1-residency 104 \fB--show CATEGORY --hide CATEGORY\fP Show and hide also accept a comma-separated-list of CATEGORIES of columns: "all", "topology", "idle", "frequency", "power", "cpuidle", "hwidle", "swidle", "cache", "llc", "other". "idle" (enabled by default), includes "hwidle" and "pct_idle". "cpuidle" (default disabled) includes cpuidle software invocation counters. "swidle" includes "cpuidle" plus "pct_idle". "hwidle" includes only hardware based idle residency counters. Older versions of turbostat used the term "sysfs" for what is now "swidle". 180 \fBC1%, C2%, C3%\fP The residency percentage that Linux requested C1, C2, C3.... The system summary is the average of all CPUs in the system. Note that these are software, reflecting what was requested. The hardware counters reflect what was actually achieved. These counters are in the "pct_idle" group, which is enabled by default. 182 \fBCPU%c1, CPU%c3, CPU%c6, CPU%c7\fP show the percentage residency in hardware core idle states. These numbers are from hardware residency counters and are in the "hwidle" group, which is enabled, by default. 210 \fBPkg%pc2, Pkg%pc3, Pkg%pc6, Pkg%pc7\fP percentage residency in hardware package idle states. These numbers are from hardware residency counters. 413 sudo ./turbostat --quiet --cpu 0-3 --show CPU,CPU%c1 --add perf/cstate_core/c1-residency,cp [all...] |
| /linux/Documentation/devicetree/bindings/powerpc/opal/ |
| H A D | power-mgt.txt | 21 - target-residency: The minimum time that the CPU needs to reside in 65 - ibm,cpu-idle-state-residency-ns: 67 target-residency (in ns) for the idle states in 69 property. If the property is absent, the target residency for
|
| /linux/tools/perf/pmu-events/arch/x86/sandybridge/ |
| H A D | snb-metrics.json | 3 "BriefDescription": "C2 residency percent per package", 4 "MetricExpr": "cstate_pkg@c2\\-residency@ / msr@tsc@", 10 "BriefDescription": "C3 residency percent per core", 11 "MetricExpr": "cstate_core@c3\\-residency@ / msr@tsc@", 17 "BriefDescription": "C3 residency percent per package", 18 "MetricExpr": "cstate_pkg@c3\\-residency@ / msr@tsc@", 24 "BriefDescription": "C6 residency percent per core", 25 "MetricExpr": "cstate_core@c6\\-residency@ / msr@tsc@", 31 "BriefDescription": "C6 residency percent per package", 32 "MetricExpr": "cstate_pkg@c6\\-residency@ / msr@tsc@", [all …]
|
| /linux/tools/perf/pmu-events/arch/x86/jaketown/ |
| H A D | jkt-metrics.json | 3 "BriefDescription": "C2 residency percent per package", 4 "MetricExpr": "cstate_pkg@c2\\-residency@ / msr@tsc@", 10 "BriefDescription": "C3 residency percent per core", 11 "MetricExpr": "cstate_core@c3\\-residency@ / msr@tsc@", 17 "BriefDescription": "C3 residency percent per package", 18 "MetricExpr": "cstate_pkg@c3\\-residency@ / msr@tsc@", 24 "BriefDescription": "C6 residency percent per core", 25 "MetricExpr": "cstate_core@c6\\-residency@ / msr@tsc@", 31 "BriefDescription": "C6 residency percent per package", 32 "MetricExpr": "cstate_pkg@c6\\-residency@ / msr@tsc@", [all …]
|
| /linux/drivers/gpu/drm/i915/gt/ |
| H A D | selftest_rc6.c | 83 pr_err("RC6 residency increased by %lldus while disabled for 1000ms!\n", in live_rc6_manual() 117 pr_err("Did not enter RC6! RC6_STATE=%08x, RC6_CONTROL=%08x, residency=%lld\n", in live_rc6_manual() 141 pr_err("Did not enter RC6 properly, RC6 start residency=%lluns, RC6 end residency=%lluns\n", in live_rc6_manual()
|
| /linux/tools/perf/pmu-events/arch/x86/ivytown/ |
| H A D | uncore-power.json | 416 "BriefDescription": "Frequency Residency", 425 "BriefDescription": "Frequency Residency", 434 "BriefDescription": "Frequency Residency", 443 "BriefDescription": "Frequency Residency", 542 "BriefDescription": "Package C State Residency - C0", 551 "BriefDescription": "Package C State Residency - C2", 560 "BriefDescription": "Package C State Residency - C3", 569 "BriefDescription": "Package C State Residency - C6",
|
| /linux/Documentation/driver-api/thermal/ |
| H A D | cpu-idle-cooling.rst | 49 idle state target residency, we lead to dropping the static and the 137 - It is greater than the idle state’s target residency we want to go 193 target residency, otherwise we end up consuming more energy and
|
| /linux/tools/perf/pmu-events/arch/x86/haswell/ |
| H A D | hsw-metrics.json | 3 "BriefDescription": "C2 residency percent per package", 4 "MetricExpr": "cstate_pkg@c2\\-residency@ / msr@tsc@", 10 "BriefDescription": "C3 residency percent per core", 11 "MetricExpr": "cstate_core@c3\\-residency@ / msr@tsc@", 17 "BriefDescription": "C3 residency percent per package", 18 "MetricExpr": "cstate_pkg@c3\\-residency@ / msr@tsc@", 24 "BriefDescription": "C6 residency percent per core", 25 "MetricExpr": "cstate_core@c6\\-residency@ / msr@tsc@", 31 "BriefDescription": "C6 residency percent per package", 32 "MetricExpr": "cstate_pkg@c6\\-residency@ / msr@tsc@", [all …]
|
| /linux/drivers/platform/x86/ |
| H A D | pmc_atom.c | 324 seq_printf(s, "S0IR Residency:\t%lldus\n", s0ir_tmr); in pmc_sleep_tmr_show() 325 seq_printf(s, "S0I1 Residency:\t%lldus\n", s0i1_tmr); in pmc_sleep_tmr_show() 326 seq_printf(s, "S0I2 Residency:\t%lldus\n", s0i2_tmr); in pmc_sleep_tmr_show() 327 seq_printf(s, "S0I3 Residency:\t%lldus\n", s0i3_tmr); in pmc_sleep_tmr_show() 328 seq_printf(s, "S0 Residency:\t%lldus\n", s0_tmr); in pmc_sleep_tmr_show()
|
| /linux/drivers/thermal/ |
| H A D | thermal_debugfs.c | 74 * @residency: a ktime_t representing a state residency duration 81 ktime_t residency; member 361 s64 duration = ktime_to_ms(entry->residency); in cdev_dt_seq_show() 403 * Computes a transition and the duration of the previous state residency. 437 cdev_record->residency = ktime_add(cdev_record->residency, delta); in thermal_debug_cdev_state_update()
|