Home
last modified time | relevance | path

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

123

/linux/sound/core/
A Dhrtimer.c41 stime->in_callback = true; in snd_hrtimer_callback()
58 stime->in_callback = false; in snd_hrtimer_callback()
64 struct snd_hrtimer *stime; in snd_hrtimer_open() local
66 stime = kzalloc(sizeof(*stime), GFP_KERNEL); in snd_hrtimer_open()
67 if (!stime) in snd_hrtimer_open()
70 stime->timer = t; in snd_hrtimer_open()
72 t->private_data = stime; in snd_hrtimer_open()
80 if (stime) { in snd_hrtimer_close()
87 kfree(stime); in snd_hrtimer_close()
97 if (stime->in_callback) in snd_hrtimer_start()
[all …]
/linux/kernel/sched/
A Dcputime.c338 times->stime = sig->stime; in thread_group_cputime()
344 times->stime += stime; in thread_group_cputime()
453 *st = p->stime; in task_cputime_adjusted()
566 stime = curr->stime; in cputime_adjust()
584 stime = mul_u64_u64_div_u64(stime, rtime, stime + utime); in cputime_adjust()
602 if (stime < prev->stime) in cputime_adjust()
603 stime = prev->stime; in cputime_adjust()
615 prev->stime = stime; in cputime_adjust()
852 *stime = t->stime; in task_cputime()
861 *stime = t->stime; in task_cputime()
[all …]
A 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/arch/powerpc/kernel/
A Dtime.c194 stime_scaled = stime; in vtime_delta_scaled()
198 stime_scaled = deltascaled * stime / (stime + utime); in vtime_delta_scaled()
214 unsigned long now, stime; in vtime_delta() local
219 stime = now - acct->starttime; in vtime_delta()
230 return stime; in vtime_delta()
239 *stime -= min(*stime, steal_time); in vtime_delta_kernel()
251 acct->gtime += stime; in vtime_account_kernel()
256 acct->stime += stime; in vtime_account_kernel()
279 *field += stime; in vtime_account_irq_field()
337 if (acct->stime) in vtime_flush()
[all …]
/linux/kernel/
A 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()
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()
A Dacct.c555 u64 utime, stime; in acct_collect() local
584 task_cputime(current, &utime, &stime); in acct_collect()
586 pacct->ac_stime += stime; in acct_collect()
A Dtaskstats.c218 u64 delta, utime, stime; in fill_stats_for_tgid() local
254 task_cputime(tsk, &utime, &stime); in fill_stats_for_tgid()
256 stats->ac_stime += div_u64(stime, NSEC_PER_USEC); in fill_stats_for_tgid()
/linux/include/linux/sched/
A Dcputime.h13 u64 *utime, u64 *stime);
17 u64 *utime, u64 *stime) in task_cputime() argument
20 *stime = t->stime; in task_cputime()
148 atomic64_add(cputime, &cputimer->cputime_atomic.stime); in account_group_system_time()
175 prev->utime = prev->stime = 0; in prev_cputime_init()
A Dtypes.h18 u64 stime; member
A Dsignal.h50 atomic64_t stime; member
57 .stime = ATOMIC64_INIT(0), \
187 u64 utime, stime, cutime, cstime; member
/linux/kernel/cgroup/
A Drstat.c442 dst_bstat->cputime.stime += src_bstat->cputime.stime; in cgroup_base_stat_add()
453 dst_bstat->cputime.stime -= src_bstat->cputime.stime; in cgroup_base_stat_sub()
544 rstatc->bstat.cputime.stime += delta_exec; in __cgroup_account_cputime_field()
585 cputime->stime += sys; in root_cgroup_cputime()
611 u64 usage, utime, stime; in cgroup_base_stat_cputime_show() local
617 &utime, &stime); in cgroup_base_stat_cputime_show()
624 stime = cgrp->bstat.cputime.stime; in cgroup_base_stat_cputime_show()
629 do_div(stime, NSEC_PER_USEC); in cgroup_base_stat_cputime_show()
634 usage, utime, stime); in cgroup_base_stat_cputime_show()
/linux/tools/testing/selftests/bpf/benchs/
A Dbench_local_storage_rcu_tasks_trace.c90 long stime; in kthread_pid_ticks() local
102 if (fscanf(f, "%*s %*s %*s %*s %*s %*s %*s %*s %*s %*s %*s %*s %*s %*s %ld", &stime) != 1) { in kthread_pid_ticks()
107 return stime; in kthread_pid_ticks()
196 res->stime = ticks - ctx.prev_kthread_stime; in measure()
221 iter, res->stime / (double)res->gp_ct); in report_progress()
/linux/kernel/time/
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()
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()
237 store_samples(samples, stime, utime, rtime); in proc_sample_cputime_atomic()
[all …]
/linux/drivers/gpu/drm/amd/amdgpu/
A 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/arch/powerpc/include/asm/
A Daccounting.h13 unsigned long stime; member
A Dcputime.h59 acct->stime += (tb - acct->starttime); in account_cpu_user_exit()
/linux/drivers/gpu/drm/nouveau/
A Dnouveau_display.c84 ktime_t *stime, ktime_t *etime) in nouveau_display_scanoutpos_head() argument
109 if (stime) *stime = ns_to_ktime(args.time[0]); in nouveau_display_scanoutpos_head()
118 ktime_t *stime, ktime_t *etime, in nouveau_display_scanoutpos() argument
122 stime, etime); in nouveau_display_scanoutpos()
A Dnouveau_display.h56 ktime_t *stime, ktime_t *etime,
/linux/drivers/gpu/drm/i915/display/
A Dintel_vblank.c324 ktime_t *stime, ktime_t *etime, in i915_get_crtc_scanoutpos() argument
362 if (stime) in i915_get_crtc_scanoutpos()
363 *stime = ktime_get(); in i915_get_crtc_scanoutpos()
/linux/tools/testing/selftests/bpf/
A Dbench.h48 unsigned int stime; member
/linux/fs/proc/
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()
605 seq_put_decimal_ull(m, " ", nsec_to_clock_t(stime)); in do_task_stat()
/linux/include/drm/
A Ddrm_vblank.h300 ktime_t *stime,
/linux/fs/btrfs/
A Dioctl.c76 struct btrfs_ioctl_timespec_32 stime; /* in */ member
2216 subvol_info->stime.sec = btrfs_stack_timespec_sec(&root_item->stime); in btrfs_ioctl_get_subvol_info()
2217 subvol_info->stime.nsec = btrfs_stack_timespec_nsec(&root_item->stime); in btrfs_ioctl_get_subvol_info()
4133 btrfs_set_stack_timespec_sec(&root_item->stime, sa->stime.sec); in _btrfs_ioctl_set_received_subvol()
4134 btrfs_set_stack_timespec_nsec(&root_item->stime, sa->stime.nsec); in _btrfs_ioctl_set_received_subvol()
4182 args64->stime.sec = args32->stime.sec; in btrfs_ioctl_set_received_subvol_32()
4183 args64->stime.nsec = args32->stime.nsec; in btrfs_ioctl_set_received_subvol_32()
4195 args32->stime.sec = args64->stime.sec; in btrfs_ioctl_set_received_subvol_32()
4196 args32->stime.nsec = args64->stime.nsec; in btrfs_ioctl_set_received_subvol_32()
/linux/drivers/gpu/drm/vc4/
A Dvc4_crtc.c100 ktime_t *stime, ktime_t *etime, in vc4_crtc_get_scanout_position() argument
117 if (stime) in vc4_crtc_get_scanout_position()
118 *stime = ktime_get(); in vc4_crtc_get_scanout_position()
193 if (stime) in vc4_crtc_get_scanout_position()
194 *stime = vc4_crtc->t_vblank; in vc4_crtc_get_scanout_position()

Completed in 63 milliseconds

123