/kernel/sched/ |
D | cputime.c | 213 p->stime += cputime; in __account_system_time() 312 cputime_t utime, stime; in thread_group_cputime() local 324 times->stime = sig->stime; in thread_group_cputime() 328 task_cputime(t, &utime, &stime); in thread_group_cputime() 330 times->stime += stime; in thread_group_cputime() 468 *st = p->stime; in task_cputime_adjusted() 479 *st = cputime.stime; in thread_group_cputime_adjusted() 541 static cputime_t scale_stime(u64 stime, u64 rtime, u64 total) in scale_stime() argument 547 if (stime > rtime) in scale_stime() 548 swap(rtime, stime); in scale_stime() [all …]
|
D | stats.h | 240 atomic64_add(cputime, &cputimer->cputime_atomic.stime); in account_group_system_time()
|
/kernel/ |
D | tsacct.c | 34 cputime_t utime, stime, utimescaled, stimescaled; in bacct_add_tsk() local 69 task_cputime(tsk, &utime, &stime); in bacct_add_tsk() 71 stats->ac_stime = cputime_to_usecs(stime); in bacct_add_tsk() 124 cputime_t utime, cputime_t stime) in __acct_update_integrals() argument 133 time = stime + utime; in __acct_update_integrals() 155 cputime_t utime, stime; in acct_update_integrals() local 157 task_cputime(tsk, &utime, &stime); in acct_update_integrals() 158 __acct_update_integrals(tsk, utime, stime); in acct_update_integrals() 167 __acct_update_integrals(tsk, tsk->utime, tsk->stime); in acct_account_cputime()
|
D | delayacct.c | 85 cputime_t utime, stime, stimescaled, utimescaled; in __delayacct_add_tsk() local 90 task_cputime(tsk, &utime, &stime); in __delayacct_add_tsk() 92 tmp += cputime_to_nsecs(utime + stime); in __delayacct_add_tsk()
|
D | acct.c | 533 cputime_t utime, stime; in acct_collect() local 562 task_cputime(current, &utime, &stime); in acct_collect() 564 pacct->ac_stime += stime; in acct_collect()
|
D | exit.c | 92 cputime_t utime, stime; in __exit_signal() local 129 task_cputime(tsk, &utime, &stime); in __exit_signal() 132 sig->stime += stime; in __exit_signal()
|
D | sys.c | 1548 cputime_t tgutime, tgstime, utime, stime; in k_getrusage() local 1552 utime = stime = 0; in k_getrusage() 1555 task_cputime_adjusted(current, &utime, &stime); in k_getrusage() 1568 stime = p->signal->cstime; in k_getrusage() 1583 stime += tgstime; in k_getrusage() 1605 cputime_to_timeval(stime, &r->ru_stime); in k_getrusage()
|
D | signal.c | 1648 cputime_t utime, stime; in do_notify_parent() local 1686 task_cputime(tsk, &utime, &stime); in do_notify_parent() 1688 info.si_stime = cputime_to_clock_t(stime + tsk->signal->stime); in do_notify_parent() 1752 cputime_t utime, stime; in do_notify_parent_cldstop() local 1771 task_cputime(tsk, &utime, &stime); in do_notify_parent_cldstop() 1773 info.si_stime = cputime_to_clock_t(stime); in do_notify_parent_cldstop()
|
D | compat.c | 1048 COMPAT_SYSCALL_DEFINE1(stime, compat_time_t __user *, tptr) in COMPAT_SYSCALL_DEFINE1() argument
|
D | fork.c | 1418 p->utime = p->stime = p->gtime = 0; in copy_process()
|
/kernel/time/ |
D | posix-cpu-timers.c | 121 if (!cputime->utime && !cputime->stime && !cputime->sum_exec_runtime) in task_cputime_zero() 128 cputime_t utime, stime; in prof_ticks() local 130 task_cputime(p, &utime, &stime); in prof_ticks() 132 return cputime_to_expires(utime + stime); in prof_ticks() 217 __update_gt_cputime(&cputime_atomic->stime, sum->stime); in update_gt_cputime() 226 times->stime = atomic64_read(&atomic_times->stime); in sample_cputime_atomic() 273 *sample = cputime_to_expires(cputime.utime + cputime.stime); in cpu_clock_sample_group() 573 *sample = cputime_to_expires(cputime.utime + cputime.stime); in cpu_timer_sample_group() 990 ptime = utime + cputime_to_expires(cputime.stime); in check_process_timers() 1122 if (expires->stime && sample->utime + sample->stime >= expires->stime) in task_cputime_expired() [all …]
|
D | itimer.c | 61 t = cputime.utime + cputime.stime; in get_cpu_itimer()
|
D | time.c | 83 SYSCALL_DEFINE1(stime, time_t __user *, tptr) in SYSCALL_DEFINE1() argument
|