/kernel/sched/ |
D | cputime.c | 172 p->stime += cputime; in account_system_index_time() 303 u64 utime, stime; in thread_group_cputime() local 326 times->stime = sig->stime; in thread_group_cputime() 330 task_cputime(t, &utime, &stime); in thread_group_cputime() 332 times->stime += stime; in thread_group_cputime() 455 *st = curr->stime; in cputime_adjust() 461 *st = p->stime; in task_cputime_adjusted() 472 *st = cputime.stime; in thread_group_cputime_adjusted() 538 static u64 scale_stime(u64 stime, u64 rtime, u64 total) in scale_stime() argument 544 if (stime > rtime) in scale_stime() [all …]
|
/kernel/ |
D | tsacct.c | 25 u64 utime, stime, utimescaled, stimescaled; in bacct_add_tsk() local 60 task_cputime(tsk, &utime, &stime); in bacct_add_tsk() 62 stats->ac_stime = div_u64(stime, NSEC_PER_USEC); in bacct_add_tsk() 117 u64 utime, u64 stime) in __acct_update_integrals() argument 124 time = stime + utime; in __acct_update_integrals() 146 u64 utime, stime; in acct_update_integrals() local 150 task_cputime(tsk, &utime, &stime); in acct_update_integrals() 151 __acct_update_integrals(tsk, utime, stime); in acct_update_integrals() 161 __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 | 536 u64 utime, stime; in acct_collect() local 566 task_cputime(current, &utime, &stime); in acct_collect() 568 pacct->ac_stime += stime; in acct_collect()
|
D | taskstats.c | 200 u64 delta, utime, stime; in fill_stats_for_tgid() local 237 task_cputime(tsk, &utime, &stime); in fill_stats_for_tgid() 239 stats->ac_stime += div_u64(stime, NSEC_PER_USEC); in fill_stats_for_tgid()
|
D | exit.c | 98 u64 utime, stime; in __exit_signal() local 143 task_cputime(tsk, &utime, &stime); in __exit_signal() 146 sig->stime += stime; in __exit_signal()
|
D | audit.c | 1765 long stime = audit_backlog_wait_time; in audit_log_start() local 1774 if (gfpflags_allow_blocking(gfp_mask) && (stime > 0)) { in audit_log_start() 1780 stime = schedule_timeout(stime); in audit_log_start()
|
D | sys.c | 1711 u64 tgutime, tgstime, utime, stime; in getrusage() local 1715 utime = stime = 0; in getrusage() 1718 task_cputime_adjusted(current, &utime, &stime); in getrusage() 1731 stime = p->signal->cstime; in getrusage() 1747 stime += tgstime; in getrusage() 1769 r->ru_stime = ns_to_timeval(stime); in getrusage()
|
D | signal.c | 1911 u64 utime, stime; in do_notify_parent() local 1953 task_cputime(tsk, &utime, &stime); in do_notify_parent() 1955 info.si_stime = nsec_to_clock_t(stime + tsk->signal->stime); in do_notify_parent() 2019 u64 utime, stime; in do_notify_parent_cldstop() local 2039 task_cputime(tsk, &utime, &stime); in do_notify_parent_cldstop() 2041 info.si_stime = nsec_to_clock_t(stime); in do_notify_parent_cldstop()
|
D | fork.c | 1917 p->utime = p->stime = p->gtime = 0; in copy_process()
|
/kernel/cgroup/ |
D | rstat.c | 311 dst_bstat->cputime.stime += src_bstat->cputime.stime; in cgroup_base_stat_accumulate() 332 delta.cputime.stime = cputime.stime - last_cputime->stime; in cgroup_base_stat_flush() 389 rstatc->bstat.cputime.stime += delta_exec; in __cgroup_account_cputime_field() 401 u64 usage, utime, stime; in cgroup_base_stat_cputime_show() local 408 cputime_adjust(&cgrp->bstat.cputime, &cgrp->prev_cputime, &utime, &stime); in cgroup_base_stat_cputime_show() 413 do_div(stime, NSEC_PER_USEC); in cgroup_base_stat_cputime_show() 418 usage, utime, stime); in cgroup_base_stat_cputime_show()
|
/kernel/time/ |
D | posix-cpu-timers.c | 199 u64 utime, stime; in cpu_clock_sample() local 204 task_cputime(p, &utime, &stime); in cpu_clock_sample() 208 return utime + stime; in cpu_clock_sample() 217 static inline void store_samples(u64 *samples, u64 stime, u64 utime, u64 rtime) in store_samples() argument 219 samples[CPUCLOCK_PROF] = stime + utime; in store_samples() 226 u64 stime, utime; in task_sample_cputime() local 228 task_cputime(p, &utime, &stime); in task_sample_cputime() 229 store_samples(samples, stime, utime, p->se.sum_exec_runtime); in task_sample_cputime() 235 u64 stime, utime, rtime; in proc_sample_cputime_atomic() local 238 stime = atomic64_read(&at->stime); in proc_sample_cputime_atomic() [all …]
|
D | time.c | 81 SYSCALL_DEFINE1(stime, time_t __user *, tptr) in SYSCALL_DEFINE1() argument
|