rdtsc_ordered(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

okay bestie, welcome to the rdtsc_ordered(9) page in the Kernel API Manual β€” yes, that's the manual name, folded in right here so we don't have to do the formal header-line thing πŸ’…βœ¨

🌸 NAME 🌸

rdtsc_ordered β€” read the current TSC in program order ✨

πŸŽ€ SYNOPSIS πŸŽ€

u64 rdtsc_ordered (void );

that's it. that's the whole call. iconic 🫢

πŸ¦‹ ARGUMENTS πŸ¦‹

  • void β€” no arguments. literally none, bestie. the void is voiding πŸ•³οΈ

πŸ’– DESCRIPTION πŸ’–

okay so rdtsc_ordered returns the result of RDTSC as a 64-bit integer. no cap.

it's ordered like a load to a global in-memory counter. the vibe is very "properly sequenced," basically ✨

and it should be impossible to observe non-monotonic rdtsc_unordered behavior across multiple CPUs as long as the TSC is synced. that "as long as the TSC is synced" part is the whole mood β€” do not skip it, bestie 😭

πŸ‘‘ SEE ALSO πŸ‘‘

  • Kernel file ./arch/x86/include/asm/tsc.h
  • rdtsc(9)

mwah πŸ’‹ sign-off time: source/version is ./arch/x86/include/asm, dated October 2026, and this whole page is rdtsc_ordered(9). bye bestie, go read that TSC in program order 🫢✨

πŸ“¦ where this page comes from