Home
last modified time | relevance | path

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

/kernel/sched/
Dcputime.c180 p->stime += cputime; in account_system_index_time()
326 u64 utime, stime; in thread_group_cputime() local
349 times->stime = sig->stime; in thread_group_cputime()
353 task_cputime(t, &utime, &stime); in thread_group_cputime()
355 times->stime += stime; in thread_group_cputime()
472 *st = curr->stime; in cputime_adjust()
478 *st = p->stime; in task_cputime_adjusted()
489 *st = cputime.stime; in thread_group_cputime_adjusted()
580 u64 rtime, stime, utime; in cputime_adjust() local
595 if (prev->stime + prev->utime >= rtime) in cputime_adjust()
[all …]
Dcpuacct.c274 cputime.stime += cpustat[CPUTIME_SYSTEM]; in cpuacct_stats_show()
275 cputime.stime += cpustat[CPUTIME_IRQ]; in cpuacct_stats_show()
276 cputime.stime += cpustat[CPUTIME_SOFTIRQ]; in cpuacct_stats_show()
/kernel/
Dtsacct.c25 u64 utime, stime, utimescaled, stimescaled; in bacct_add_tsk() local
68 task_cputime(tsk, &utime, &stime); in bacct_add_tsk()
70 stats->ac_stime = div_u64(stime, NSEC_PER_USEC); in bacct_add_tsk()
125 u64 utime, u64 stime) in __acct_update_integrals() argument
132 time = stime + utime; in __acct_update_integrals()
154 u64 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()
169 __acct_update_integrals(tsk, tsk->utime, tsk->stime); in acct_account_cputime()
Ddelayacct.c133 u64 utime, stime, stimescaled, utimescaled; in delayacct_add_tsk() local
138 task_cputime(tsk, &utime, &stime); in delayacct_add_tsk()
140 tmp += utime + stime; in delayacct_add_tsk()
Dacct.c556 u64 utime, stime; in acct_collect() local
585 task_cputime(current, &utime, &stime); in acct_collect()
587 pacct->ac_stime += stime; in acct_collect()
Dtaskstats.c218 u64 delta, utime, stime; in fill_stats_for_tgid() local
255 task_cputime(tsk, &utime, &stime); in fill_stats_for_tgid()
257 stats->ac_stime += div_u64(stime, NSEC_PER_USEC); in fill_stats_for_tgid()
Daudit.c1884 long stime = audit_backlog_wait_time; in audit_log_start() local
1893 if (gfpflags_allow_blocking(gfp_mask) && (stime > 0)) { in audit_log_start()
1894 long rtime = stime; in audit_log_start()
1901 stime = schedule_timeout(rtime); in audit_log_start()
1902 atomic_add(rtime - stime, &audit_backlog_wait_time_actual); in audit_log_start()
Dexit.c150 u64 utime, stime; in __exit_signal() local
186 task_cputime(tsk, &utime, &stime); in __exit_signal()
189 sig->stime += stime; in __exit_signal()
Dsys.c1782 u64 tgutime, tgstime, utime, stime; in getrusage() local
1786 utime = stime = 0; in getrusage()
1789 task_cputime_adjusted(current, &utime, &stime); in getrusage()
1802 stime = p->signal->cstime; in getrusage()
1818 stime += tgstime; in getrusage()
1840 r->ru_stime = ns_to_kernel_old_timeval(stime); in getrusage()
Dsignal.c2053 u64 utime, stime; in do_notify_parent() local
2095 task_cputime(tsk, &utime, &stime); in do_notify_parent()
2097 info.si_stime = nsec_to_clock_t(stime + tsk->signal->stime); in do_notify_parent()
2165 u64 utime, stime; in do_notify_parent_cldstop() local
2185 task_cputime(tsk, &utime, &stime); in do_notify_parent_cldstop()
2187 info.si_stime = nsec_to_clock_t(stime); in do_notify_parent_cldstop()
Dfork.c2262 p->utime = p->stime = p->gtime = 0; in copy_process()
/kernel/cgroup/
Drstat.c341 dst_bstat->cputime.stime += src_bstat->cputime.stime; in cgroup_base_stat_add()
352 dst_bstat->cputime.stime -= src_bstat->cputime.stime; in cgroup_base_stat_sub()
435 rstatc->bstat.cputime.stime += delta_exec; in __cgroup_account_cputime_field()
476 cputime->stime += sys; in root_cgroup_cputime()
491 u64 usage, utime, stime; in cgroup_base_stat_cputime_show() local
501 &utime, &stime); in cgroup_base_stat_cputime_show()
510 stime = bstat.cputime.stime; in cgroup_base_stat_cputime_show()
518 do_div(stime, NSEC_PER_USEC); in cgroup_base_stat_cputime_show()
526 usage, utime, stime); in cgroup_base_stat_cputime_show()
/kernel/time/
Dposix-cpu-timers.c196 u64 utime, stime; in cpu_clock_sample() local
201 task_cputime(p, &utime, &stime); in cpu_clock_sample()
205 return utime + stime; in cpu_clock_sample()
214 static inline void store_samples(u64 *samples, u64 stime, u64 utime, u64 rtime) in store_samples() argument
216 samples[CPUCLOCK_PROF] = stime + utime; in store_samples()
223 u64 stime, utime; in task_sample_cputime() local
225 task_cputime(p, &utime, &stime); in task_sample_cputime()
226 store_samples(samples, stime, utime, p->se.sum_exec_runtime); in task_sample_cputime()
232 u64 stime, utime, rtime; in proc_sample_cputime_atomic() local
235 stime = atomic64_read(&at->stime); in proc_sample_cputime_atomic()
[all …]
Dtime.c81 SYSCALL_DEFINE1(stime, __kernel_old_time_t __user *, tptr) in SYSCALL_DEFINE1() argument