Home
last modified time | relevance | path

Searched refs:vtime_now (Results 1 – 2 of 2) sorted by relevance

/tools/testing/selftests/sched_ext/
A Dselect_cpu_vtime.bpf.c19 static u64 vtime_now; variable
32 if (vtime_before(vtime, vtime_now - SCX_SLICE_DFL)) in task_vtime()
33 return vtime_now - SCX_SLICE_DFL; in task_vtime()
62 if (vtime_before(vtime_now, p->scx.dsq_vtime)) in BPF_STRUCT_OPS()
63 vtime_now = p->scx.dsq_vtime; in BPF_STRUCT_OPS()
74 p->scx.dsq_vtime = vtime_now; in BPF_STRUCT_OPS()
/tools/sched_ext/
A Dscx_simple.bpf.c29 static u64 vtime_now; variable
82 if (time_before(vtime, vtime_now - SCX_SLICE_DFL)) in BPF_STRUCT_OPS()
83 vtime = vtime_now - SCX_SLICE_DFL; in BPF_STRUCT_OPS()
106 if (time_before(vtime_now, p->scx.dsq_vtime)) in BPF_STRUCT_OPS()
107 vtime_now = p->scx.dsq_vtime; in BPF_STRUCT_OPS()
129 p->scx.dsq_vtime = vtime_now; in BPF_STRUCT_OPS()

Completed in 3 milliseconds