mirror-linux/tools/sched_ext/include/scx
Changwoo Min d07be814fc sched_ext: Add time helpers for BPF schedulers
The following functions are added for BPF schedulers:
- time_delta(after, before)
- time_after(a, b)
- time_before(a, b)
- time_after_eq(a, b)
- time_before_eq(a, b)
- time_in_range(a, b, c)
- time_in_range_open(a, b, c)

Signed-off-by: Changwoo Min <changwoo@igalia.com>
Acked-by: Andrea Righi <arighi@nvidia.com>
Signed-off-by: Tejun Heo <tj@kernel.org>
2025-01-10 08:04:40 -10:00
..
common.bpf.h sched_ext: Add time helpers for BPF schedulers 2025-01-10 08:04:40 -10:00
common.h tools/sched_ext: Receive updates from SCX repo 2024-12-12 16:16:57 -10:00
compat.bpf.h sched_ext: Add scx_bpf_now() for BPF scheduler 2025-01-10 08:04:40 -10:00
compat.h tools/sched_ext: Receive updates from SCX repo 2024-12-12 16:16:57 -10:00
enums.autogen.bpf.h tools/sched_ext: Receive updates from SCX repo 2024-12-12 16:16:57 -10:00
enums.autogen.h tools/sched_ext: Receive updates from SCX repo 2024-12-12 16:16:57 -10:00
enums.bpf.h tools/sched_ext: Receive updates from SCX repo 2024-12-12 16:16:57 -10:00
enums.h tools/sched_ext: Receive updates from SCX repo 2024-12-12 16:16:57 -10:00
user_exit_info.h tools/sched_ext: Receive updates from SCX repo 2024-12-12 16:16:57 -10:00