Home
last modified time | relevance | path

Searched refs:utime (Results 1 – 25 of 53) sorted by relevance

123

/Linux-v4.19/kernel/sched/
Dcputime.c121 p->utime += cputime; in account_user_time()
143 p->utime += cputime; in account_guest_time()
295 u64 utime, stime; in thread_group_cputime() local
317 times->utime = sig->utime; in thread_group_cputime()
322 task_cputime(t, &utime, &stime); in thread_group_cputime()
323 times->utime += utime; in thread_group_cputime()
446 *ut = curr->utime; in cputime_adjust()
452 *ut = p->utime; in task_cputime_adjusted()
463 *ut = cputime.utime; in thread_group_cputime_adjusted()
593 u64 rtime, stime, utime; in cputime_adjust() local
[all …]
/Linux-v4.19/kernel/
Dtsacct.c36 u64 utime, stime, utimescaled, stimescaled; in bacct_add_tsk() local
71 task_cputime(tsk, &utime, &stime); in bacct_add_tsk()
72 stats->ac_utime = div_u64(utime, NSEC_PER_USEC); in bacct_add_tsk()
128 u64 utime, u64 stime) in __acct_update_integrals() argument
135 time = stime + utime; in __acct_update_integrals()
157 u64 utime, stime; in acct_update_integrals() local
161 task_cputime(tsk, &utime, &stime); in acct_update_integrals()
162 __acct_update_integrals(tsk, utime, stime); in acct_update_integrals()
172 __acct_update_integrals(tsk, tsk->utime, tsk->stime); in acct_account_cputime()
Dfutex_compat.c176 struct compat_timespec __user *, utime, u32 __user *, uaddr2, in COMPAT_SYSCALL_DEFINE6() argument
184 if (utime && (cmd == FUTEX_WAIT || cmd == FUTEX_LOCK_PI || in COMPAT_SYSCALL_DEFINE6()
187 if (compat_get_timespec(&ts, utime)) in COMPAT_SYSCALL_DEFINE6()
199 val2 = (int) (unsigned long) utime; in COMPAT_SYSCALL_DEFINE6()
Ddelayacct.c96 u64 utime, stime, stimescaled, utimescaled; in __delayacct_add_tsk() local
101 task_cputime(tsk, &utime, &stime); in __delayacct_add_tsk()
103 tmp += utime + stime; in __delayacct_add_tsk()
Dacct.c536 u64 utime, stime; in acct_collect() local
566 task_cputime(current, &utime, &stime); in acct_collect()
567 pacct->ac_utime += utime; in acct_collect()
Dtaskstats.c210 u64 delta, utime, stime; in fill_stats_for_tgid() local
247 task_cputime(tsk, &utime, &stime); in fill_stats_for_tgid()
248 stats->ac_utime += div_u64(utime, NSEC_PER_USEC); in fill_stats_for_tgid()
Dexit.c97 u64 utime, stime; in __exit_signal() local
142 task_cputime(tsk, &utime, &stime); in __exit_signal()
144 sig->utime += utime; in __exit_signal()
/Linux-v4.19/include/linux/sched/
Dcputime.h22 u64 *utime, u64 *stime);
26 u64 *utime, u64 *stime) in task_cputime() argument
28 *utime = t->utime; in task_cputime()
133 atomic64_add(cputime, &cputimer->cputime_atomic.utime); in account_group_user_time()
181 prev->utime = prev->stime = 0; in prev_cputime_init()
Dsignal.h44 atomic64_t utime; member
51 .utime = ATOMIC64_INIT(0), \
181 u64 utime, stime, cutime, cstime; member
/Linux-v4.19/kernel/cgroup/
Drstat.c307 dst_bstat->cputime.utime += src_bstat->cputime.utime; in cgroup_base_stat_accumulate()
328 delta.cputime.utime = cputime.utime - last_cputime->utime; in cgroup_base_stat_flush()
381 rstatc->bstat.cputime.utime += delta_exec; in __cgroup_account_cputime_field()
398 u64 usage, utime, stime; in cgroup_base_stat_cputime_show() local
405 cputime_adjust(&cgrp->bstat.cputime, &cgrp->prev_cputime, &utime, &stime); in cgroup_base_stat_cputime_show()
409 do_div(utime, NSEC_PER_USEC); in cgroup_base_stat_cputime_show()
415 usage, utime, stime); in cgroup_base_stat_cputime_show()
/Linux-v4.19/kernel/time/
Dposix-cpu-timers.c103 if (!cputime->utime && !cputime->stime && !cputime->sum_exec_runtime) in task_cputime_zero()
110 u64 utime, stime; in prof_ticks() local
112 task_cputime(p, &utime, &stime); in prof_ticks()
114 return utime + stime; in prof_ticks()
118 u64 utime, stime; in virt_ticks() local
120 task_cputime(p, &utime, &stime); in virt_ticks()
122 return utime; in virt_ticks()
198 __update_gt_cputime(&cputime_atomic->utime, sum->utime); in update_gt_cputime()
207 times->utime = atomic64_read(&atomic_times->utime); in sample_cputime_atomic()
255 *sample = cputime.utime + cputime.stime; in cpu_clock_sample_group()
[all …]
Ditimer.c65 t = cputime.utime + cputime.stime; in get_cpu_itimer()
68 t = cputime.utime; in get_cpu_itimer()
/Linux-v4.19/arch/powerpc/kernel/
Dtime.c255 acct->utime -= ust; in accumulate_stolen_time()
290 unsigned long utime, utime_scaled; in vtime_delta() local
304 utime = acct->utime - acct->utime_sspurr; in vtime_delta()
305 acct->utime_sspurr = acct->utime; in vtime_delta()
318 utime_scaled = utime; in vtime_delta()
319 if (deltascaled != stime + utime) { in vtime_delta()
320 if (utime) { in vtime_delta()
321 *stime_scaled = deltascaled * stime / (stime + utime); in vtime_delta()
378 if (acct->utime) in vtime_flush()
379 account_user_time(tsk, cputime_to_nsecs(acct->utime)); in vtime_flush()
[all …]
/Linux-v4.19/arch/powerpc/include/asm/
Daccounting.h16 unsigned long utime; member
/Linux-v4.19/arch/ia64/kernel/
Dtime.c71 if (ti->utime) in vtime_flush()
72 account_user_time(tsk, cycle_to_nsec(ti->utime)); in vtime_flush()
95 ti->utime = 0; in vtime_flush()
/Linux-v4.19/include/uapi/linux/raid/
Dmd_p.h160 __u32 utime; /* 0 Superblock update time */ member
293 __le64 utime; /* 40 bits second, 24 bits microseconds */ member
Dmd_u.h95 unsigned int utime; /* 0 Superblock update time */ member
/Linux-v4.19/tools/perf/scripts/python/
Dfutex-contention.py25 nr, uaddr, op, val, utime, uaddr2, val3): argument
/Linux-v4.19/fs/proc/
Darray.c435 u64 cutime, cstime, utime, stime; in do_task_stat() local
466 cutime = cstime = utime = stime = 0; in do_task_stat()
500 thread_group_cputime_adjusted(task, &utime, &stime); in do_task_stat()
516 task_cputime_adjusted(task, &utime, &stime); in do_task_stat()
543 seq_put_decimal_ull(m, " ", nsec_to_clock_t(utime)); in do_task_stat()
/Linux-v4.19/fs/
Dutimes.c24 SYSCALL_DEFINE2(utime, char __user *, filename, struct utimbuf __user *, times) in SYSCALL_DEFINE2() argument
233 COMPAT_SYSCALL_DEFINE2(utime, const char __user *, filename, in COMPAT_SYSCALL_DEFINE2() argument
/Linux-v4.19/arch/um/os-Linux/
Duser_syms.c73 EXPORT_SYMBOL_PROTO(utime);
/Linux-v4.19/arch/ia64/include/asm/
Dthread_info.h33 __u64 utime; member
/Linux-v4.19/include/linux/
Dsched.h237 u64 utime; member
254 u64 utime; member
260 #define virt_exp utime
277 u64 utime; member
795 u64 utime; member
/Linux-v4.19/drivers/isdn/mISDN/
Dstack.c209 u64 utime, stime; in mISDNStackd() local
312 task_cputime(st->thread, &utime, &stime); in mISDNStackd()
315 dev_name(&st->dev->dev), utime, stime); in mISDNStackd()
/Linux-v4.19/drivers/iio/light/
Disl29018.c101 unsigned int utime) in isl29018_set_integration_time() argument
108 if (utime == isl29018_int_utimes[chip->type][i]) { in isl29018_set_integration_time()

123