Home
last modified time | relevance | path

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

/kernel/sched/
Dcputime.c123 p->utime += cputime; in account_user_time()
148 p->utime += cputime; in account_guest_time()
303 u64 utime, stime; in thread_group_cputime() local
325 times->utime = sig->utime; in thread_group_cputime()
330 task_cputime(t, &utime, &stime); in thread_group_cputime()
331 times->utime += utime; in thread_group_cputime()
454 *ut = curr->utime; in cputime_adjust()
460 *ut = p->utime; in task_cputime_adjusted()
471 *ut = cputime.utime; in thread_group_cputime_adjusted()
601 u64 rtime, stime, utime; in cputime_adjust() local
[all …]
/kernel/
Dtsacct.c25 u64 utime, stime, utimescaled, stimescaled; in bacct_add_tsk() local
60 task_cputime(tsk, &utime, &stime); in bacct_add_tsk()
61 stats->ac_utime = div_u64(utime, NSEC_PER_USEC); in bacct_add_tsk()
117 u64 utime, u64 stime) in __acct_update_integrals() argument
124 time = stime + utime; in __acct_update_integrals()
146 u64 utime, stime; in acct_update_integrals() local
150 task_cputime(tsk, &utime, &stime); in acct_update_integrals()
151 __acct_update_integrals(tsk, utime, stime); in acct_update_integrals()
161 __acct_update_integrals(tsk, tsk->utime, tsk->stime); in acct_account_cputime()
Ddelayacct.c87 u64 utime, stime, stimescaled, utimescaled; in __delayacct_add_tsk() local
92 task_cputime(tsk, &utime, &stime); in __delayacct_add_tsk()
94 tmp += utime + stime; in __delayacct_add_tsk()
Dacct.c536 u64 utime, stime; in acct_collect() local
566 task_cputime(current, &utime, &stime); in acct_collect()
567 pacct->ac_utime += utime; in acct_collect()
Dtaskstats.c200 u64 delta, utime, stime; in fill_stats_for_tgid() local
237 task_cputime(tsk, &utime, &stime); in fill_stats_for_tgid()
238 stats->ac_utime += div_u64(utime, NSEC_PER_USEC); in fill_stats_for_tgid()
Dfutex.c3911 struct __kernel_timespec __user *, utime, u32 __user *, uaddr2, in SYSCALL_DEFINE6() argument
3919 if (utime && (cmd == FUTEX_WAIT || cmd == FUTEX_LOCK_PI || in SYSCALL_DEFINE6()
3924 if (get_timespec64(&ts, utime)) in SYSCALL_DEFINE6()
3940 val2 = (u32) (unsigned long) utime; in SYSCALL_DEFINE6()
4105 struct old_timespec32 __user *, utime, u32 __user *, uaddr2, in SYSCALL_DEFINE6() argument
4113 if (utime && (cmd == FUTEX_WAIT || cmd == FUTEX_LOCK_PI || in SYSCALL_DEFINE6()
4116 if (get_old_timespec32(&ts, utime)) in SYSCALL_DEFINE6()
4128 val2 = (int) (unsigned long) utime; in SYSCALL_DEFINE6()
Dexit.c98 u64 utime, stime; in __exit_signal() local
143 task_cputime(tsk, &utime, &stime); in __exit_signal()
145 sig->utime += utime; in __exit_signal()
Dsys.c1711 u64 tgutime, tgstime, utime, stime; in getrusage() local
1715 utime = stime = 0; in getrusage()
1718 task_cputime_adjusted(current, &utime, &stime); in getrusage()
1730 utime = p->signal->cutime; in getrusage()
1746 utime += tgutime; in getrusage()
1768 r->ru_utime = ns_to_timeval(utime); in getrusage()
Dsignal.c1911 u64 utime, stime; in do_notify_parent() local
1953 task_cputime(tsk, &utime, &stime); in do_notify_parent()
1954 info.si_utime = nsec_to_clock_t(utime + tsk->signal->utime); in do_notify_parent()
2019 u64 utime, stime; in do_notify_parent_cldstop() local
2039 task_cputime(tsk, &utime, &stime); in do_notify_parent_cldstop()
2040 info.si_utime = nsec_to_clock_t(utime); in do_notify_parent_cldstop()
Dfork.c1917 p->utime = p->stime = p->gtime = 0; in copy_process()
/kernel/cgroup/
Drstat.c310 dst_bstat->cputime.utime += src_bstat->cputime.utime; in cgroup_base_stat_accumulate()
331 delta.cputime.utime = cputime.utime - last_cputime->utime; in cgroup_base_stat_flush()
384 rstatc->bstat.cputime.utime += delta_exec; in __cgroup_account_cputime_field()
401 u64 usage, utime, stime; in cgroup_base_stat_cputime_show() local
408 cputime_adjust(&cgrp->bstat.cputime, &cgrp->prev_cputime, &utime, &stime); in cgroup_base_stat_cputime_show()
412 do_div(utime, NSEC_PER_USEC); in cgroup_base_stat_cputime_show()
418 usage, utime, stime); in cgroup_base_stat_cputime_show()
/kernel/time/
Dposix-cpu-timers.c199 u64 utime, stime; in cpu_clock_sample() local
204 task_cputime(p, &utime, &stime); in cpu_clock_sample()
208 return utime + stime; in cpu_clock_sample()
210 return utime; in cpu_clock_sample()
217 static inline void store_samples(u64 *samples, u64 stime, u64 utime, u64 rtime) in store_samples() argument
219 samples[CPUCLOCK_PROF] = stime + utime; in store_samples()
220 samples[CPUCLOCK_VIRT] = utime; in store_samples()
226 u64 stime, utime; in task_sample_cputime() local
228 task_cputime(p, &utime, &stime); in task_sample_cputime()
229 store_samples(samples, stime, utime, p->se.sum_exec_runtime); in task_sample_cputime()
[all …]