time_in_range(9)
β¨ time_in_range(9) β¨
okay bestie, welcome to this little Kernel API Manual icon β it's literally here to answer one question: is a sitting inside the range [b, c]? π
πΈ NAME πΈ
time_in_range β calculates whether a is in the range of [b, c]. π
β¨ SYNOPSIS β¨
bool time_in_range (u64 a , u64 b , u64 c );
π ARGUMENTS π
aβ the time to test πbβ the beginning of the range π«Άcβ the end of the range π
π RETURN π
Returns true if time a is in the range [b, c], otherwise false. no cap, that's the whole vibe check π
π¦ SEE ALSO π¦
- Kernel file
./tools/sched_ext/include/scx/common.bpf.hπ RESIZABLE_ARRAY(9)MEMBER_VPTR(9)ARRAY_ELEM_PTR(9)__sink(9)time_delta(9)time_after(9)time_before(9)time_after_eq(9)time_before_eq(9)time_in_range_open(9)
mwah π this baddie lives in ./tools/sched_ext/include/scx, dated October 2026, and it's time_in_range(9) β periodt π
π¦ 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