cppc_perf_ctrs_in_pcc_cpu(9)
π cppc_perf_ctrs_in_pcc_cpu(9) π
okay bestie, welcome to the Kernel API Manual β yes, that's the manual name, we're fancy here β¨ β and today's main character is cppc_perf_ctrs_in_pcc_cpu, a tiny little bool-returning icon whose whole personality is asking one (1) question about performance counters and PCC regions. no cap, that's the whole vibe. π
β¨ NAME β¨
cppc_perf_ctrs_in_pcc_cpu β literally just checks whether any of a CPU's perf counters live in PCC. that's it. that's the function. π¦
πΈ SYNOPSIS πΈ
bool cppc_perf_ctrs_in_pcc_cpu (unsigned int cpu );
look at her. one argument, returns a bool. lowkey minimalist queen π
π ARGUMENTS π
cpuβ the CPU you wanna snoop on, i.e. the one whose perf counters you're checking. bestie, you gotta tell her which CPU. π
β RETURN β
trueβ yup, at least one of the counters is hanging out in PCC regions π«Άfalseβ nope, none of them are, sad but valid π
that's the whole vibe check: true if any of the counters are in PCC regions, false otherwise. periodt.
π¦ SEE ALSO π¦
the whole friend group π« β and don't forget the kernel file they all live in: ./drivers/acpi/cppc_acpi.c π
acpi_get_psd_map(9)cpc_ffh_supported(9)cpc_supported_by_cpu(9)pcc_data_alloc(9)acpi_cppc_processor_probe(9)acpi_cppc_processor_exit(9)cpc_read_ffh(9)cpc_read_ffh_fb_ctrs(9)cpc_write_ffh(9)cppc_get_desired_perf(9)cppc_get_nominal_perf(9)cppc_get_highest_perf(9)cppc_get_epp_perf(9)cppc_get_perf_caps(9)cppc_perf_ctrs_in_pcc(9)cppc_get_perf_ctrs(9)cppc_set_epp(9)cppc_get_auto_act_window(9)cppc_set_auto_act_window(9)cppc_get_auto_sel(9)cppc_set_auto_sel(9)cppc_set_enable(9)cppc_get_perf(9)cppc_set_perf(9)cppc_get_perf_limited(9)cppc_set_perf_limited(9)cppc_get_transition_latency(9)
ngl that's a lot of see-also's β she's not clingy, she's just well-connected π
π sign-off π
this little baddie lives in ./drivers/acpi, dated October 2026, and answers to the name cppc_perf_ctrs_in_pcc_cpu(9). slay, go read your counters, love u, bye ππ
π¦ 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