get_capacity_ref_freq(9)
okay so bestie, this is get_capacity_ref_freq(9) from the Kernel API Manual, and it's literally here to get the reference frequency that has been used to correlate frequency and compute capacity for a given cpufreq policy. We use the CPU managing it for the arch_scale_freq_ref() call in the function. slay. π
β¨
πΈ NAME πΈ
get_capacity_ref_freq β get the reference frequency that has been used to correlate frequency and compute capacity for a given cpufreq policy. We use the CPU managing it for the arch_scale_freq_ref() call in the function. no cap, that's the whole vibe. π¦
β¨ SYNOPSIS β¨
the signature is giving exactly this, character for character:
unsigned long get_capacity_ref_freq (struct cpufreq_policy *policy );
π ARGUMENTS π
policyβ the cpufreq policy of the CPU in question. that's it, that's the argument, and it's iconic. π
π RETURN π
the reference CPU frequency to compute a capacity. periodt. π«Ά
π SEE ALSO π
Kernel file ./kernel/sched/cpufreq_schedutil.c β and the besties it wants you to check out:
mwah π this little page comes from source/version ./kernel/sched, dated October 2026 β get_capacity_ref_freq(9) signing off, and yes she ate. ππ§π
π¦ 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