em_update_pe...mance_limits(9)
π NAME π
Hiii bestie!! This is em_update_pe...mance_limits(9) from the Kernel API Manual β and itβs giving βletβs update the Energy Model with performance limits informationβ energy, fr fr.
em_update_performance_limits β Update Energy Model with performance limits information. β¨
β¨ SYNOPSIS β¨
int em_update_performance_limits (struct em_perf_domain *pd , unsigned long freq_min_khz , unsigned long freq_max_khz );
π ARGUMENTS π
pdβ the Performance Domain with an EM that has to be updated. πfreq_min_khzβ the new minimum allowed frequency for this device. πfreq_max_khzβ the new maximum allowed frequency for this device. πΈ
π DESCRIPTION π
Okay so this function lets you update the EM with information about the available performance levels. It takes the minimum and maximum frequency in kHz and does the internal translation to performance levels β lowkey iconic behavior, no cap. π
It returns 0 on success or -EINVAL when it fails. Periodt. π
π¦ SEE ALSO π¦
Kernel file ./kernel/power/energy_model.c
em_table_free(9)em_table_alloc(9)em_dev_compute_costs(9)em_dev_update_perf_domain(9)em_pd_get(9)em_cpu_get(9)em_dev_register_perf_domain(9)em_dev_register_pd_no_update(9)em_dev_unregister_perf_domain(9)em_adjust_cpu_capacity(9)em_dev_update_chip_binning(9)
mwah π this cutie came from ./kernel/power and is dated October 2026, and yes the page title is em_update_pe...mance_limits(9) again β slay. π«Άπ
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms