/kernel/sched/ |
D | cputime.c | 199 p->stime += cputime; in __account_system_time() 294 cputime_t utime, stime; in thread_group_cputime() local 298 times->stime = sig->stime; in thread_group_cputime() 308 task_cputime(t, &utime, &stime); in thread_group_cputime() 310 times->stime += stime; in thread_group_cputime() 451 *st = p->stime; in task_cputime_adjusted() 461 *st = cputime.stime; in thread_group_cputime_adjusted() 523 static cputime_t scale_stime(u64 stime, u64 rtime, u64 total) in scale_stime() argument 529 if (stime > rtime) { in scale_stime() 530 u64 tmp = rtime; rtime = stime; stime = tmp; in scale_stime() [all …]
|
D | stats.h | 206 cputimer->cputime.stime += cputime; in account_group_system_time()
|
/kernel/ |
D | tsacct.c | 35 cputime_t utime, stime, utimescaled, stimescaled; in bacct_add_tsk() local 70 task_cputime(tsk, &utime, &stime); in bacct_add_tsk() 72 stats->ac_stime = cputime_to_usecs(stime); in bacct_add_tsk() 125 cputime_t utime, cputime_t stime) in __acct_update_integrals() argument 134 time = stime + utime; in __acct_update_integrals() 156 cputime_t 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() 168 __acct_update_integrals(tsk, tsk->utime, tsk->stime); in acct_account_cputime()
|
D | posix-cpu-timers.c | 168 if (!cputime->utime && !cputime->stime && !cputime->sum_exec_runtime) in task_cputime_zero() 175 cputime_t utime, stime; in prof_ticks() local 177 task_cputime(p, &utime, &stime); in prof_ticks() 179 return utime + stime; in prof_ticks() 251 if (b->stime > a->stime) in update_gt_cputime() 252 a->stime = b->stime; in update_gt_cputime() 296 cpu->cpu = cputime.utime + cputime.stime; in cpu_clock_sample_group() 456 cputime_t utime, cputime_t stime, in cleanup_timers() argument 460 cputime_t ptime = utime + stime; in cleanup_timers() 499 cputime_t utime, stime; in posix_cpu_timers_exit() local [all …]
|
D | delayacct.c | 109 cputime_t utime, stime, stimescaled, utimescaled; in __delayacct_add_tsk() local 118 task_cputime(tsk, &utime, &stime); in __delayacct_add_tsk() 119 cputime_to_timespec(utime + stime, &ts); in __delayacct_add_tsk()
|
D | cpu.c | 267 cputime_t utime, stime; in check_for_tasks() local 271 task_cputime(p, &utime, &stime); in check_for_tasks() 273 (utime || stime)) in check_for_tasks()
|
D | acct.c | 576 cputime_t utime, stime; in acct_collect() local 604 task_cputime(current, &utime, &stime); in acct_collect() 606 pacct->ac_stime += stime; in acct_collect()
|
D | exit.c | 89 cputime_t utime, stime; in __exit_signal() local 128 task_cputime(tsk, &utime, &stime); in __exit_signal() 130 sig->stime += stime; in __exit_signal()
|
D | sys.c | 1802 cputime_t tgutime, tgstime, utime, stime; in k_getrusage() local 1806 utime = stime = 0; in k_getrusage() 1809 task_cputime_adjusted(current, &utime, &stime); in k_getrusage() 1822 stime = p->signal->cstime; in k_getrusage() 1837 stime += tgstime; in k_getrusage() 1860 cputime_to_timeval(stime, &r->ru_stime); in k_getrusage()
|
D | signal.c | 1640 cputime_t utime, stime; in do_notify_parent() local 1678 task_cputime(tsk, &utime, &stime); in do_notify_parent() 1680 info.si_stime = cputime_to_clock_t(stime + tsk->signal->stime); in do_notify_parent() 1744 cputime_t utime, stime; in do_notify_parent_cldstop() local 1763 task_cputime(tsk, &utime, &stime); in do_notify_parent_cldstop() 1765 info.si_stime = cputime_to_clock_t(stime); in do_notify_parent_cldstop()
|
D | itimer.c | 61 t = cputime.utime + cputime.stime; in get_cpu_itimer()
|
D | time.c | 81 SYSCALL_DEFINE1(stime, time_t __user *, tptr) in SYSCALL_DEFINE1() argument
|
D | fork.c | 1297 p->utime = p->stime = p->gtime = 0; in copy_process() 1301 p->prev_cputime.utime = p->prev_cputime.stime = 0; in copy_process()
|