Home
last modified time | relevance | path

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

/linux-6.3-rc2/Documentation/translations/zh_CN/scheduler/
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-6.3-rc2/include/trace/events/
A Dsched.h496 TP_PROTO(struct task_struct *tsk, u64 runtime, u64 vruntime),
498 TP_ARGS(tsk, __perf_count(runtime), vruntime),
504 __field( u64, vruntime )
511 __entry->vruntime = vruntime;
517 (unsigned long long)__entry->vruntime)
521 TP_PROTO(struct task_struct *tsk, u64 runtime, u64 vruntime),
522 TP_ARGS(tsk, runtime, vruntime));
/linux-6.3-rc2/Documentation/scheduler/
A Dsched-design-CFS.rst34 p->se.vruntime (nanosec-unit) value. This way, it's possible to accurately
38 p->se.vruntime value --- i.e., tasks would execute simultaneously and no task
41 CFS's task picking logic is based on this p->se.vruntime value and it is thus
42 very simple: it always tries to run the task with the smallest p->se.vruntime
62 increasing value tracking the smallest vruntime among all tasks in the
72 p->se.vruntime key. CFS picks the "leftmost" task from this tree and sticks to it.
81 p->se.vruntime. Once p->se.vruntime gets high enough so that another task
/linux-6.3-rc2/kernel/sched/
A Dfair.c601 return (s64)(a->vruntime - b->vruntime) < 0; in entity_before()
616 vruntime = curr->vruntime; in update_min_vruntime()
625 vruntime = se->vruntime; in update_min_vruntime()
627 vruntime = min_vruntime(vruntime, se->vruntime); in update_min_vruntime()
4694 se->vruntime = vruntime; in place_entity()
4696 se->vruntime = max_vruntime(se->vruntime, vruntime); in place_entity()
4933 delta = curr->vruntime - se->vruntime; in check_preempt_tick()
7718 s64 gran, vdiff = curr->vruntime - se->vruntime; in wakeup_preempt_entity()
11931 delta = (s64)(sea->vruntime - seb->vruntime) + in cfs_prio_less()
11986 se->vruntime = curr->vruntime; in task_fork_fair()
[all …]
A Ddebug.c462 PN(se->vruntime); in print_cfs_group_stats()
540 SPLIT_NS(p->se.vruntime), in print_task()
601 MIN_vruntime = (__pick_first_entity(cfs_rq))->vruntime; in print_cfs_rq()
604 max_vruntime = last->vruntime; in print_cfs_rq()
961 PN(se.vruntime); in proc_sched_show_task()
A Dcore.c4433 p->se.vruntime = 0; in __sched_fork()
/linux-6.3-rc2/tools/perf/scripts/python/
A Dsched-migration.py374 common_callchain, comm, pid, runtime, vruntime): argument
/linux-6.3-rc2/include/linux/
A Dsched.h556 u64 vruntime; member
/linux-6.3-rc2/Documentation/timers/
A Dno_hz.rst316 load, maintaining sched average, computing CFS entity vruntime,
/linux-6.3-rc2/Documentation/trace/
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]

Completed in 57 milliseconds