get_dynamic_power(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

🌸 get_dynamic_power(9) 🌸

okay bestie, welcome to the Kernel API Manual πŸ’… this one's all about get_dynamic_power β€” the little function that does the math on how much power your CPUs are actually burning right now, no cap. it's a kernel-level read, iykyk ✨


✨ NAME ✨

get_dynamic_power β€” calculate the dynamic power 🫢

πŸŽ€ SYNOPSIS πŸŽ€

u32 get_dynamic_power (struct cpufreq_cooling_device *cpufreq_cdev ,
unsigned long freq );

like, that's the whole call. two args, one u32 back, iconic πŸ’–

πŸ¦‹ ARGUMENTS πŸ¦‹

  • cpufreq_cdev β€” the cpufreq_cooling_device for this cdev. it's literally the cooling device we're doing the vibes check on πŸ‘‘
  • freq β€” the current frequency, bestie. the speed the CPU is running at right now ⭐

πŸ”₯ RETURN πŸ”₯

it returns the dynamic power consumed by the cpus described by cpufreq_cdev πŸ’€ like, one u32, that's it, that's the whole result. slay.

ngl it's literally just a power number for those cpus β€” nothing sketchy, no hidden side quests 🌈

🌸 SEE ALSO 🌸

all of these are the friend group 🫢 go say hi to them when you're done here.


that's the whole page bestie, you ate that πŸ’… mwah! this one lives in ./drivers/thermal and it's dated October 2026 β€” see you in the next manpage, ily! πŸ“πŸ’œ

πŸ“¦ where this page comes from