blk_stat_activate_nsecs(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ blk_stat_activate_nsecs(9) ✨

okay so bestie, welcome to the Kernel API Manual πŸ’– β€” you're reading blk_stat_activate_nsecs(9), and honestly? she's a little icon. tiny function, big job. let's get into it πŸŽ€


🌸 NAME 🌸

blk_stat_activate_nsecs β€” gather block statistics during a time window in nanoseconds. literally that's it, that's her whole thing πŸ’…


πŸ¦‹ SYNOPSIS πŸ¦‹

void blk_stat_activate_nsecs (struct blk_stat_callback *cb , u64 nsecs );

like, copy it exactly, no cap ✨


πŸ“ ARGUMENTS πŸ“

  • cb β€” the callback. yes, that callback. your struct blk_stat_callback bestie 🫢
  • nsecs β€” number of nanoseconds to gather statistics for. nanoseconds!! she said precision πŸ’€ nicely typed as a u64 too.

πŸ’œ DESCRIPTION πŸ’œ

the timer callback will be called when the window expires. periodt. πŸ•βœ¨

like β€” you set up a window of nsecs nanoseconds, and when that window runs out, the timer callback fires. that's the whole vibe check. lowkey elegant, highkey essential, iykyk 🌈


πŸ‘‘ SEE ALSO πŸ‘‘

the whole callback girlie friend group fr fr, go read them all πŸ’–


ngl this page is short but she ate. use the right units or suffer 😭

and that's the page!! 🧚 sourced from ./block, dated October 2026 β€” mwah, see u in the group chat bestie πŸ’…πŸ’–πŸŽ€

πŸ“¦ where this page comes from