STRUCT CLOCKSOURCE_BASE(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– NAME πŸ’–

Okay bestie, welcome to the Kernel API Manual page for struct clocksource_base(9) ✨ β€” it's literally the hardware abstraction for the clock on which a clocksource is based. No cap, it's giving foundation energy πŸ’….


✨ SYNOPSIS ✨

struct clocksource_base {
    enum clocksource_ids    id;
    u32 freq_khz;
    u64 offset;
    u32 numerator;
    u32 denominator;
 };

πŸŽ€ Members πŸŽ€

  • id β€” Defaults to CSID_GENERIC πŸ‘‘. This id value is used by conversion functions that require the current clocksource to be based on a clocksource_base with a particular ID in certain snapshot functions, so callers can validate the clocksource from which the snapshot was taken. iykyk.
  • freq_khz β€” Nominal frequency of the base clock in kHz 🩷.
  • offset β€” Offset between the base clock and the clocksource 🌸.
  • numerator β€” Numerator of the clock ratio between the base clock and the clocksource πŸ’«.
  • denominator β€” Denominator of the clock ratio between the base clock and the clocksource πŸŽ€.

🌈 SEE ALSO 🌈

Peep the kernel file ./include/linux/clocksource.h struct clocksource_hw_snapshot(9) β€” plus these iconic little references:


Okay that's the whole page, bestie πŸ’–. Signed, sealed, and slayed by source/version ./include/linux, dated October 2026, for struct clocksource_base(9) β€” now go be the main character of your clocksource era πŸ‘‘βœ¨πŸ«Ά.

πŸ“¦ where this page comes from