Lines Matching refs:utime
131 p->utime += cputime; in account_user_time()
156 p->utime += cputime; in account_guest_time()
326 u64 utime, stime; in thread_group_cputime() local
348 times->utime = sig->utime; in thread_group_cputime()
353 task_cputime(t, &utime, &stime); in thread_group_cputime()
354 times->utime += utime; in thread_group_cputime()
471 *ut = curr->utime; in cputime_adjust()
477 *ut = p->utime; in task_cputime_adjusted()
488 *ut = cputime.utime; in thread_group_cputime_adjusted()
580 u64 rtime, stime, utime; in cputime_adjust() local
595 if (prev->stime + prev->utime >= rtime) in cputime_adjust()
599 utime = curr->utime; in cputime_adjust()
607 utime = rtime; in cputime_adjust()
611 if (utime == 0) { in cputime_adjust()
616 stime = mul_u64_u64_div_u64(stime, rtime, stime + utime); in cputime_adjust()
630 utime = rtime - stime; in cputime_adjust()
636 if (utime < prev->utime) { in cputime_adjust()
637 utime = prev->utime; in cputime_adjust()
638 stime = rtime - utime; in cputime_adjust()
642 prev->utime = utime; in cputime_adjust()
644 *ut = prev->utime; in cputime_adjust()
655 if (task_cputime(p, &cputime.utime, &cputime.stime)) in task_cputime_adjusted()
760 vtime->utime += get_vtime_delta(vtime); in vtime_user_exit()
761 if (vtime->utime >= TICK_NSEC) { in vtime_user_exit()
762 account_user_time(tsk, vtime->utime); in vtime_user_exit()
763 vtime->utime = 0; in vtime_user_exit()
871 bool task_cputime(struct task_struct *t, u64 *utime, u64 *stime) in task_cputime() argument
879 *utime = t->utime; in task_cputime()
888 *utime = t->utime; in task_cputime()
905 *utime += vtime->utime + delta; in task_cputime()
940 return vtime->utime + vtime_delta(vtime); in kcpustat_user_vtime()
1070 cpustat[CPUTIME_NICE] += vtime->utime + delta; in kcpustat_cpu_fetch_vtime()
1072 cpustat[CPUTIME_USER] += vtime->utime + delta; in kcpustat_cpu_fetch_vtime()