| /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/drivers/gpu/drm/xe/ |
| H A D | xe_gt_idle.c | 26 * device/gt#/gtidle/idle_residency_ms - Provides residency of the idle state in ms 90 /* Add delta to extended raw driver copy of idle residency */ in get_residency_ms() 94 /* residency multiplier in ns, convert to ms */ in get_residency_ms() 295 u64 residency; in xe_gt_idle_residency_msec() local 299 residency = get_residency_ms(gtidle, gtidle->idle_residency(pc)); in xe_gt_idle_residency_msec() 302 return residency; in xe_gt_idle_residency_msec() 312 u64 residency; in idle_residency_ms_show() local 315 residency = xe_gt_idle_residency_msec(gtidle); in idle_residency_ms_show() 318 return sysfs_emit(buff, "%llu\n", residency); in idle_residency_ms_show() 367 /* Multiplier for Residency counter in units of 1.28us */ in xe_gt_idle_init()
|
| /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/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/drivers/accel/ivpu/ |
| H A D | vpu_boot_api.h | 330 * Bit 0-7 - uint8_t: Highest residency percent 331 * Bit 8-15 - uint8_t: High residency percent 332 * Bit 16-23 - uint8_t: Low residency percent 333 * Bit 24-31 - uint8_t: Lowest residency percent 334 * Bit 32-35 - unsigned 4b: PLL Ratio increase amount on highest residency 335 * Bit 36-39 - unsigned 4b: PLL Ratio increase amount on high residency 336 * Bit 40-43 - unsigned 4b: PLL Ratio decrease amount on low residency 338 * Bit 48-55 - uint8_t: Period (ms) for residency decisions
|
| /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 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… 104 … "cpuidle" plus "pct_idle". "hwidle" includes only hardware based idle residency counters. Older… 172 \fBC1%, C2%, C3%\fP The residency percentage that Linux requested C1, C2, C3.... The system summar… 174 …%c6, CPU%c7\fP show the percentage residency in hardware core idle states. These numbers are from… 202 …3, Pkg%pc6, Pkg%pc7\fP percentage residency in hardware package idle states. These numbers are fr… 405 sudo ./turbostat --quiet --cpu 0-3 --show CPU,CPU%c1 --add perf/cstate_core/c1-residency,cpu,delta,… 439 We add two counters, showing crystal clock count and the DC6 residency. 451 For the DC6 residency counter, we 453 we set the type to 'txtal_time', to obtain the percent residency value
|
| /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/amd/display/dmub/inc/ |
| H A D | dmub_cmd.h | 473 * @enable_ips_residency_profiling: Enable IPS residency profiling 1025 * Start/stop IPS residency measurements for a given IPS mode 1029 * Query IPS residency information for a given IPS mode 1374 * DESC: Start PSR residency counter. Stop PSR resdiency counter and get value. 1375 …* ARGS: We can measure residency from various points. The argument will specify the residency mode. 1377 * RETURN: PSR residency in milli-percent. 1393 * DESC: Start REPLAY residency counter. Stop REPLAY resdiency counter and get value. 1394 …* ARGS: We can measure residency from various points. The argument will specify the residency mode. 1396 * RETURN: REPLAY residency in milli-percent. 1487 * DESC: Set IPS residency measurement [all …]
|
| /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()
|