cppc_get_transition_latency(9)
π cppc_get_transition_latency(9) π
okay so bestie, welcome to the Kernel API Manual β yes we're in the kernel docs today, put your hair up, we're getting into it β¨
πΈ NAME πΈ
cppc_get_transition_latency β literally just returns the frequency transition latency, in ns, no cap π
β¨ SYNOPSIS β¨
int cppc_get_transition_latency (int cpu_num );
π¦ ARGUMENTS π¦
cpu_numβ the CPU number forper_cpu. that's it, that's the whole argument, she's simple and iconic π
π DESCRIPTION π
so here's the tea π β ACPI CPPC does not explicitly specify how a platform can specify the transition latency for performance change requests. like, it justβ¦ doesn't say. rude, but okay.
the closest we have is the timing information from the PCCT tables, which gives us the info on the number and frequency of PCC commands the platform can handle. that's our bestie in this situation π«Ά
and if desired_reg is in the SystemMemory or SystemIo ACPI address space, then assume there is no latency. zero. nothing. blessed. β¨
π SEE ALSO π
the kernel file is at ./drivers/acpi/cppc_acpi.c β go read her, she ate π₯
and then the whole friend group of related calls, all of them, not skipping a single one:
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_cpu(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)
like that's the whole squad, iykyk π
and that's the page, bestie!! π§ this little beauty lives in ./drivers/acpi, dated October 2026, and she's filed under cppc_get_transition_latency(9) β mwah π go forth and measure your latency, periodt π
π¦ 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