Home
last modified time | relevance | path

Searched refs:vruntime (Results 1 – 8 of 8) sorted by relevance

/linux/tools/sched_ext/
H A Dscx_userland.c3 * A demo sched_ext user space scheduler which provides vruntime semantics
71 double vruntime; member
75 * Use a vruntime-sorted list to store tasks. This could easily be extended to
83 * A vruntime-sorted list of tasks. The head of the list contains the task with
84 * the lowest vruntime. That is, the task that has the "highest" claim to be
190 enqueued->vruntime += calc_vruntime_delta(bpf_task->weight, delta); in update_enqueued()
191 if (min_vruntime > enqueued->vruntime) in update_enqueued()
192 enqueued->vruntime = min_vruntime; in update_enqueued()
209 * Enqueue the task in a vruntime-sorted list. A more optimal data in vruntime_enqueue()
222 if (curr->vruntime < in vruntime_enqueue()
[all...]
/linux/kernel/sched/
H A Dfair.c573 static inline __maybe_unused u64 max_vruntime(u64 max_vruntime, u64 vruntime) in max_vruntime() argument
575 if (vruntime_cmp(vruntime, ">", max_vruntime)) in max_vruntime()
576 max_vruntime = vruntime; in max_vruntime()
581 static inline __maybe_unused u64 min_vruntime(u64 min_vruntime, u64 vruntime) in min_vruntime() argument
583 if (vruntime_cmp(vruntime, "<", min_vruntime)) in min_vruntime()
584 min_vruntime = vruntime; in min_vruntime()
616 return vruntime_op(se->vruntime, "-", cfs_rq->zero_vruntime); in entity_key()
808 delta = curr->vruntime - cfs_rq->zero_vruntime; in avg_vruntime()
837 vlag = avruntime - se->vruntime; in entity_lag()
874 return avruntime - vlag != se->vruntime; in update_entity_lag()
[all …]
H A Ddebug.c766 PN(se->vruntime); in print_cfs_group_stats()
842 SPLIT_NS(p->se.vruntime), in print_task()
931 right_vruntime = last->vruntime; in print_cfs_rq()
1280 PN(se.vruntime); in proc_sched_show_task()
H A Dcore.c4459 p->se.vruntime = 0; in __sched_fork()
/linux/tools/perf/scripts/python/
H A Dsched-migration.py374 common_callchain, comm, pid, runtime, vruntime): argument
/linux/include/linux/
H A Dsched.h594 u64 vruntime; member
/linux/Documentation/timers/
H A Dno_hz.rst313 load, maintaining sched average, computing CFS entity vruntime,
/linux/Documentation/scheduler/
H A Dsched-ext.rst528 all others are scheduled in user space by a simple vruntime scheduler.