time_after_eq(9)
π 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 asu64. she's the first one up for comparison, okay? give her her moment. β¨bβ second comparable asu64. 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:
RESIZABLE_ARRAY(9)MEMBER_VPTR(9)ARRAY_ELEM_PTR(9)__sink(9)time_delta(9)time_after(9)time_before(9)time_before_eq(9)time_in_range(9)time_in_range_open(9)
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
- 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