Searched refs:vruntime (Results 1 – 10 of 10) sorted by relevance
/linux-6.6.21/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.6.21/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.6.21/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.6.21/kernel/sched/ |
D | debug.c | 506 PN(se->vruntime); in print_cfs_group_stats() 584 SPLIT_NS(p->se.vruntime), in print_task() 649 left_vruntime = first->vruntime; in print_cfs_rq() 652 right_vruntime = last->vruntime; in print_cfs_rq() 1004 PN(se.vruntime); in proc_sched_show_task()
|
D | fair.c | 548 static inline u64 max_vruntime(u64 max_vruntime, u64 vruntime) in max_vruntime() argument 550 s64 delta = (s64)(vruntime - max_vruntime); in max_vruntime() 552 max_vruntime = vruntime; in max_vruntime() 557 static inline u64 min_vruntime(u64 min_vruntime, u64 vruntime) in min_vruntime() argument 559 s64 delta = (s64)(vruntime - min_vruntime); in min_vruntime() 561 min_vruntime = vruntime; in min_vruntime() 569 return (s64)(a->vruntime - b->vruntime) < 0; in entity_before() 574 return (s64)(se->vruntime - cfs_rq->min_vruntime); in entity_key() 715 lag = avg_vruntime(cfs_rq) - se->vruntime; in update_entity_lag() 754 static u64 __update_min_vruntime(struct cfs_rq *cfs_rq, u64 vruntime) in __update_min_vruntime() argument [all …]
|
D | core.c | 4506 p->se.vruntime = 0; in __sched_fork()
|
/linux-6.6.21/tools/perf/scripts/python/ |
D | sched-migration.py | 374 common_callchain, comm, pid, runtime, vruntime): argument
|
/linux-6.6.21/include/linux/ |
D | sched.h | 561 u64 vruntime; member
|
/linux-6.6.21/Documentation/timers/ |
D | no_hz.rst | 316 load, maintaining sched average, computing CFS entity vruntime,
|
/linux-6.6.21/Documentation/trace/ |
D | histogram.rst | 2419 …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]
|