/kernel/sched/ |
D | cputime.c | 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 [all …]
|
D | cpuacct.c | 272 cputime.utime += cpustat[CPUTIME_USER]; in cpuacct_stats_show() 273 cputime.utime += cpustat[CPUTIME_NICE]; in cpuacct_stats_show()
|
/kernel/ |
D | tsacct.c | 25 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()
|
D | delayacct.c | 133 u64 utime, stime, stimescaled, utimescaled; in delayacct_add_tsk() local 138 task_cputime(tsk, &utime, &stime); in delayacct_add_tsk() 140 tmp += utime + stime; in delayacct_add_tsk()
|
D | acct.c | 556 u64 utime, stime; in acct_collect() local 585 task_cputime(current, &utime, &stime); in acct_collect() 586 pacct->ac_utime += utime; in acct_collect()
|
D | taskstats.c | 218 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()
|
D | exit.c | 150 u64 utime, stime; in __exit_signal() local 186 task_cputime(tsk, &utime, &stime); in __exit_signal() 188 sig->utime += utime; in __exit_signal()
|
D | sys.c | 1782 u64 tgutime, tgstime, utime, stime; in getrusage() local 1786 utime = stime = 0; in getrusage() 1789 task_cputime_adjusted(current, &utime, &stime); in getrusage() 1801 utime = p->signal->cutime; in getrusage() 1817 utime += tgutime; in getrusage() 1839 r->ru_utime = ns_to_kernel_old_timeval(utime); in getrusage()
|
D | signal.c | 2053 u64 utime, stime; in do_notify_parent() local 2095 task_cputime(tsk, &utime, &stime); in do_notify_parent() 2096 info.si_utime = nsec_to_clock_t(utime + tsk->signal->utime); in do_notify_parent() 2165 u64 utime, stime; in do_notify_parent_cldstop() local 2185 task_cputime(tsk, &utime, &stime); in do_notify_parent_cldstop() 2186 info.si_utime = nsec_to_clock_t(utime); in do_notify_parent_cldstop()
|
D | fork.c | 2262 p->utime = p->stime = p->gtime = 0; in copy_process()
|
/kernel/cgroup/ |
D | rstat.c | 340 dst_bstat->cputime.utime += src_bstat->cputime.utime; in cgroup_base_stat_add() 351 dst_bstat->cputime.utime -= src_bstat->cputime.utime; in cgroup_base_stat_sub() 430 rstatc->bstat.cputime.utime += delta_exec; in __cgroup_account_cputime_field() 471 cputime->utime += user; in root_cgroup_cputime() 491 u64 usage, utime, stime; in cgroup_base_stat_cputime_show() local 501 &utime, &stime); in cgroup_base_stat_cputime_show() 509 utime = bstat.cputime.utime; in cgroup_base_stat_cputime_show() 517 do_div(utime, NSEC_PER_USEC); in cgroup_base_stat_cputime_show() 526 usage, utime, stime); in cgroup_base_stat_cputime_show()
|
/kernel/futex/ |
D | syscalls.c | 167 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/ |
D | posix-cpu-timers.c | 196 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 …]
|