/kernel/sched/ |
D | cputime.c | 215 p->stime += cputime; in __account_system_time() 316 cputime_t utime, stime; in thread_group_cputime() local 328 times->stime = sig->stime; in thread_group_cputime() 332 task_cputime(t, &utime, &stime); in thread_group_cputime() 334 times->stime += stime; in thread_group_cputime() 472 *st = p->stime; in task_cputime_adjusted() 482 *st = cputime.stime; in thread_group_cputime_adjusted() 544 static cputime_t scale_stime(u64 stime, u64 rtime, u64 total) in scale_stime() argument 550 if (stime > rtime) in scale_stime() 551 swap(rtime, stime); in scale_stime() [all …]
|
D | stats.h | 242 cputimer->cputime.stime += cputime; 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 | 535 cputime_t utime, stime; in acct_collect() local 564 task_cputime(current, &utime, &stime); in acct_collect() 566 pacct->ac_stime += stime; in acct_collect()
|
D | exit.c | 92 cputime_t utime, stime; in __exit_signal() local 132 task_cputime(tsk, &utime, &stime); in __exit_signal() 135 sig->stime += stime; in __exit_signal()
|
D | sys.c | 1540 cputime_t tgutime, tgstime, utime, stime; in k_getrusage() local 1544 utime = stime = 0; in k_getrusage() 1547 task_cputime_adjusted(current, &utime, &stime); in k_getrusage() 1560 stime = p->signal->cstime; in k_getrusage() 1575 stime += tgstime; in k_getrusage() 1597 cputime_to_timeval(stime, &r->ru_stime); in k_getrusage()
|
D | signal.c | 1631 cputime_t utime, stime; in do_notify_parent() local 1669 task_cputime(tsk, &utime, &stime); in do_notify_parent() 1671 info.si_stime = cputime_to_clock_t(stime + tsk->signal->stime); in do_notify_parent() 1735 cputime_t utime, stime; in do_notify_parent_cldstop() local 1754 task_cputime(tsk, &utime, &stime); in do_notify_parent_cldstop() 1756 info.si_stime = cputime_to_clock_t(stime); in do_notify_parent_cldstop()
|
D | fork.c | 1327 p->utime = p->stime = p->gtime = 0; in copy_process() 1331 p->prev_cputime.utime = p->prev_cputime.stime = 0; in copy_process()
|
D | compat.c | 1046 COMPAT_SYSCALL_DEFINE1(stime, compat_time_t __user *, tptr) in COMPAT_SYSCALL_DEFINE1() argument
|
/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() 204 if (b->stime > a->stime) in update_gt_cputime() 205 a->stime = b->stime; in update_gt_cputime() 250 *sample = cputime_to_expires(cputime.utime + cputime.stime); in cpu_clock_sample_group() 550 *sample = cputime_to_expires(cputime.utime + cputime.stime); in cpu_timer_sample_group() 948 ptime = utime + cputime_to_expires(cputime.stime); in check_process_timers() 1078 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 | 82 SYSCALL_DEFINE1(stime, time_t __user *, tptr) in SYSCALL_DEFINE1() argument
|