diff options
author | 2025-01-09 22:14:54 +0900 | |
---|---|---|
committer | 2025-01-10 08:04:40 -1000 | |
commit | d07be814fc7165cb804317c99228243382e81188 (patch) | |
tree | bf81d7fd132b9439a6fee8ef09aa684d103a5804 /net/lapb/lapb_timer.c | |
parent | sched_ext: Add scx_bpf_now() for BPF scheduler (diff) | |
download | wireguard-linux-d07be814fc7165cb804317c99228243382e81188.tar.xz wireguard-linux-d07be814fc7165cb804317c99228243382e81188.zip |
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>
Diffstat (limited to 'net/lapb/lapb_timer.c')
0 files changed, 0 insertions, 0 deletions