Home
last modified time | relevance | path

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

123

/linux-6.1.9/sound/core/
Dhrtimer.c32 struct snd_hrtimer *stime = container_of(hrt, struct snd_hrtimer, hrt); in snd_hrtimer_callback() local
33 struct snd_timer *t = stime->timer; in snd_hrtimer_callback()
41 stime->in_callback = true; in snd_hrtimer_callback()
50 snd_timer_interrupt(stime->timer, ticks); in snd_hrtimer_callback()
58 stime->in_callback = false; in snd_hrtimer_callback()
66 struct snd_hrtimer *stime; in snd_hrtimer_open() local
68 stime = kzalloc(sizeof(*stime), GFP_KERNEL); in snd_hrtimer_open()
69 if (!stime) in snd_hrtimer_open()
71 hrtimer_init(&stime->hrt, CLOCK_MONOTONIC, HRTIMER_MODE_REL); in snd_hrtimer_open()
72 stime->timer = t; in snd_hrtimer_open()
[all …]
/linux-6.1.9/kernel/sched/
Dcputime.c168 p->stime += cputime; in account_system_index_time()
311 u64 utime, stime; in thread_group_cputime() local
334 times->stime = sig->stime; in thread_group_cputime()
338 task_cputime(t, &utime, &stime); in thread_group_cputime()
340 times->stime += stime; in thread_group_cputime()
456 *st = curr->stime; in cputime_adjust()
462 *st = p->stime; in task_cputime_adjusted()
473 *st = cputime.stime; in thread_group_cputime_adjusted()
557 u64 rtime, stime, utime; in cputime_adjust() local
572 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()
/linux-6.1.9/arch/powerpc/kernel/
Dtime.c186 unsigned long now, unsigned long stime) in vtime_delta_scaled() argument
209 stime_scaled = stime; in vtime_delta_scaled()
211 if (deltascaled != stime + utime) { in vtime_delta_scaled()
213 stime_scaled = deltascaled * stime / (stime + utime); in vtime_delta_scaled()
229 unsigned long now, stime; in vtime_delta() local
234 stime = now - acct->starttime; in vtime_delta()
237 *stime_scaled = vtime_delta_scaled(acct, now, stime); in vtime_delta()
245 return stime; in vtime_delta()
249 unsigned long *stime, unsigned long *stime_scaled) in vtime_delta_kernel() argument
253 *stime = vtime_delta(acct, stime_scaled, &steal_time); in vtime_delta_kernel()
[all …]
/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()
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.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()
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()
/linux-6.1.9/include/linux/sched/
Dcputime.h22 u64 *utime, u64 *stime);
26 u64 *utime, u64 *stime) in task_cputime() argument
29 *stime = t->stime; in task_cputime()
157 atomic64_add(cputime, &cputimer->cputime_atomic.stime); in account_group_system_time()
184 prev->utime = prev->stime = 0; in prev_cputime_init()
Dtypes.h18 u64 stime; member
Dsignal.h49 atomic64_t stime; member
56 .stime = ATOMIC64_INIT(0), \
186 u64 utime, stime, cutime, cstime; member
/linux-6.1.9/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()
460 cputime->stime = 0; in root_cgroup_cputime()
478 cputime->stime += sys; 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()
512 stime = bstat.cputime.stime; in cgroup_base_stat_cputime_show()
520 do_div(stime, NSEC_PER_USEC); in cgroup_base_stat_cputime_show()
528 usage, utime, stime); in cgroup_base_stat_cputime_show()
/linux-6.1.9/tools/testing/selftests/bpf/benchs/
Dbench_local_storage_rcu_tasks_trace.c103 long stime; in kthread_pid_ticks() local
115 if (fscanf(f, "%*s %*s %*s %*s %*s %*s %*s %*s %*s %*s %*s %*s %*s %*s %ld", &stime) != 1) { in kthread_pid_ticks()
120 return stime; in kthread_pid_ticks()
209 res->stime = ticks - ctx.prev_kthread_stime; in measure()
239 iter, res->stime / (double)res->gp_ct); in report_progress()
/linux-6.1.9/arch/ia64/kernel/
Dtime.c82 if (ti->stime) { in vtime_flush()
83 delta = cycle_to_nsec(ti->stime); in vtime_flush()
100 ti->stime = 0; in vtime_flush()
140 __u64 stime = vtime_delta(tsk); in vtime_account_kernel() local
143 ti->gtime += stime; in vtime_account_kernel()
145 ti->stime += stime; in vtime_account_kernel()
/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()
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 …]
/linux-6.1.9/drivers/gpu/drm/amd/amdgpu/
Damdgpu_benchmark.c34 ktime_t stime, etime; in amdgpu_benchmark_do_move() local
38 stime = ktime_get(); in amdgpu_benchmark_do_move()
53 *time_ms = ktime_ms_delta(etime, stime); in amdgpu_benchmark_do_move()
/linux-6.1.9/arch/powerpc/include/asm/
Daccounting.h13 unsigned long stime; member
Dcputime.h87 acct->stime += (tb - acct->starttime); in account_cpu_user_exit()
/linux-6.1.9/drivers/gpu/drm/nouveau/
Dnouveau_display.c85 ktime_t *stime, ktime_t *etime) in nouveau_display_scanoutpos_head() argument
115 if (stime) *stime = ns_to_ktime(args.scan.time[0]); in nouveau_display_scanoutpos_head()
124 ktime_t *stime, ktime_t *etime, in nouveau_display_scanoutpos() argument
128 stime, etime); in nouveau_display_scanoutpos()
Dnouveau_display.h56 ktime_t *stime, ktime_t *etime,
/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()
586 seq_put_decimal_ull(m, " ", nsec_to_clock_t(stime)); in do_task_stat()
/linux-6.1.9/tools/testing/selftests/bpf/
Dbench.h45 unsigned int stime; member
/linux-6.1.9/include/drm/
Ddrm_vblank.h265 ktime_t *stime,
/linux-6.1.9/arch/ia64/include/asm/
Dthread_info.h33 __u64 stime; member
/linux-6.1.9/drivers/gpu/drm/vc4/
Dvc4_crtc.c90 ktime_t *stime, ktime_t *etime, in vc4_crtc_get_scanout_position() argument
107 if (stime) in vc4_crtc_get_scanout_position()
108 *stime = ktime_get(); in vc4_crtc_get_scanout_position()
183 if (stime) in vc4_crtc_get_scanout_position()
184 *stime = vc4_crtc->t_vblank; in vc4_crtc_get_scanout_position()

123