Home
last modified time | relevance | path

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

12

/linux/kernel/sched/
H A Dcputime.c126 p->utime += cputime; in account_user_time()
148 p->utime += cputime; in account_guest_time()
315 u64 utime, stime; in thread_group_cputime() local
337 times->utime = sig->utime; in thread_group_cputime()
342 task_cputime(t, &utime, &stime); in thread_group_cputime()
343 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()
548 u64 rtime, stime, utime; in cputime_adjust() local
[all …]
H A Dcpuacct.c272 cputime.utime += cpustat[CPUTIME_USER]; in cpuacct_stats_show()
273 cputime.utime += cpustat[CPUTIME_NICE]; in cpuacct_stats_show()
/linux/kernel/
H A Dtsacct.c25 u64 utime, stime, utimescaled, stimescaled; in bacct_add_tsk() local
68 task_cputime(tsk, &utime, &stime); in bacct_add_tsk()
69 stats->ac_utime = div_u64(utime, 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()
H A Ddelayacct.c130 u64 utime, stime, stimescaled, utimescaled; in delayacct_add_tsk() local
135 task_cputime(tsk, &utime, &stime); in delayacct_add_tsk()
137 tmp += utime + stime; in delayacct_add_tsk()
H A Dacct.c555 u64 utime, stime; in acct_collect() local
584 task_cputime(current, &utime, &stime); in acct_collect()
585 pacct->ac_utime += utime; in acct_collect()
H A Dtaskstats.c218 u64 delta, utime, stime; in fill_stats_for_tgid() local
254 task_cputime(tsk, &utime, &stime); in fill_stats_for_tgid()
255 stats->ac_utime += div_u64(utime, NSEC_PER_USEC); in fill_stats_for_tgid()
H A Dexit.c150 u64 utime, stime; in __exit_signal() local
186 task_cputime(tsk, &utime, &stime); in __exit_signal()
188 sig->utime += utime; in __exit_signal()
H A Dsys.c1796 u64 tgutime, tgstime, utime, stime; in getrusage() local
1804 utime = stime = 0; in getrusage()
1808 task_cputime_adjusted(current, &utime, &stime); in getrusage()
1819 utime = sig->cutime; in getrusage()
1864 utime += tgutime; in getrusage()
1876 r->ru_utime = ns_to_kernel_old_timeval(utime); in getrusage()
/linux/include/linux/sched/
H A Dcputime.h13 u64 *utime, u64 *stime);
17 u64 *utime, u64 *stime) in task_cputime() argument
19 *utime = t->utime; in task_cputime()
127 atomic64_add(cputime, &cputimer->cputime_atomic.utime); in account_group_user_time()
175 prev->utime = prev->stime = 0; in prev_cputime_init()
H A Dtypes.h19 u64 utime; member
H A Dsignal.h49 atomic64_t utime; member
56 .utime = ATOMIC64_INIT(0), \
188 u64 utime, stime, cutime, cstime; member
/linux/kernel/futex/
H A Dsyscalls.c161 const struct __kernel_timespec __user *, utime, in SYSCALL_DEFINE6() argument
168 if (utime && futex_cmd_has_timeout(cmd)) { in SYSCALL_DEFINE6()
171 if (get_timespec64(&ts, utime)) in SYSCALL_DEFINE6()
179 return do_futex(uaddr, op, val, tp, uaddr2, (unsigned long)utime, val3); in SYSCALL_DEFINE6()
493 const struct old_timespec32 __user *, utime, u32 __user *, uaddr2, in SYSCALL_DEFINE6() argument
500 if (utime && futex_cmd_has_timeout(cmd)) { in SYSCALL_DEFINE6()
501 if (get_old_timespec32(&ts, utime)) in SYSCALL_DEFINE6()
509 return do_futex(uaddr, op, val, tp, uaddr2, (unsigned long)utime, val3); in SYSCALL_DEFINE6()
/linux/kernel/time/
H A 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()
207 return utime; 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()
217 samples[CPUCLOCK_VIRT] = 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()
[all …]
/linux/arch/powerpc/include/asm/
H A Daccounting.h12 unsigned long utime; member
H A Dcputime.h50 acct->utime += (tb - acct->starttime_user); in account_cpu_user_entry()
/linux/include/uapi/linux/raid/
H A Dmd_p.h156 __u32 utime; /* 0 Superblock update time */ member
289 __le64 utime; /* 40 bits second, 24 bits microseconds */ member
H A Dmd_u.h91 unsigned int utime; /* 0 Superblock update time */ member
/linux/tools/perf/scripts/python/
H A Dfutex-contention.py30 nr, uaddr, op, val, utime, uaddr2, val3): argument
/linux/fs/proc/
H A Darray.c481 u64 cutime, cstime, cgtime, utime, stime, gtime; in do_task_stat() local
572 thread_group_cputime_adjusted(task, &utime, &stime); in do_task_stat()
574 task_cputime_adjusted(task, &utime, &stime); in do_task_stat()
604 seq_put_decimal_ull(m, " ", nsec_to_clock_t(utime)); in do_task_stat()
/linux/drivers/isdn/mISDN/
H A Dstack.c198 u64 utime, stime; in mISDNStackd() local
301 task_cputime(st->thread, &utime, &stime); in mISDNStackd()
304 dev_name(&st->dev->dev), utime, stime); in mISDNStackd()
/linux/drivers/staging/rtl8723bs/hal/
H A Dhal_btcoex.c79 unsigned long utime; in halbtcoutsrc_LeaveLowPower() local
97 utime = jiffies_to_msecs(jiffies - stime); in halbtcoutsrc_LeaveLowPower()
98 if (utime > timeout) in halbtcoutsrc_LeaveLowPower()
/linux/include/linux/
H A Dsched.h341 u64 utime; member
365 u64 utime; member
1076 u64 utime; member
/linux/arch/alpha/kernel/
H A Dosf_sys.c1079 u64 utime, stime; in SYSCALL_DEFINE2() local
1088 task_cputime(current, &utime, &stime); in SYSCALL_DEFINE2()
1089 utime_jiffies = nsecs_to_jiffies(utime); in SYSCALL_DEFINE2()
/linux/fs/
H A Dutimes.c210 SYSCALL_DEFINE2(utime, char __user *, filename, struct utimbuf __user *, times) in SYSCALL_DEFINE2() argument
/linux/drivers/net/fddi/skfp/
H A Dsmt.c1223 u_long utime ; in smt_set_timestamp() local
1230 utime = smt_get_time() ; in smt_set_timestamp()
1231 time = utime * 100 ; in smt_set_timestamp()
1244 if (utime != smc->sm.uniq_time) { in smt_set_timestamp()
1248 smc->sm.uniq_time = utime ; in smt_set_timestamp()

12