Home
last modified time | relevance | path

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

123

/linux-6.6.21/kernel/sched/
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()
459 *ut = curr->utime; in cputime_adjust()
465 *ut = p->utime; in task_cputime_adjusted()
476 *ut = cputime.utime; in thread_group_cputime_adjusted()
561 u64 rtime, stime, utime; in cputime_adjust() local
[all …]
Dcpuacct.c272 cputime.utime += cpustat[CPUTIME_USER]; in cpuacct_stats_show()
273 cputime.utime += cpustat[CPUTIME_NICE]; in cpuacct_stats_show()
/linux-6.6.21/kernel/
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()
Ddelayacct.c131 u64 utime, stime, stimescaled, utimescaled; in delayacct_add_tsk() local
136 task_cputime(tsk, &utime, &stime); in delayacct_add_tsk()
138 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()
586 pacct->ac_utime += utime; 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()
256 stats->ac_utime += div_u64(utime, NSEC_PER_USEC); in fill_stats_for_tgid()
Dexit.c149 u64 utime, stime; in __exit_signal() local
185 task_cputime(tsk, &utime, &stime); in __exit_signal()
187 sig->utime += utime; in __exit_signal()
/linux-6.6.21/include/linux/sched/
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()
Dtypes.h19 u64 utime; member
Dsignal.h48 atomic64_t utime; member
55 .utime = ATOMIC64_INIT(0), \
186 u64 utime, stime, cutime, cstime; member
/linux-6.6.21/kernel/cgroup/
Drstat.c324 dst_bstat->cputime.utime += src_bstat->cputime.utime; in cgroup_base_stat_add()
335 dst_bstat->cputime.utime -= src_bstat->cputime.utime; in cgroup_base_stat_sub()
422 rstatc->bstat.cputime.utime += delta_exec; in __cgroup_account_cputime_field()
463 cputime->utime += user; in root_cgroup_cputime()
483 u64 usage, utime, stime; in cgroup_base_stat_cputime_show() local
493 &utime, &stime); in cgroup_base_stat_cputime_show()
501 utime = bstat.cputime.utime; in cgroup_base_stat_cputime_show()
509 do_div(utime, NSEC_PER_USEC); in cgroup_base_stat_cputime_show()
518 usage, utime, stime); in cgroup_base_stat_cputime_show()
/linux-6.6.21/kernel/futex/
Dsyscalls.c165 const struct __kernel_timespec __user *, utime, in SYSCALL_DEFINE6() argument
172 if (utime && futex_cmd_has_timeout(cmd)) { in SYSCALL_DEFINE6()
175 if (get_timespec64(&ts, utime)) in SYSCALL_DEFINE6()
183 return do_futex(uaddr, op, val, tp, uaddr2, (unsigned long)utime, val3); in SYSCALL_DEFINE6()
360 const struct old_timespec32 __user *, utime, u32 __user *, uaddr2, in SYSCALL_DEFINE6() argument
367 if (utime && futex_cmd_has_timeout(cmd)) { in SYSCALL_DEFINE6()
368 if (get_old_timespec32(&ts, utime)) in SYSCALL_DEFINE6()
376 return do_futex(uaddr, op, val, tp, uaddr2, (unsigned long)utime, val3); in SYSCALL_DEFINE6()
/linux-6.6.21/arch/powerpc/kernel/
Dtime.c176 unsigned long utime, utime_scaled; in vtime_delta_scaled() local
181 utime = acct->utime - acct->utime_sspurr; in vtime_delta_scaled()
182 acct->utime_sspurr = acct->utime; in vtime_delta_scaled()
195 utime_scaled = utime; in vtime_delta_scaled()
196 if (deltascaled != stime + utime) { in vtime_delta_scaled()
197 if (utime) { in vtime_delta_scaled()
198 stime_scaled = deltascaled * stime / (stime + utime); in vtime_delta_scaled()
323 if (acct->utime) in vtime_flush()
324 account_user_time(tsk, cputime_to_nsecs(acct->utime)); in vtime_flush()
350 acct->utime = 0; in vtime_flush()
/linux-6.6.21/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()
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-6.6.21/arch/powerpc/include/asm/
Daccounting.h12 unsigned long utime; member
Dcputime.h63 acct->utime += (tb - acct->starttime_user); in account_cpu_user_entry()
/linux-6.6.21/arch/ia64/kernel/
Dtime.c74 if (ti->utime) in vtime_flush()
75 account_user_time(tsk, cycle_to_nsec(ti->utime)); in vtime_flush()
98 ti->utime = 0; in vtime_flush()
/linux-6.6.21/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-6.6.21/tools/perf/scripts/python/
Dfutex-contention.py30 nr, uaddr, op, val, utime, uaddr2, val3): argument
/linux-6.6.21/fs/proc/
Darray.c482 u64 cutime, cstime, utime, stime; in do_task_stat() local
565 thread_group_cputime_adjusted(task, &utime, &stime); in do_task_stat()
567 task_cputime_adjusted(task, &utime, &stime); in do_task_stat()
597 seq_put_decimal_ull(m, " ", nsec_to_clock_t(utime)); in do_task_stat()
/linux-6.6.21/arch/ia64/include/asm/
Dthread_info.h32 __u64 utime; member
/linux-6.6.21/drivers/isdn/mISDN/
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-6.6.21/drivers/iio/light/
Disl29018.c94 unsigned int utime) in isl29018_set_integration_time() argument
101 if (utime == isl29018_int_utimes[chip->type][i]) { in isl29018_set_integration_time()
/linux-6.6.21/drivers/staging/rtl8723bs/hal/
Dhal_btcoex.c80 unsigned long utime; in halbtcoutsrc_LeaveLowPower() local
98 utime = jiffies_to_msecs(jiffies - stime); in halbtcoutsrc_LeaveLowPower()
99 if (utime > timeout) in halbtcoutsrc_LeaveLowPower()

123