rdtsc_ordered(9)
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
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms