Home
last modified time | relevance | path

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

/kernel/sched/
Dcputime.c135 p->utime += cputime; in account_user_time()
160 p->utime += cputime; in account_guest_time()
330 u64 utime, stime; in thread_group_cputime() local
352 times->utime = sig->utime; in thread_group_cputime()
357 task_cputime(t, &utime, &stime); in thread_group_cputime()
358 times->utime += utime; in thread_group_cputime()
475 *ut = curr->utime; in cputime_adjust()
481 *ut = p->utime; in task_cputime_adjusted()
492 *ut = cputime.utime; in thread_group_cputime_adjusted()
583 u64 rtime, stime, utime; in cputime_adjust() local
[all …]
Dcpuacct.c272 cputime.utime += cpustat[CPUTIME_USER]; in cpuacct_stats_show()
273 cputime.utime += cpustat[CPUTIME_NICE]; in cpuacct_stats_show()
/kernel/
Dtsacct.c25 u64 utime, stime, utimescaled, stimescaled; in bacct_add_tsk() local
68 task_cputime(tsk, &utime, &stime); in bacct_add_tsk()
69 stats->ac_utime = div_u64(utime, NSEC_PER_USEC); in bacct_add_tsk()
125 u64 utime, u64 stime) in __acct_update_integrals() argument
132 time = stime + utime; in __acct_update_integrals()
154 u64 utime, stime; in acct_update_integrals() local
158 task_cputime(tsk, &utime, &stime); in acct_update_integrals()
159 __acct_update_integrals(tsk, utime, stime); in acct_update_integrals()
169 __acct_update_integrals(tsk, tsk->utime, tsk->stime); in acct_account_cputime()
Ddelayacct.c131 u64 utime, stime, stimescaled, utimescaled; in delayacct_add_tsk() local
136 task_cputime(tsk, &utime, &stime); in delayacct_add_tsk()
138 tmp += utime + stime; in delayacct_add_tsk()
Dacct.c556 u64 utime, stime; in acct_collect() local
585 task_cputime(current, &utime, &stime); in acct_collect()
586 pacct->ac_utime += utime; in acct_collect()
Dtaskstats.c218 u64 delta, utime, stime; in fill_stats_for_tgid() local
255 task_cputime(tsk, &utime, &stime); in fill_stats_for_tgid()
256 stats->ac_utime += div_u64(utime, NSEC_PER_USEC); in fill_stats_for_tgid()
Dexit.c151 u64 utime, stime; in __exit_signal() local
187 task_cputime(tsk, &utime, &stime); in __exit_signal()
189 sig->utime += utime; in __exit_signal()
Dsys.c1789 u64 tgutime, tgstime, utime, stime; in getrusage() local
1793 utime = stime = 0; in getrusage()
1796 task_cputime_adjusted(current, &utime, &stime); in getrusage()
1808 utime = p->signal->cutime; in getrusage()
1824 utime += tgutime; in getrusage()
1846 r->ru_utime = ns_to_kernel_old_timeval(utime); in getrusage()
Dsignal.c2081 u64 utime, stime; in do_notify_parent() local
2123 task_cputime(tsk, &utime, &stime); in do_notify_parent()
2124 info.si_utime = nsec_to_clock_t(utime + tsk->signal->utime); in do_notify_parent()
2193 u64 utime, stime; in do_notify_parent_cldstop() local
2213 task_cputime(tsk, &utime, &stime); in do_notify_parent_cldstop()
2214 info.si_utime = nsec_to_clock_t(utime); in do_notify_parent_cldstop()
Dfork.c2428 p->utime = p->stime = p->gtime = 0; in copy_process()
/kernel/cgroup/
Drstat.c366 dst_bstat->cputime.utime += src_bstat->cputime.utime; in cgroup_base_stat_add()
377 dst_bstat->cputime.utime -= src_bstat->cputime.utime; in cgroup_base_stat_sub()
464 rstatc->bstat.cputime.utime += delta_exec; in __cgroup_account_cputime_field()
505 cputime->utime += user; in root_cgroup_cputime()
525 u64 usage, utime, stime; in cgroup_base_stat_cputime_show() local
535 &utime, &stime); in cgroup_base_stat_cputime_show()
543 utime = bstat.cputime.utime; in cgroup_base_stat_cputime_show()
551 do_div(utime, NSEC_PER_USEC); in cgroup_base_stat_cputime_show()
560 usage, utime, stime); in cgroup_base_stat_cputime_show()
/kernel/futex/
Dsyscalls.c167 const struct __kernel_timespec __user *, utime, in SYSCALL_DEFINE6() argument
174 if (utime && futex_cmd_has_timeout(cmd)) { in SYSCALL_DEFINE6()
177 if (get_timespec64(&ts, utime)) in SYSCALL_DEFINE6()
185 return do_futex(uaddr, op, val, tp, uaddr2, (unsigned long)utime, val3); in SYSCALL_DEFINE6()
362 const struct old_timespec32 __user *, utime, u32 __user *, uaddr2, in SYSCALL_DEFINE6() argument
369 if (utime && futex_cmd_has_timeout(cmd)) { in SYSCALL_DEFINE6()
370 if (get_old_timespec32(&ts, utime)) in SYSCALL_DEFINE6()
378 return do_futex(uaddr, op, val, tp, uaddr2, (unsigned long)utime, val3); in SYSCALL_DEFINE6()
/kernel/time/
Dposix-cpu-timers.c196 u64 utime, stime; in cpu_clock_sample() local
201 task_cputime(p, &utime, &stime); in cpu_clock_sample()
205 return utime + stime; in cpu_clock_sample()
207 return utime; in cpu_clock_sample()
214 static inline void store_samples(u64 *samples, u64 stime, u64 utime, u64 rtime) in store_samples() argument
216 samples[CPUCLOCK_PROF] = stime + utime; in store_samples()
217 samples[CPUCLOCK_VIRT] = utime; in store_samples()
223 u64 stime, utime; in task_sample_cputime() local
225 task_cputime(p, &utime, &stime); in task_sample_cputime()
226 store_samples(samples, stime, utime, p->se.sum_exec_runtime); in task_sample_cputime()
[all …]