ktime_get_raw_ts64(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… ktime_get_raw_ts64(9) β€” from the Kernel API Manual, bestie ✨

okay so picture this: you're deep in the kernel, the vibes are immaculate, and you just need time β€” but the raw, unfiltered kind. no ntp glow-up, no adjustments, just pure monotonic realness. that's this function. she's giving main character energy in the timekeeping department πŸ•°οΈπŸ‘‘


✨ NAME ✨

ktime_get_raw_ts64 β€” returns the raw monotonic time in a timespec πŸŽ€


🌸 SYNOPSIS 🌸

void ktime_get_raw_ts64 (struct timespec64 *ts );

like, that's the whole signature. she's not complicated, she's just precise πŸ’…


πŸ¦‹ ARGUMENTS πŸ¦‹

  • ts β€” pointer to the timespec64 that gets set, periodt. you hand her the struct, she fills it in. no cap 🫢

πŸ”₯ DESCRIPTION πŸ”₯

Returns the raw monotonic time β€” and we mean raw. this is completely un-modified by ntp, bestie 😭 ntp doesn't touch this one, doesn't adjust it, doesn't even look at it. it's the untouched, no-filter, bare-faced version of monotonic time and honestly? iconic 🌈⭐


πŸ‘‘ SEE ALSO πŸ‘‘

and now the obligatory friend-group roundup πŸ’– these are all hanging out in the kernel file ./kernel/time/timekeeping.c:


ngl, that's a lot of timekeeping besties, but every single one of them is listed up there for a reason β€” go read them, iykyk πŸ§šπŸ’œ

k that's the whole page, mwah πŸ’‹ this one lives over in ./kernel/time and the date on it is October 2026 β€” go off, timekeeping stans, you ate πŸ“πŸ’«

πŸ“¦ where this page comes from