tk_setup_internals(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸŽ€ tk_setup_internals(9) πŸŽ€

hiii bestie 🫢 welcome to the Kernel API Manual page for tk_setup_internals(9) β€” yes, we're doing kernel timekeeping internals today, and the vibes are immaculate but the rules are strict πŸ’….


🌸 NAME 🌸

tk_setup_internals β€” Set up internals to use clocksource clock.

✨ SYNOPSIS ✨

void tk_setup_internals (struct timekeeper *tk , struct clocksource
       *clock );

πŸ¦‹ ARGUMENTS πŸ¦‹

  • tk β€” the target timekeeper to setup, okay bestie?
  • clock β€” pointer to clocksource. iconic. πŸ’«

πŸ’– DESCRIPTION πŸ’–

okay so check it: this calculates a fixed cycle/nsec interval for a given clocksource/adjustment pair and interval request. that's the tea β˜•.

⚠️ Unless you're the timekeeping code, you should not be using this! no cap, this is not a casual Friday API, bestie. πŸ’€

it's giving internal-only energy, and honestly? respect. 🫑

🌈 SEE ALSO 🌈

Kernel file ./kernel/time/timekeeping.c, plus the whole extended timekeeping family:


mwah πŸ’‹ this page is sourced from/versioned as ./kernel/time, dated October 2026. byeee bestie, go hydrate and remember: unless you're the timekeeping code, this API is not yours 🫢✨

πŸ“¦ where this page comes from