Home
last modified time | relevance | path

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

/Linux-v5.15/include/trace/events/
Dsched.h493 TP_PROTO(struct task_struct *tsk, u64 runtime, u64 vruntime),
495 TP_ARGS(tsk, __perf_count(runtime), vruntime),
501 __field( u64, vruntime )
508 __entry->vruntime = vruntime;
514 (unsigned long long)__entry->vruntime)
518 TP_PROTO(struct task_struct *tsk, u64 runtime, u64 vruntime),
519 TP_ARGS(tsk, runtime, vruntime));
/Linux-v5.15/Documentation/scheduler/
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-v5.15/kernel/sched/
Dfair.c512 static inline u64 max_vruntime(u64 max_vruntime, u64 vruntime) in max_vruntime() argument
514 s64 delta = (s64)(vruntime - max_vruntime); in max_vruntime()
516 max_vruntime = vruntime; in max_vruntime()
521 static inline u64 min_vruntime(u64 min_vruntime, u64 vruntime) in min_vruntime() argument
523 s64 delta = (s64)(vruntime - min_vruntime); in min_vruntime()
525 min_vruntime = vruntime; in min_vruntime()
533 return (s64)(a->vruntime - b->vruntime) < 0; in entity_before()
544 u64 vruntime = cfs_rq->min_vruntime; in update_min_vruntime() local
548 vruntime = curr->vruntime; in update_min_vruntime()
557 vruntime = se->vruntime; in update_min_vruntime()
[all …]
Ddebug.c459 PN(se->vruntime); in print_cfs_group_stats()
534 SPLIT_NS(p->se.vruntime), in print_task()
594 MIN_vruntime = (__pick_first_entity(cfs_rq))->vruntime; in print_cfs_rq()
597 max_vruntime = last->vruntime; in print_cfs_rq()
961 PN(se.vruntime); in proc_sched_show_task()
Dcore.c4190 p->se.vruntime = 0; in __sched_fork()
/Linux-v5.15/tools/perf/scripts/python/
Dsched-migration.py374 common_callchain, comm, pid, runtime, vruntime): argument
/Linux-v5.15/include/linux/
Dsched.h536 u64 vruntime; member
/Linux-v5.15/Documentation/timers/
Dno_hz.rst320 load, maintaining sched average, computing CFS entity vruntime,
/Linux-v5.15/Documentation/trace/
Dhistogram.rst2242 …941: sched_stat_runtime: comm=gnome-terminal- pid=1699 runtime=180706 [ns] vruntime=1126870572 [ns]
2247 … 309.874973: sched_stat_runtime: comm=rcu_sched pid=9 runtime=13646 [ns] vruntime=22531430286 [ns]
2343 …9.823113: sched_stat_runtime: comm=gnome-shell pid=1261 runtime=49347 [ns] vruntime=1835730389 [ns]
2346 …49.823118: sched_stat_runtime: comm=kworker/3:2 pid=135 runtime=5339 [ns] vruntime=17815800388 [ns]
2347 …49.823120: sched_stat_runtime: comm=kworker/6:2 pid=387 runtime=9594 [ns] vruntime=14589605367 [ns]