Searched refs:vruntime (Results 1 – 10 of 10) sorted by relevance
/linux-6.1.9/Documentation/translations/zh_CN/scheduler/ |
D | sched-design-CFS.rst | 36 在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.1.9/include/trace/events/ |
D | sched.h | 496 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.1.9/Documentation/scheduler/ |
D | sched-design-CFS.rst | 34 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.1.9/kernel/sched/ |
D | fair.c | 565 static inline u64 max_vruntime(u64 max_vruntime, u64 vruntime) in max_vruntime() argument 567 s64 delta = (s64)(vruntime - max_vruntime); in max_vruntime() 569 max_vruntime = vruntime; in max_vruntime() 574 static inline u64 min_vruntime(u64 min_vruntime, u64 vruntime) in min_vruntime() argument 576 s64 delta = (s64)(vruntime - min_vruntime); in min_vruntime() 578 min_vruntime = vruntime; in min_vruntime() 586 return (s64)(a->vruntime - b->vruntime) < 0; in entity_before() 597 u64 vruntime = cfs_rq->min_vruntime; in update_min_vruntime() local 601 vruntime = curr->vruntime; in update_min_vruntime() 610 vruntime = se->vruntime; in update_min_vruntime() [all …]
|
D | debug.c | 462 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()
|
D | core.c | 4379 p->se.vruntime = 0; in __sched_fork()
|
/linux-6.1.9/tools/perf/scripts/python/ |
D | sched-migration.py | 374 common_callchain, comm, pid, runtime, vruntime): argument
|
/linux-6.1.9/include/linux/ |
D | sched.h | 556 u64 vruntime; member
|
/linux-6.1.9/Documentation/timers/ |
D | no_hz.rst | 316 load, maintaining sched average, computing CFS entity vruntime,
|
/linux-6.1.9/Documentation/trace/ |
D | histogram.rst | 2257 …941: sched_stat_runtime: comm=gnome-terminal- pid=1699 runtime=180706 [ns] vruntime=1126870572 [ns] 2262 … 309.874973: sched_stat_runtime: comm=rcu_sched pid=9 runtime=13646 [ns] vruntime=22531430286 [ns] 2358 …9.823113: sched_stat_runtime: comm=gnome-shell pid=1261 runtime=49347 [ns] vruntime=1835730389 [ns] 2361 …49.823118: sched_stat_runtime: comm=kworker/3:2 pid=135 runtime=5339 [ns] vruntime=17815800388 [ns] 2362 …49.823120: sched_stat_runtime: comm=kworker/6:2 pid=387 runtime=9594 [ns] vruntime=14589605367 [ns]
|