Home
last modified time | relevance | path

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

/linux/drivers/gpu/drm/scheduler/
H A Dsched_rq.c126 ktime_t vruntime = 0; in drm_sched_rq_get_min_vruntime() local
138 vruntime = stats->vruntime; in drm_sched_rq_get_min_vruntime()
142 return vruntime; in drm_sched_rq_get_min_vruntime()
150 ktime_t vruntime; in drm_sched_entity_save_vruntime() local
153 vruntime = stats->vruntime; in drm_sched_entity_save_vruntime()
154 if (min_vruntime && vruntime > min_vruntime) in drm_sched_entity_save_vruntime()
155 vruntime = ktime_sub(vruntime, min_vruntime); in drm_sched_entity_save_vruntime()
157 vruntime = 0; in drm_sched_entity_save_vruntime()
158 stats->vruntime = vruntime; in drm_sched_entity_save_vruntime()
171 ktime_t vruntime; in drm_sched_entity_restore_vruntime() local
[all …]
/linux/tools/sched_ext/
H A Dscx_userland.c72 double vruntime; member
191 enqueued->vruntime += calc_vruntime_delta(bpf_task->weight, delta); in update_enqueued()
192 if (min_vruntime > enqueued->vruntime) in update_enqueued()
193 enqueued->vruntime = min_vruntime; in update_enqueued()
223 if (curr->vruntime <= enqueued->vruntime) { in vruntime_enqueue()
270 min_vruntime = task->vruntime; in dispatch_batch()
/linux/kernel/sched/
H A Dfair.c542 static inline __maybe_unused u64 max_vruntime(u64 max_vruntime, u64 vruntime) in max_vruntime() argument
544 if (vruntime_cmp(vruntime, ">", max_vruntime)) in max_vruntime()
545 max_vruntime = vruntime; in max_vruntime()
550 static inline __maybe_unused u64 min_vruntime(u64 min_vruntime, u64 vruntime) in min_vruntime() argument
552 if (vruntime_cmp(vruntime, "<", min_vruntime)) in min_vruntime()
553 min_vruntime = vruntime; in min_vruntime()
562 * Tiebreak on vruntime seems unnecessary since it can in entity_before()
585 return vruntime_op(se->vruntime, "-", cfs_rq->zero_vruntime); in entity_key()
610 * se->vruntime):
777 delta = curr->vruntime in avg_vruntime()
922 vruntime_eligible(struct cfs_rq * cfs_rq,u64 vruntime) vruntime_eligible() argument
1152 u64 vruntime = min_vruntime(se->vruntime, avg_vruntime(cfs_rq)); update_protect_slice() local
6188 u64 vslice, vruntime = avg_vruntime(cfs_rq); place_entity() local
[all...]
H A Dcore.c4595 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.h592 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.rst550 all others are scheduled in user space by a simple vruntime scheduler.