/linux-6.14.4/tools/testing/selftests/turbostat/ |
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-6.14.4/arch/x86/events/intel/ |
D | cstate.c | 2 * Support cstate residency counters 41 * MSR_CORE_C1_RES: CORE C1 Residency Counter 46 * MSR_CORE_C3_RESIDENCY: CORE C3 Residency Counter 51 * MSR_CORE_C6_RESIDENCY: CORE C6 Residency Counter 58 * MSR_CORE_C7_RESIDENCY: CORE C7 Residency Counter 63 * MSR_PKG_C2_RESIDENCY: Package C2 Residency Counter. 69 * MSR_PKG_C3_RESIDENCY: Package C3 Residency Counter. 75 * MSR_PKG_C6_RESIDENCY: Package C6 Residency Counter. 82 * MSR_PKG_C7_RESIDENCY: Package C7 Residency Counter. 87 * MSR_PKG_C8_RESIDENCY: Package C8 Residency Counter. [all …]
|
/linux-6.14.4/Documentation/devicetree/bindings/cpu/ |
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-6.14.4/tools/perf/pmu-events/arch/x86/snowridgex/ |
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-6.14.4/tools/perf/pmu-events/arch/x86/icelakex/ |
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-6.14.4/tools/perf/pmu-events/arch/x86/alderlaken/ |
D | adln-metrics.json | 3 "BriefDescription": "C10 residency percent per package", 4 "MetricExpr": "cstate_pkg@c10\\-residency@ / TSC", 10 "BriefDescription": "C1 residency percent per core", 11 "MetricExpr": "cstate_core@c1\\-residency@ / TSC", 17 "BriefDescription": "C2 residency percent per package", 18 "MetricExpr": "cstate_pkg@c2\\-residency@ / TSC", 24 "BriefDescription": "C3 residency percent per package", 25 "MetricExpr": "cstate_pkg@c3\\-residency@ / TSC", 31 "BriefDescription": "C6 residency percent per core", 32 "MetricExpr": "cstate_core@c6\\-residency@ / TSC", [all …]
|
/linux-6.14.4/drivers/gpu/drm/xe/ |
D | xe_gt_idle_types.h | 28 /** @residency_multiplier: residency multiplier in ns */ 30 /** @cur_residency: raw driver copy of idle residency */ 32 /** @prev_residency: previous residency counter */ 36 /** @idle_residency: get idle residency counter */
|
D | xe_gt_idle.c | 26 * device/gt#/gtidle/idle_residency_ms - Provides residency of the idle state in ms 88 /* Add delta to extended raw driver copy of idle residency */ in get_residency_ms() 92 /* residency multiplier in ns, convert to ms */ in get_residency_ms() 285 u64 residency; in idle_residency_ms_show() local 288 residency = gtidle->idle_residency(pc); in idle_residency_ms_show() 291 return sysfs_emit(buff, "%llu\n", get_residency_ms(gtidle, residency)); in idle_residency_ms_show() 342 /* Multiplier for Residency counter in units of 1.28us */ in xe_gt_idle_init()
|
/linux-6.14.4/tools/perf/pmu-events/arch/x86/emeraldrapids/ |
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-6.14.4/tools/perf/pmu-events/arch/x86/sapphirerapids/ |
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-6.14.4/drivers/cpuidle/governors/ |
D | teo.c | 30 * state whose target residency has not exceeded the idle duration (measured 32 * residency of that state is small enough, it may be used right away and the 36 * boundaries are aligned with the target residency parameter values of the CPU 38 * the first bin spans from 0 up to, but not including, the target residency of 40 * residency of idle state 1 up to, but not including, the target residency of 41 * idle state 2, the third bin spans from the target residency of idle state 2 42 * up to, but not including, the target residency of idle state 3 and so on. 43 * The last bin spans from the target residency of the deepest idle state 92 * 3. If the current candidate state is state 0 or its target residency is short 96 * residency of the current candidate state, in which case a new shallower [all …]
|
/linux-6.14.4/tools/perf/pmu-events/arch/x86/haswellx/ |
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-6.14.4/tools/perf/pmu-events/arch/x86/cascadelakex/ |
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-6.14.4/tools/perf/pmu-events/arch/x86/skylakex/ |
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-6.14.4/Documentation/devicetree/bindings/power/ |
D | domain-idle-state.yaml | 42 min-residency-us: 44 The minimum residency duration in microseconds after which the idle 66 - min-residency-us 78 min-residency-us = <80>;
|
/linux-6.14.4/tools/perf/pmu-events/arch/x86/broadwellx/ |
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-6.14.4/tools/perf/pmu-events/arch/x86/broadwellde/ |
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-6.14.4/drivers/accel/ivpu/ |
D | vpu_boot_api.h | 323 * Bit 0-7 - uint8_t: Highest residency percent 324 * Bit 8-15 - uint8_t: High residency percent 325 * Bit 16-23 - uint8_t: Low residency percent 326 * Bit 24-31 - uint8_t: Lowest residency percent 327 * Bit 32-35 - unsigned 4b: PLL Ratio increase amount on highest residency 328 * Bit 36-39 - unsigned 4b: PLL Ratio increase amount on high residency 329 * Bit 40-43 - unsigned 4b: PLL Ratio decrease amount on low residency 331 * Bit 48-55 - uint8_t: Period (ms) for residency decisions
|
/linux-6.14.4/Documentation/devicetree/bindings/powerpc/opal/ |
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-6.14.4/tools/power/x86/turbostat/ |
D | turbostat.8 | 39 … 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-r… 163 \fBC1%, C2%, C3%\fP The residency percentage that Linux requested C1, C2, C3.... The system summar… 165 …%c6, CPU%c7\fP show the percentage residency in hardware core idle states. These numbers are from… 185 …3, Pkg%pc6, Pkg%pc7\fP percentage residency in hardware package idle states. These numbers are fr… 386 sudo ./turbostat --quiet --cpu 0-3 --show CPU,CPU%c1 --add perf/cstate_core/c1-residency,cpu,delta,… 421 We add two counters, showing crystal clock count and the DC6 residency. 433 For the DC6 residency counter, we 435 we set the type to 'txtal_time', to obtain the percent residency value
|
/linux-6.14.4/tools/perf/pmu-events/arch/x86/sandybridge/ |
D | snb-metrics.json | 3 "BriefDescription": "C2 residency percent per package", 4 "MetricExpr": "cstate_pkg@c2\\-residency@ / TSC", 10 "BriefDescription": "C3 residency percent per core", 11 "MetricExpr": "cstate_core@c3\\-residency@ / TSC", 17 "BriefDescription": "C3 residency percent per package", 18 "MetricExpr": "cstate_pkg@c3\\-residency@ / TSC", 24 "BriefDescription": "C6 residency percent per core", 25 "MetricExpr": "cstate_core@c6\\-residency@ / TSC", 31 "BriefDescription": "C6 residency percent per package", 32 "MetricExpr": "cstate_pkg@c6\\-residency@ / TSC", [all …]
|
/linux-6.14.4/tools/perf/pmu-events/arch/x86/jaketown/ |
D | jkt-metrics.json | 3 "BriefDescription": "C2 residency percent per package", 4 "MetricExpr": "cstate_pkg@c2\\-residency@ / TSC", 10 "BriefDescription": "C3 residency percent per core", 11 "MetricExpr": "cstate_core@c3\\-residency@ / TSC", 17 "BriefDescription": "C3 residency percent per package", 18 "MetricExpr": "cstate_pkg@c3\\-residency@ / TSC", 24 "BriefDescription": "C6 residency percent per core", 25 "MetricExpr": "cstate_core@c6\\-residency@ / TSC", 31 "BriefDescription": "C6 residency percent per package", 32 "MetricExpr": "cstate_pkg@c6\\-residency@ / TSC", [all …]
|
/linux-6.14.4/Documentation/admin-guide/pm/ |
D | cpuidle.rst | 134 taken into account by the governor, the *target residency* and the (worst-case) 135 *exit latency*. The target residency is the minimum time the hardware must 228 the target residency within the time until the expected wakeup, so that state is 313 them. For this purpose, it compares the target residency of each state with 316 framework. It selects the state with the target residency closest to the predicted 327 target residency. 354 the hierarchy. In that case, the `target residency and exit latency parameters 367 Then, the target residency of the |struct cpuidle_state| object representing 389 In addition to the target residency and exit latency idle state parameters 411 residency. [all …]
|
/linux-6.14.4/drivers/gpu/drm/amd/display/dmub/inc/ |
D | dmub_cmd.h | 430 * @enable_ips_residency_profiling: Enable IPS residency profiling 1032 * DESC: Start PSR residency counter. Stop PSR resdiency counter and get value. 1033 …* ARGS: We can measure residency from various points. The argument will specify the residency mode. 1035 * RETURN: PSR residency in milli-percent. 1051 * DESC: Start REPLAY residency counter. Stop REPLAY resdiency counter and get value. 1052 …* ARGS: We can measure residency from various points. The argument will specify the residency mode. 1054 * RETURN: REPLAY residency in milli-percent. 1145 * DESC: Set IPS residency measurement 1159 * DESC: Gets IPS residency in microseconds 1160 * ARGS: 0 - Return IPS1 residency [all …]
|
/linux-6.14.4/drivers/gpu/drm/i915/gt/ |
D | intel_gt_pm_debugfs.c | 109 intel_rc6_print_residency(m, "Render RC6 residency since boot:", INTEL_RC6_RES_RC6); in vlv_drpc() 110 intel_rc6_print_residency(m, "Media RC6 residency since boot:", INTEL_RC6_RES_VLV_MEDIA); in vlv_drpc() 186 intel_rc6_print_residency(m, "RC6 \"Locked to RPn\" residency since boot:", in gen6_drpc() 188 intel_rc6_print_residency(m, "RC6 residency since boot:", INTEL_RC6_RES_RC6); in gen6_drpc() 189 intel_rc6_print_residency(m, "RC6+ residency since boot:", INTEL_RC6_RES_RC6p); in gen6_drpc() 190 intel_rc6_print_residency(m, "RC6++ residency since boot:", INTEL_RC6_RES_RC6pp); in gen6_drpc() 312 intel_rc6_print_residency(m, "RC6 residency since boot:", INTEL_RC6_RES_RC6); in mtl_drpc()
|