idle_inject_get_duration(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– NAME πŸ’–

okay bestie, this is the Kernel API Manual page for idle_inject_get_duration(9), and the name is literally giving idle and run duration retrieval helper ✨. That's the whole vibe β€” it's the helper for getting idle and run duration info, no cap πŸ’….

✨ SYNOPSIS ✨

the signature is right here, and yes, the return type is void:

void idle_inject_get_duration (struct idle_inject_device *ii_dev ,
unsigned int *run_duration_us , unsigned int *idle_duration_us );

πŸŽ€ ARGUMENTS πŸŽ€

  • ii_dev β€” the idle injection control device structure. this is the struct you pass in, bestie 🫢
  • run_duration_us β€” a memory location to store the current CPU run time. yes, pointer situation, and this is where the run time goes πŸ’–
  • idle_duration_us β€” a memory location to store the current CPU idle time. same energy, different duration: this is the spot for the idle time 🌸

🌈 SEE ALSO 🌈

okay that's the whole page, bestie πŸ«ΆπŸ’œ β€” source/version: ./drivers/powercap, date: October 2026, and page: idle_inject_get_duration(9). slay and goodbye πŸ’…βœ¨

πŸ“¦ where this page comes from