/kernel/sched/ |
D | cputime.c | 176 p->stime += cputime; in account_system_index_time() 307 u64 utime, stime; in thread_group_cputime() local 330 times->stime = sig->stime; in thread_group_cputime() 334 task_cputime(t, &utime, &stime); in thread_group_cputime() 336 times->stime += stime; in thread_group_cputime() 456 *st = curr->stime; in cputime_adjust() 462 *st = p->stime; in task_cputime_adjusted() 473 *st = cputime.stime; in thread_group_cputime_adjusted() 559 u64 rtime, stime, utime; in cputime_adjust() local 574 if (prev->stime + prev->utime >= rtime) in cputime_adjust() [all …]
|
/kernel/cgroup/ |
D | rstat.c | 300 dst_bstat->cputime.stime += src_bstat->cputime.stime; in cgroup_base_stat_add() 308 dst_bstat->cputime.stime -= src_bstat->cputime.stime; in cgroup_base_stat_sub() 382 rstatc->bstat.cputime.stime += delta_exec; in __cgroup_account_cputime_field() 401 cputime->stime = 0; in root_cgroup_cputime() 419 cputime->stime += sys; in root_cgroup_cputime() 430 u64 usage, utime, stime; in cgroup_base_stat_cputime_show() local 437 &utime, &stime); in cgroup_base_stat_cputime_show() 443 stime = cputime.stime; in cgroup_base_stat_cputime_show() 448 do_div(stime, NSEC_PER_USEC); in cgroup_base_stat_cputime_show() 453 usage, utime, stime); in cgroup_base_stat_cputime_show()
|
/kernel/ |
D | tsacct.c | 25 u64 utime, stime, utimescaled, stimescaled; in bacct_add_tsk() local 62 task_cputime(tsk, &utime, &stime); in bacct_add_tsk() 64 stats->ac_stime = div_u64(stime, NSEC_PER_USEC); in bacct_add_tsk() 119 u64 utime, u64 stime) in __acct_update_integrals() argument 126 time = stime + utime; in __acct_update_integrals() 148 u64 utime, stime; in acct_update_integrals() local 152 task_cputime(tsk, &utime, &stime); in acct_update_integrals() 153 __acct_update_integrals(tsk, utime, stime); in acct_update_integrals() 163 __acct_update_integrals(tsk, tsk->utime, tsk->stime); in acct_account_cputime()
|
D | delayacct.c | 87 u64 utime, stime, stimescaled, utimescaled; in __delayacct_add_tsk() local 92 task_cputime(tsk, &utime, &stime); in __delayacct_add_tsk() 94 tmp += utime + stime; in __delayacct_add_tsk()
|
D | acct.c | 540 u64 utime, stime; in acct_collect() local 570 task_cputime(current, &utime, &stime); in acct_collect() 572 pacct->ac_stime += stime; in acct_collect()
|
D | taskstats.c | 196 u64 delta, utime, stime; in fill_stats_for_tgid() local 233 task_cputime(tsk, &utime, &stime); in fill_stats_for_tgid() 235 stats->ac_stime += div_u64(stime, NSEC_PER_USEC); in fill_stats_for_tgid()
|
D | audit.c | 1886 long stime = audit_backlog_wait_time; in audit_log_start() local 1895 if (gfpflags_allow_blocking(gfp_mask) && (stime > 0)) { in audit_log_start() 1896 long rtime = stime; in audit_log_start() 1903 stime = schedule_timeout(rtime); in audit_log_start() 1904 atomic_add(rtime - stime, &audit_backlog_wait_time_actual); in audit_log_start()
|
D | exit.c | 147 u64 utime, stime; in __exit_signal() local 183 task_cputime(tsk, &utime, &stime); in __exit_signal() 186 sig->stime += stime; in __exit_signal()
|
D | sys.c | 1748 u64 tgutime, tgstime, utime, stime; in getrusage() local 1756 utime = stime = 0; in getrusage() 1760 task_cputime_adjusted(current, &utime, &stime); in getrusage() 1772 stime = sig->cstime; in getrusage() 1817 stime += tgstime; in getrusage() 1829 r->ru_stime = ns_to_kernel_old_timeval(stime); in getrusage()
|
D | signal.c | 1925 u64 utime, stime; in do_notify_parent() local 1967 task_cputime(tsk, &utime, &stime); in do_notify_parent() 1969 info.si_stime = nsec_to_clock_t(stime + tsk->signal->stime); in do_notify_parent() 2037 u64 utime, stime; in do_notify_parent_cldstop() local 2057 task_cputime(tsk, &utime, &stime); in do_notify_parent_cldstop() 2059 info.si_stime = nsec_to_clock_t(stime); in do_notify_parent_cldstop()
|
D | fork.c | 2074 p->utime = p->stime = p->gtime = 0; in copy_process()
|
/kernel/time/ |
D | posix-cpu-timers.c | 189 u64 utime, stime; in cpu_clock_sample() local 194 task_cputime(p, &utime, &stime); in cpu_clock_sample() 198 return utime + stime; in cpu_clock_sample() 207 static inline void store_samples(u64 *samples, u64 stime, u64 utime, u64 rtime) in store_samples() argument 209 samples[CPUCLOCK_PROF] = stime + utime; in store_samples() 216 u64 stime, utime; in task_sample_cputime() local 218 task_cputime(p, &utime, &stime); in task_sample_cputime() 219 store_samples(samples, stime, utime, p->se.sum_exec_runtime); in task_sample_cputime() 225 u64 stime, utime, rtime; in proc_sample_cputime_atomic() local 228 stime = atomic64_read(&at->stime); in proc_sample_cputime_atomic() [all …]
|
D | time.c | 81 SYSCALL_DEFINE1(stime, __kernel_old_time_t __user *, tptr) in SYSCALL_DEFINE1() argument
|