Skip to main content

Module pm

Module pm 

Source

Constantsยง

INTEL_PSTATE_PATH ๐Ÿ”’
INTEL_UNCORE_FREQ_PATH ๐Ÿ”’

Functionsยง

cpu_idle_resume_latency_supported
Returns if idle resume latency is supported.
epp_supported
Returns if EPP (Energy Performance Preference) is supported.
for_each_uncore_domain
Iterates over all package/die combinations and applies a function.
get_epp
Gets EPP for a CPU.
get_turbo_enabled
Gets current turbo state (true = turbo enabled).
get_uncore_max_freq_khz
Gets the initial max uncore frequency for a package/die in kHz.
get_uncore_min_freq_khz
Gets the initial min uncore frequency for a package/die in kHz.
set_epp
Sets EPP for a CPU. Valid values: default, performance, balance_performance, balance_power, power
set_turbo_enabled
Sets turbo state (true = enable turbo).
set_uncore_max_freq_khz
Sets the max uncore frequency for a package/die in kHz.
turbo_supported
Returns if Intel pstate turbo control is supported.
uncore_freq_supported
Returns if Intel uncore frequency control is supported.
update_cpu_idle_resume_latency
Updates per cpu idle resume latency.
update_global_idle_resume_latency
Updates the global idle resume latency. When the returned file is closed the request is dropped. See the following kernel docs for more details: https://www.kernel.org/doc/html/latest/admin-guide/pm/cpuidle.html#power-management-quality-of-service-for-cpus