Home
last modified time | relevance | path

Searched refs:cputime_to_nsecs (Results 1 – 6 of 6) sorted by relevance

/Linux-v5.10/arch/s390/kernel/
Dvtime.c117 p->stimescaled += cputime_to_nsecs(scale_vtime(cputime)); in account_system_index_scaled()
118 account_system_index_time(p, cputime_to_nsecs(cputime), index); in account_system_index_scaled()
169 account_user_time(tsk, cputime_to_nsecs(user)); in do_account_vtime()
170 tsk->utimescaled += cputime_to_nsecs(scale_vtime(user)); in do_account_vtime()
174 account_guest_time(tsk, cputime_to_nsecs(guest)); in do_account_vtime()
175 tsk->utimescaled += cputime_to_nsecs(scale_vtime(guest)); in do_account_vtime()
Didle.c47 account_idle_time(cputime_to_nsecs(idle_time)); in enabled_wait()
116 return cputime_to_nsecs(in_idle); in arch_cpu_idle_time()
/Linux-v5.10/arch/powerpc/kernel/
Dtime.c378 tsk->utimescaled += cputime_to_nsecs(acct->utime_scaled); in vtime_flush_scaled()
380 tsk->stimescaled += cputime_to_nsecs(acct->stime_scaled); in vtime_flush_scaled()
400 account_user_time(tsk, cputime_to_nsecs(acct->utime)); in vtime_flush()
403 account_guest_time(tsk, cputime_to_nsecs(acct->gtime)); in vtime_flush()
406 account_steal_time(cputime_to_nsecs(acct->steal_time)); in vtime_flush()
411 account_idle_time(cputime_to_nsecs(acct->idle_time)); in vtime_flush()
414 account_system_index_time(tsk, cputime_to_nsecs(acct->stime), in vtime_flush()
418 account_system_index_time(tsk, cputime_to_nsecs(acct->hardirq_time), in vtime_flush()
421 account_system_index_time(tsk, cputime_to_nsecs(acct->softirq_time), in vtime_flush()
/Linux-v5.10/include/linux/sched/
Dcputime.h14 #ifndef cputime_to_nsecs
15 # define cputime_to_nsecs(__ct) \ macro
/Linux-v5.10/arch/s390/include/asm/
Dcputime.h32 #define cputime_to_nsecs(cputime) tod_to_ns(cputime) macro
/Linux-v5.10/arch/powerpc/include/asm/
Dcputime.h39 #define cputime_to_nsecs(cputime) tb_to_ns((__force u64)cputime) macro