Searched refs:vruntime (Results 1 - 7 of 7) sorted by relevance
/linux-4.1.27/include/trace/events/ |
H A D | sched.h | 373 TP_PROTO(struct task_struct *tsk, u64 runtime, u64 vruntime), 375 TP_ARGS(tsk, __perf_count(runtime), vruntime), 381 __field( u64, vruntime ) 388 __entry->vruntime = vruntime; 391 TP_printk("comm=%s pid=%d runtime=%Lu [ns] vruntime=%Lu [ns]", 394 (unsigned long long)__entry->vruntime) 398 TP_PROTO(struct task_struct *tsk, u64 runtime, u64 vruntime), 399 TP_ARGS(tsk, runtime, vruntime));
|
/linux-4.1.27/kernel/sched/ |
H A D | debug.c | 80 PN(se->vruntime); print_cfs_group_stats() 130 SPLIT_NS(p->se.vruntime), print_task() 135 SPLIT_NS(p->se.vruntime), print_task() 191 MIN_vruntime = (__pick_first_entity(cfs_rq))->vruntime; print_cfs_rq() 194 max_vruntime = last->vruntime; print_cfs_rq() 579 PN(se.vruntime); proc_sched_show_task()
|
H A D | fair.c | 438 static inline u64 max_vruntime(u64 max_vruntime, u64 vruntime) max_vruntime() argument 440 s64 delta = (s64)(vruntime - max_vruntime); max_vruntime() 442 max_vruntime = vruntime; max_vruntime() 447 static inline u64 min_vruntime(u64 min_vruntime, u64 vruntime) min_vruntime() argument 449 s64 delta = (s64)(vruntime - min_vruntime); min_vruntime() 451 min_vruntime = vruntime; min_vruntime() 459 return (s64)(a->vruntime - b->vruntime) < 0; entity_before() 464 u64 vruntime = cfs_rq->min_vruntime; update_min_vruntime() local 467 vruntime = cfs_rq->curr->vruntime; update_min_vruntime() 475 vruntime = se->vruntime; update_min_vruntime() 477 vruntime = min_vruntime(vruntime, se->vruntime); update_min_vruntime() 481 cfs_rq->min_vruntime = max_vruntime(cfs_rq->min_vruntime, vruntime); update_min_vruntime() 659 * We calculate the vruntime slice of a to-be-inserted task. 716 curr->vruntime += calc_delta_fair(delta_exec, curr); update_curr() 722 trace_sched_stat_runtime(curtask, delta_exec, curr->vruntime); update_curr() 3020 s64 d = se->vruntime - cfs_rq->min_vruntime; check_spread() 3033 u64 vruntime = cfs_rq->min_vruntime; place_entity() local 3042 vruntime += sched_vslice(cfs_rq, se); place_entity() 3055 vruntime -= thresh; place_entity() 3059 se->vruntime = max_vruntime(se->vruntime, vruntime); place_entity() 3068 * Update the normalized vruntime before updating min_vruntime enqueue_entity() 3072 se->vruntime += cfs_rq->min_vruntime; enqueue_entity() 3182 se->vruntime -= cfs_rq->min_vruntime; dequeue_entity() 3222 delta = curr->vruntime - se->vruntime; check_preempt_tick() 4423 se->vruntime -= min_vruntime; task_waking_fair() 4974 s64 gran, vdiff = curr->vruntime - se->vruntime; wakeup_preempt_entity() 5126 * entity, update_curr() will update its vruntime, otherwise pick_next_task_fair() 7863 se->vruntime = curr->vruntime; task_fork_fair() 7871 swap(curr->vruntime, se->vruntime); task_fork_fair() 7875 se->vruntime -= cfs_rq->min_vruntime; task_fork_fair() 7908 * Ensure the task's vruntime is normalized, so that when it's switched_from_fair() 7913 * have normalized the vruntime, if it's !queued, then only when switched_from_fair() 7914 * the task is sleeping will it still have non-normalized vruntime. switched_from_fair() 7918 * Fix up our vruntime so that the current sleep doesn't switched_from_fair() 7922 se->vruntime -= cfs_rq->min_vruntime; switched_from_fair() 8004 * it must have been asleep, sleeping tasks keep their ->vruntime task_move_group_fair() 8009 * ->vruntime to a relative base. task_move_group_fair() 8016 * When !queued, vruntime of the task has usually NOT been normalized. task_move_group_fair() 8025 * min_vruntime between the two cfs_rqs, we skip vruntime adjustment. task_move_group_fair() 8031 se->vruntime -= cfs_rq_of(se)->min_vruntime; task_move_group_fair() 8036 se->vruntime += cfs_rq->min_vruntime; task_move_group_fair()
|
H A D | core.c | 440 * doesn't make sense. Rely on vruntime for fairness. hrtick_start() 1805 p->se.vruntime = 0; __sched_fork() 2526 * This makes sure that uptime, CFS vruntime, load
|
/linux-4.1.27/tools/perf/scripts/python/ |
H A D | sched-migration.py | 372 common_callchain, comm, pid, runtime, vruntime):
|
/linux-4.1.27/tools/perf/ |
H A D | builtin-trace.c | 1869 fprintf(trace->output, "%s: comm=%s,pid=%u,runtime=%" PRIu64 ",vruntime=%" PRIu64 ")\n", trace__sched_stat_runtime() 1874 perf_evsel__intval(evsel, sample, "vruntime")); trace__sched_stat_runtime()
|
/linux-4.1.27/include/linux/ |
H A D | sched.h | 1188 u64 vruntime; member in struct:sched_entity
|
Completed in 313 milliseconds