Home
last modified time | relevance | path

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

/linux/Documentation/translations/zh_CN/scheduler/
H A Dsched-design-CFS.rst36 在CFS中,虚拟运行时间由每个任务的p->se.vruntime(单位为纳秒)的值表达和跟踪。因此,
39 一些细节:在“理想的”硬件上,所有的任务在任何时刻都应该具有一样的p->se.vruntime值,
42 CFS的任务选择逻辑基于p->se.vruntime的值,因此非常简单:总是试图选择p->se.vruntime
64 CFS维护了一个按时间排序的红黑树,所有可运行任务以p->se.vruntime为键值排序。CFS从这颗
70 p->se.vruntime。一旦p->se.vruntime变得足够大,其它的任务将成为按时间排序的红黑树的
/linux/tools/sched_ext/
H A Dscx_userland.c71 double vruntime; member
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()
222 if (curr->vruntime <= enqueued->vruntime) { in vruntime_enqueue()
269 min_vruntime = task->vruntime; in dispatch_batch()
/linux/kernel/sched/
H A Dfair.c566 static inline __maybe_unused u64 max_vruntime(u64 max_vruntime, u64 vruntime) in max_vruntime() argument
568 if (vruntime_cmp(vruntime, ">", max_vruntime)) in max_vruntime()
569 max_vruntime = vruntime; in max_vruntime()
574 static inline __maybe_unused u64 min_vruntime(u64 min_vruntime, u64 vruntime) in min_vruntime() argument
576 if (vruntime_cmp(vruntime, "<", min_vruntime)) in min_vruntime()
577 min_vruntime = vruntime; in min_vruntime()
594 return vruntime_op(se->vruntime, "-", cfs_rq->zero_vruntime); in entity_key()
736 vlag = avg_vruntime(cfs_rq) - se->vruntime; in update_entity_lag()
759 static int vruntime_eligible(struct cfs_rq *cfs_rq, u64 vruntime) in vruntime_eligible() argument
772 return avg >= vruntime_op(vruntime, "-", cfs_rq->zero_vruntime) * load; in vruntime_eligible()
[all …]
H A Dcore.c4399 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.h593 u64 vruntime; member
/linux/Documentation/timers/
H A Dno_hz.rst313 load, maintaining sched average, computing CFS entity vruntime,