Home
last modified time | relevance | path

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

123

/linux-6.1.9/kernel/sched/
Dcputime.c122 p->utime += cputime; in account_user_time()
144 p->utime += cputime; in account_guest_time()
311 u64 utime, stime; in thread_group_cputime() local
333 times->utime = sig->utime; in thread_group_cputime()
338 task_cputime(t, &utime, &stime); in thread_group_cputime()
339 times->utime += utime; in thread_group_cputime()
455 *ut = curr->utime; in cputime_adjust()
461 *ut = p->utime; in task_cputime_adjusted()
472 *ut = cputime.utime; in thread_group_cputime_adjusted()
557 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.1.9/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()
/linux-6.1.9/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()
136 atomic64_add(cputime, &cputimer->cputime_atomic.utime); in account_group_user_time()
184 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.1.9/kernel/cgroup/
Drstat.c340 dst_bstat->cputime.utime += src_bstat->cputime.utime; in cgroup_base_stat_add()
351 dst_bstat->cputime.utime -= src_bstat->cputime.utime; in cgroup_base_stat_sub()
430 rstatc->bstat.cputime.utime += delta_exec; in __cgroup_account_cputime_field()
461 cputime->utime = 0; in root_cgroup_cputime()
473 cputime->utime += user; in root_cgroup_cputime()
493 u64 usage, utime, stime; in cgroup_base_stat_cputime_show() local
503 &utime, &stime); in cgroup_base_stat_cputime_show()
511 utime = bstat.cputime.utime; in cgroup_base_stat_cputime_show()
519 do_div(utime, NSEC_PER_USEC); in cgroup_base_stat_cputime_show()
528 usage, utime, stime); in cgroup_base_stat_cputime_show()
/linux-6.1.9/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.1.9/arch/powerpc/kernel/
Dtime.c191 unsigned long utime, utime_scaled; in vtime_delta_scaled() local
196 utime = acct->utime - acct->utime_sspurr; in vtime_delta_scaled()
197 acct->utime_sspurr = acct->utime; in vtime_delta_scaled()
210 utime_scaled = utime; in vtime_delta_scaled()
211 if (deltascaled != stime + utime) { in vtime_delta_scaled()
212 if (utime) { in vtime_delta_scaled()
213 stime_scaled = deltascaled * stime / (stime + utime); in vtime_delta_scaled()
338 if (acct->utime) in vtime_flush()
339 account_user_time(tsk, cputime_to_nsecs(acct->utime)); in vtime_flush()
365 acct->utime = 0; in vtime_flush()
/linux-6.1.9/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.1.9/tools/lib/traceevent/plugins/
Dplugin_futex.c21 unsigned long long utime; /* or val2 */ member
60 trace_seq_printf(s,fop->fmt_utime, args->utime); in futex_print()
85 if (tep_get_field_val(s, event, "utime", record, &args.utime, 1)) in futex_handler()
/linux-6.1.9/arch/powerpc/include/asm/
Daccounting.h12 unsigned long utime; member
Dcputime.h78 acct->utime += (tb - acct->starttime_user); in account_cpu_user_entry()
/linux-6.1.9/arch/ia64/kernel/
Dtime.c73 if (ti->utime) in vtime_flush()
74 account_user_time(tsk, cycle_to_nsec(ti->utime)); in vtime_flush()
97 ti->utime = 0; in vtime_flush()
/linux-6.1.9/fs/proc/
Darray.c472 u64 cutime, cstime, utime, stime; in do_task_stat() local
504 cutime = cstime = utime = stime = 0; in do_task_stat()
538 thread_group_cputime_adjusted(task, &utime, &stime); in do_task_stat()
557 task_cputime_adjusted(task, &utime, &stime); in do_task_stat()
585 seq_put_decimal_ull(m, " ", nsec_to_clock_t(utime)); in do_task_stat()
/linux-6.1.9/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.1.9/tools/perf/scripts/python/
Dfutex-contention.py30 nr, uaddr, op, val, utime, uaddr2, val3): argument
/linux-6.1.9/arch/um/os-Linux/
Duser_syms.c74 EXPORT_SYMBOL_PROTO(utime);
/linux-6.1.9/arch/ia64/include/asm/
Dthread_info.h32 __u64 utime; member
/linux-6.1.9/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.1.9/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()

123