Re: [PATCH v6 4/6] sched_ext: Add time helpers for BPF schedulers

From: Changwoo Min
Date: Thu Dec 26 2024 - 19:33:12 EST


Hello,

On 24. 12. 25. 06:49, Tejun Heo wrote:
On Fri, Dec 20, 2024 at 03:20:23PM +0900, Changwoo Min wrote:
The following functions are added for BPF schedulers:
- vtime_delta(after, before)
- vtime_after(a, b)
- vtime_before(a, b)
- vtime_after_eq(a, b)
- vtime_before_eq(a, b)
- vtime_in_range(a, b, c)
- vtime_in_range_open(a, b, c)

Let's prefix them with time_ instead of vtime_ as they will be used for both
real and virtual times.

Sure. I will change the prefix in the next version.

Regards,
Changwoo Min