Home
last modified time | relevance | path

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

/linux-6.6.21/tools/testing/selftests/kvm/
Dsteal_time.c251 long run_delay; in main() local
285 run_delay = get_run_delay(); in main()
286 TEST_ASSERT(stolen_time <= run_delay, in main()
288 run_delay, stolen_time); in main()
291 run_delay = get_run_delay(); in main()
295 while (get_run_delay() - run_delay < MIN_RUN_DELAY_NS); in main()
297 run_delay = get_run_delay() - run_delay; in main()
298 TEST_ASSERT(run_delay >= MIN_RUN_DELAY_NS, in main()
300 MIN_RUN_DELAY_NS, run_delay); in main()
306 TEST_ASSERT(stolen_time >= run_delay, in main()
[all …]
/linux-6.6.21/kernel/sched/
Dstats.h16 rq->rq_sched_info.run_delay += delta; in rq_sched_info_arrive()
35 rq->rq_sched_info.run_delay += delta; in rq_sched_info_dequeue()
214 t->sched_info.run_delay += delta; in sched_info_dequeue()
234 t->sched_info.run_delay += delta; in sched_info_arrive()
Dstats.c141 rq->rq_sched_info.run_delay, rq->rq_sched_info.pcount); in show_schedstat()
/linux-6.6.21/arch/arm64/kvm/
Dpvtime.c28 vcpu->arch.steal.last_steal = READ_ONCE(current->sched_info.run_delay); in kvm_update_stolen_time()
64 vcpu->arch.steal.last_steal = current->sched_info.run_delay; in kvm_init_stolen_time()
/linux-6.6.21/kernel/
Ddelayacct.c152 t2 = tsk->sched_info.run_delay; in delayacct_add_tsk()
/linux-6.6.21/arch/x86/kvm/
Dxen.c448 u64 run_delay = current->sched_info.run_delay; in kvm_xen_update_runstate() local
458 u64 steal_ns = run_delay - vx->last_steal; in kvm_xen_update_runstate()
464 vx->last_steal = run_delay; in kvm_xen_update_runstate()
851 vcpu->arch.xen.last_steal = current->sched_info.run_delay; in kvm_xen_vcpu_set_attr()
Dx86.c3603 steal += current->sched_info.run_delay - in record_steal_time()
3605 vcpu->arch.st.last_steal = current->sched_info.run_delay; in record_steal_time()
/linux-6.6.21/include/linux/
Dsched.h381 unsigned long long run_delay; member
/linux-6.6.21/fs/proc/
Dbase.c484 (unsigned long long)task->sched_info.run_delay, in proc_pid_schedstat()