time_after_eq(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– time_after_eq(9) β€” kernel API manual, bestie edition πŸ’–

okay so welcome to the Kernel API Manual, section 9, and today's main character is time_after_eq β€” a tiny little bool-returning baddie from the kernel. she's not complicated, she's not doing too much, she's just here to answer one (1) question for you. and honestly? she ate. πŸŽ€


✨ NAME ✨

time_after_eq β€” returns true if the time a is after or the same as time b.

like literally that's it, that's the whole job. no cap. 🫢


πŸ¦‹ SYNOPSIS πŸ¦‹

bool time_after_eq (u64 a , u64 b );

that's the whole signature, bestie β€” copy it exactly, commas and spacing and all, because the kernel does not play about formatting. πŸ’…


🌸 ARGUMENTS 🌸

  • a β€” first comparable as u64. she's the first one up for comparison, okay? give her her moment. ✨
  • b β€” second comparable as u64. the other half of this whole comparison situation. πŸ¦‹
both of these are u64, fr fr. don't be sneaky and slide a different type in there, that's not the vibe. πŸ™ˆ

πŸ”₯ RETURN πŸ”₯

true is time a is after or the same as time b, otherwise false.

(yes, the original says "true is time *a*…" β€” that's the manpage's wording, not a typo on my end, i'm just the messenger πŸ’€)

so like, a strictly after b? true. a exactly equal to b? also true, because the _eq is right there in the name, bestie, it's giving inclusive. πŸ‘‘ anything else? false. periodt.


πŸ’œ SEE ALSO πŸ’œ

Kernel file ./tools/sched_ext/include/scx/common.bpf.h β€” that's where she lives, go say hi. 🏠

and then the whole friend group, in exactly this order:

the time family is lowkey a whole squad and time_after_eq is absolutely part of the core friend group. iykyk. 🌈


ok that's the whole page! no options, no environment variables, no exit statuses, no signals, no bugs section β€” just a very good little comparison function living her best life in the kernel. don't go inventing flags for her, she doesn't have any. 😭

and that's a wrap, bestie!! πŸ’–βœ¨πŸŽ€ this iconic little page came to you from ./tools/sched_ext/include/scx, dated October 2026, and it's filed under time_after_eq(9) in the Kernel API Manual β€” section 9, where all the cool kernel-internal kids hang out. mwah. πŸ’…πŸ«ΆπŸ“

πŸ“¦ where this page comes from