Home
last modified time | relevance | path

Searched refs:vruntime (Results 1 – 10 of 10) 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/Documentation/scheduler/
H A Dsched-design-CFS.rst38 p->se.vruntime (nanosec-unit) value. This way, it's possible to accurately
42 p->se.vruntime value --- i.e., tasks would execute simultaneously and no task
45 CFS's task picking logic is based on this p->se.vruntime value and it is thus
46 very simple: it always tries to run the task with the smallest p->se.vruntime
66 increasing value tracking the smallest vruntime among all tasks in the
76 p->se.vruntime key. CFS picks the "leftmost" task from this tree and sticks to it.
85 p->se.vruntime. Once p->se.vruntime gets high enough so that another task
/linux/Documentation/translations/sp_SP/scheduler/
H A Dsched-design-CFS.rst45 cada tarea, en su valor de p->se.vruntime (en unidades de nanosegundos).
50 tareas pueden tener el mismo valor de p->se.vruntime --- i.e., tareas
54 La lógica de elección del tareas de CFS se basa en el valor de p->se.vruntime
56 p->se.vruntime más pequeño (i.e., la tarea que se ha ejecutado menos hasta el
78 monotónicamente siguiendo el valor más pequeño de vruntime de entre todas
90 p->se.vruntime. CFS selecciona la tarea más hacia la izquierda de este
100 p->se.vruntime. Una vez p->se.vruntime ha aumentado lo suficiente como
/linux/kernel/sched/
H A Dfair.c527 static inline __maybe_unused u64 max_vruntime(u64 max_vruntime, u64 vruntime) in max_vruntime() argument
529 s64 delta = (s64)(vruntime - max_vruntime); in max_vruntime()
531 max_vruntime = vruntime; in max_vruntime()
536 static inline __maybe_unused u64 min_vruntime(u64 min_vruntime, u64 vruntime) in min_vruntime() argument
538 s64 delta = (s64)(vruntime - min_vruntime); in min_vruntime()
540 min_vruntime = vruntime; in min_vruntime()
557 return (s64)(se->vruntime - cfs_rq->min_vruntime); in entity_key()
699 vlag = avg_vruntime(cfs_rq) - se->vruntime; in update_entity_lag()
722 static int vruntime_eligible(struct cfs_rq *cfs_rq, u64 vruntime) in vruntime_eligible() argument
735 return avg >= (s64)(vruntime - cfs_rq->min_vruntime) * load; in vruntime_eligible()
[all …]
H A Ddebug.c660 PN(se->vruntime); in print_cfs_group_stats()
736 SPLIT_NS(p->se.vruntime), in print_task()
821 right_vruntime = last->vruntime; in print_cfs_rq()
1161 PN(se.vruntime); in proc_sched_show_task()
H A Dcore.c4449 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.h588 u64 vruntime; member
/linux/Documentation/timers/
H A Dno_hz.rst313 load, maintaining sched average, computing CFS entity vruntime,
/linux/Documentation/trace/
H A Dhistogram.rst2419 …941: sched_stat_runtime: comm=gnome-terminal- pid=1699 runtime=180706 [ns] vruntime=1126870572 [ns]
2424 … 309.874973: sched_stat_runtime: comm=rcu_sched pid=9 runtime=13646 [ns] vruntime=22531430286 [ns]
2520 …9.823113: sched_stat_runtime: comm=gnome-shell pid=1261 runtime=49347 [ns] vruntime=1835730389 [ns]
2523 …49.823118: sched_stat_runtime: comm=kworker/3:2 pid=135 runtime=5339 [ns] vruntime=17815800388 [ns]
2524 …49.823120: sched_stat_runtime: comm=kworker/6:2 pid=387 runtime=9594 [ns] vruntime=14589605367 [ns]