Home
last modified time | relevance | path

Searched refs:utime (Results 1 – 14 of 14) sorted by relevance

/kernel/
Dposix-cpu-timers.c172 return cputime_add(p->utime, p->stime); in prof_ticks()
176 return p->utime; in virt_ticks()
250 times->utime = cputime_add(times->utime, t->utime); in thread_group_cputime()
257 times->utime = cputime_add(times->utime, sig->utime); in thread_group_cputime()
266 if (cputime_gt(b->utime, a->utime)) in update_gt_cputime()
267 a->utime = b->utime; in update_gt_cputime()
313 cpu->cpu = cputime_add(cputime.utime, cputime.stime); in cpu_clock_sample_group()
317 cpu->cpu = cputime.utime; in cpu_clock_sample_group()
473 cputime_t utime, cputime_t stime, in cleanup_timers() argument
477 cputime_t ptime = cputime_add(utime, stime); in cleanup_timers()
[all …]
Ditimer.c63 cputime_t utime; in do_getitimer() local
66 utime = cputime.utime; in do_getitimer()
67 if (cputime_le(cval, utime)) { /* about to fire */ in do_getitimer()
70 cval = cputime_sub(cval, utime); in do_getitimer()
86 ptime = cputime_add(times.utime, times.stime); in do_getitimer()
Dfutex_compat.c174 struct compat_timespec __user *utime, u32 __user *uaddr2, in compat_sys_futex() argument
182 if (utime && (cmd == FUTEX_WAIT || cmd == FUTEX_LOCK_PI || in compat_sys_futex()
184 if (get_compat_timespec(&ts, utime)) in compat_sys_futex()
195 val2 = (int) (unsigned long) utime; in compat_sys_futex()
Dtsacct.c65 stats->ac_utime = cputime_to_msecs(tsk->utime) * USEC_PER_MSEC; in bacct_add_tsk()
129 time = tsk->stime + tsk->utime; in acct_update_integrals()
Dsys.c926 tms->tms_utime = cputime_to_clock_t(cputime.utime); in do_sys_times()
1628 cputime_t utime, stime; in k_getrusage() local
1632 utime = stime = cputime_zero; in k_getrusage()
1635 utime = task_utime(current); in k_getrusage()
1647 utime = p->signal->cutime; in k_getrusage()
1661 utime = cputime_add(utime, cputime.utime); in k_getrusage()
1682 cputime_to_timeval(utime, &r->ru_utime); in k_getrusage()
Dsched_stats.h311 cputimer->cputime.utime = in account_group_user_time()
312 cputime_add(cputimer->cputime.utime, cputime); in account_group_user_time()
Ddelayacct.c114 cputime_to_timespec(tsk->utime + tsk->stime, &ts); in __delayacct_add_tsk()
Dfutex.c2016 struct timespec __user *, utime, u32 __user *, uaddr2, in SYSCALL_DEFINE6() argument
2024 if (utime && (cmd == FUTEX_WAIT || cmd == FUTEX_LOCK_PI || in SYSCALL_DEFINE6()
2026 if (copy_from_user(&ts, utime, sizeof(ts)) != 0) in SYSCALL_DEFINE6()
2042 val2 = (u32) (unsigned long) utime; in SYSCALL_DEFINE6()
Dexit.c126 sig->utime = cputime_add(sig->utime, task_utime(tsk)); in __exit_signal()
1347 cputime_add(cputime.utime, in wait_task_zombie()
Dcpu.c158 (!cputime_eq(p->utime, cputime_zero) || in check_for_tasks()
Dsched.c4233 p->utime = cputime_add(p->utime, cputime); in account_user_time()
4262 p->utime = cputime_add(p->utime, cputime); in account_guest_time()
4385 return p->utime; in task_utime()
4395 clock_t utime = cputime_to_clock_t(p->utime), in task_utime() local
4396 total = utime + cputime_to_clock_t(p->stime); in task_utime()
4405 temp *= utime; in task_utime()
4408 utime = (clock_t)temp; in task_utime()
4410 p->prev_utime = max(p->prev_utime, clock_t_to_cputime(utime)); in task_utime()
Dacct.c626 pacct->ac_utime = cputime_add(pacct->ac_utime, current->utime); in acct_collect()
Dsignal.c1399 info.si_utime = cputime_to_clock_t(cputime_add(tsk->utime, in do_notify_parent()
1400 tsk->signal->utime)); in do_notify_parent()
1470 info.si_utime = cputime_to_clock_t(tsk->utime); in do_notify_parent_cldstop()
Dfork.c854 sig->utime = sig->stime = sig->cutime = sig->cstime = cputime_zero; in copy_signal()
1034 p->utime = cputime_zero; in copy_process()