em_cpu_get(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

em_cpu_get(9) πŸ’…

okay so this little icon is from the Kernel API Manual, and she is here to help you find where a CPU lives in performance-domain land. periodt. ✨


✨ NAME ✨

em_cpu_get β€” Return the performance domain for a CPU πŸŽ€


🫢 SYNOPSIS 🫢

struct em_perf_domain * em_cpu_get (int cpu );

πŸ’… ARGUMENTS πŸ’…

  • cpu β€” the CPU you’re trying to find the performance domain for. that’s the whole assignment, bestie. πŸ”

🌸 DESCRIPTION 🌸

Returns the performance domain that cpu belongs to, or NULL if it doesn’t exist. 😭

like, it’s giving β€œwhich found family does this CPU belong to?” and if there’s no match, you get NULL. no cap. πŸ’–


πŸ”₯ SEE ALSO πŸ”₯

Kernel file ./kernel/power/energy_model.c πŸ‘‘


xoxo, bestie πŸ’– source/version: ./kernel/power Β· date: October 2026 Β· page: em_cpu_get(9) πŸŽ€

πŸ“¦ where this page comes from