Home
last modified time | relevance | path

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

/kernel/sched/
Dcputime.c213 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 …]
Dstats.h240 atomic64_add(cputime, &cputimer->cputime_atomic.stime); in account_group_system_time()
/kernel/
Dtsacct.c34 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()
Ddelayacct.c85 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()
Dacct.c533 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()
Dexit.c92 cputime_t utime, stime; in __exit_signal() local
129 task_cputime(tsk, &utime, &stime); in __exit_signal()
132 sig->stime += stime; in __exit_signal()
Dsys.c1548 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()
Dsignal.c1648 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()
Dcompat.c1048 COMPAT_SYSCALL_DEFINE1(stime, compat_time_t __user *, tptr) in COMPAT_SYSCALL_DEFINE1() argument
Dfork.c1418 p->utime = p->stime = p->gtime = 0; in copy_process()
/kernel/time/
Dposix-cpu-timers.c121 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 …]
Ditimer.c61 t = cputime.utime + cputime.stime; in get_cpu_itimer()
Dtime.c83 SYSCALL_DEFINE1(stime, time_t __user *, tptr) in SYSCALL_DEFINE1() argument