Home
last modified time | relevance | path

Searched full:residency (Results 1 – 25 of 221) sorted by relevance

123456789

/linux/arch/x86/events/intel/
H A Dcstate.c2 * 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/tools/testing/selftests/turbostat/
H A Dadded_perf_counters.py23 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 Didle-states.yaml84 |<-------- 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 Duncore-power.json136 "BriefDescription": "Package C State Residency - C0",
142Residency - 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",
152Residency - C2E : Counts the number of cycles when the package was in C2E. This event can be used…
156 "BriefDescription": "Package C State Residency - C3",
162Residency - 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",
172Residency - 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 Duncore-power.json137 "BriefDescription": "Package C State Residency - C0",
143Residency - 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",
153Residency - C2E : Counts the number of cycles when the package was in C2E. This event can be used…
157 "BriefDescription": "Package C State Residency - C3",
163Residency - 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",
173Residency - 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/alderlaken/
H A Dadln-metrics.json3 "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/drivers/cpuidle/governors/
H A Dteo.c17 * idle state with target residency within the (known) time till the closest
34 * boundaries are aligned with the target residency parameter values of the CPU
36 * the first bin spans from 0 up to, but not including, the target residency of
38 * residency of idle state 1 up to, but not including, the target residency of
39 * idle state 2, the third bin spans from the target residency of idle state 2
40 * up to, but not including, the target residency of idle state 3 and so on.
41 * The last bin spans from the target residency of the deepest idle state
61 * 1. Find the deepest CPU idle state whose target residency does not exceed
88 * 1 (which means that the target residency of the state in question had
205 * If the deepest state's target residency is below the tick length, in teo_update()
[all …]
/linux/tools/perf/pmu-events/arch/x86/sapphirerapids/
H A Duncore-power.json138 "BriefDescription": "Package C State Residency - C0",
144Residency - 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",
154Residency - C2E : Counts the number of cycles when the package was in C2E. This event can be used…
158 "BriefDescription": "Package C State Residency - C6",
164Residency - 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 Duncore-power.json138 "BriefDescription": "Package C State Residency - C0",
144Residency - 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",
154Residency - C2E : Counts the number of cycles when the package was in C2E. This event can be used…
158 "BriefDescription": "Package C State Residency - C6",
164Residency - 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 Duncore-power.json335 "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 Dxe_gt_idle_types.h26 /** @residency_multiplier: residency multiplier in ns */
28 /** @cur_residency: raw driver copy of idle residency */
30 /** @prev_residency: previous residency counter */
34 /** @idle_residency: get idle residency counter */
H A Dxe_gt_idle.c26 * 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()
183 u64 residency; in idle_residency_ms_show() local
186 residency = gtidle->idle_residency(pc); in idle_residency_ms_show()
189 return sysfs_emit(buff, "%llu\n", get_residency_ms(gtidle, residency)); in idle_residency_ms_show()
239 /* Multiplier for Residency counter in units of 1.28us */ in xe_gt_idle_init()
/linux/tools/perf/pmu-events/arch/x86/cascadelakex/
H A Duncore-power.json129 "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 Duncore-power.json129 "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/Documentation/devicetree/bindings/power/
H A Ddomain-idle-state.yaml42 min-residency-us:
44 The minimum residency duration in microseconds after which the idle
61 - min-residency-us
73 min-residency-us = <80>;
/linux/tools/perf/pmu-events/arch/x86/broadwellx/
H A Duncore-power.json389 "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 Duncore-power.json389 "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/power/x86/turbostat/
H A Dturbostat.836 … event for given device from /sys/bus/event_source/devices/<device>/events/<event> eg. c1-residency
37 …perf/cstate_core/c1-residency would then use /sys/bus/event_source/devices/cstate_core/events/c1-r…
160 \fBC1%, C2%, C3%\fP The residency percentage that Linux requested C1, C2, C3.... The system summar…
162 …%c6, CPU%c7\fP show the percentage residency in hardware core idle states. These numbers are from…
180 …3, Pkg%pc6, Pkg%pc7\fP percentage residency in hardware package idle states. These numbers are fr…
379 sudo ./turbostat --quiet --cpu 0-3 --show CPU,CPU%c1 --add perf/cstate_core/c1-residency,cpu,delta,…
392 We add two counters, showing crystal clock count and the DC6 residency.
404 For the DC6 residency counter, we
406 we set the type to 'txtal_time', to obtain the percent residency value
/linux/drivers/accel/ivpu/
H A Dvpu_boot_api.h309 * Bit 0-7 - uint8_t: Highest residency percent
310 * Bit 8-15 - uint8_t: High residency percent
311 * Bit 16-23 - uint8_t: Low residency percent
312 * Bit 24-31 - uint8_t: Lowest residency percent
313 * Bit 32-35 - unsigned 4b: PLL Ratio increase amount on highest residency
314 * Bit 36-39 - unsigned 4b: PLL Ratio increase amount on high residency
315 * Bit 40-43 - unsigned 4b: PLL Ratio decrease amount on low residency
317 * Bit 48-55 - uint8_t: Period (ms) for residency decisions
/linux/tools/perf/pmu-events/arch/x86/sandybridge/
H A Dsnb-metrics.json3 "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/Documentation/devicetree/bindings/powerpc/opal/
H A Dpower-mgt.txt21 - 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/jaketown/
H A Djkt-metrics.json3 "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/Documentation/admin-guide/pm/
H A Dcpuidle.rst134 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
324 them. For this purpose, it compares the target residency of each state with
326 limit. It selects the state with the target residency closest to the predicted
337 target residency.
364 the hierarchy. In that case, the `target residency and exit latency parameters
377 Then, the target residency of the |struct cpuidle_state| object representing
399 In addition to the target residency and exit latency idle state parameters
421 residency.
[all …]
/linux/drivers/gpu/drm/i915/gt/
H A Dintel_gt_pm_debugfs.c109 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()
/linux/tools/perf/pmu-events/arch/x86/ivytown/
H A Duncore-power.json416 "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",

123456789