/linux-6.6.21/sound/core/ |
D | hrtimer.c | 32 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.6.21/kernel/sched/ |
D | cputime.c | 172 p->stime += cputime; in account_system_index_time() 315 u64 utime, stime; in thread_group_cputime() local 338 times->stime = sig->stime; in thread_group_cputime() 342 task_cputime(t, &utime, &stime); in thread_group_cputime() 344 times->stime += stime; in thread_group_cputime() 460 *st = curr->stime; in cputime_adjust() 466 *st = p->stime; in task_cputime_adjusted() 477 *st = cputime.stime; in thread_group_cputime_adjusted() 561 u64 rtime, stime, utime; in cputime_adjust() local 576 if (prev->stime + prev->utime >= rtime) in cputime_adjust() [all …]
|
D | cpuacct.c | 274 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.6.21/arch/powerpc/kernel/ |
D | time.c | 171 unsigned long now, unsigned long stime) in vtime_delta_scaled() argument 194 stime_scaled = stime; in vtime_delta_scaled() 196 if (deltascaled != stime + utime) { 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() 222 *stime_scaled = vtime_delta_scaled(acct, now, stime); in vtime_delta() 230 return stime; in vtime_delta() 234 unsigned long *stime, unsigned long *stime_scaled) in vtime_delta_kernel() argument 238 *stime = vtime_delta(acct, stime_scaled, &steal_time); in vtime_delta_kernel() [all …]
|
/linux-6.6.21/kernel/ |
D | tsacct.c | 25 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()
|
D | delayacct.c | 131 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()
|
D | acct.c | 556 u64 utime, stime; in acct_collect() local 585 task_cputime(current, &utime, &stime); in acct_collect() 587 pacct->ac_stime += stime; in acct_collect()
|
D | taskstats.c | 218 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.6.21/include/linux/sched/ |
D | cputime.h | 13 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()
|
D | types.h | 18 u64 stime; member
|
D | signal.h | 49 atomic64_t stime; member 56 .stime = ATOMIC64_INIT(0), \ 186 u64 utime, stime, cutime, cstime; member
|
/linux-6.6.21/kernel/cgroup/ |
D | rstat.c | 325 dst_bstat->cputime.stime += src_bstat->cputime.stime; in cgroup_base_stat_add() 336 dst_bstat->cputime.stime -= src_bstat->cputime.stime; in cgroup_base_stat_sub() 427 rstatc->bstat.cputime.stime += delta_exec; in __cgroup_account_cputime_field() 468 cputime->stime += sys; 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() 502 stime = bstat.cputime.stime; in cgroup_base_stat_cputime_show() 510 do_div(stime, NSEC_PER_USEC); in cgroup_base_stat_cputime_show() 518 usage, utime, stime); in cgroup_base_stat_cputime_show()
|
/linux-6.6.21/tools/testing/selftests/bpf/benchs/ |
D | bench_local_storage_rcu_tasks_trace.c | 90 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-6.6.21/arch/ia64/kernel/ |
D | time.c | 83 if (ti->stime) { in vtime_flush() 84 delta = cycle_to_nsec(ti->stime); in vtime_flush() 101 ti->stime = 0; in vtime_flush() 141 __u64 stime = vtime_delta(tsk); in vtime_account_kernel() local 144 ti->gtime += stime; in vtime_account_kernel() 146 ti->stime += stime; in vtime_account_kernel()
|
/linux-6.6.21/kernel/time/ |
D | posix-cpu-timers.c | 196 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.6.21/drivers/gpu/drm/amd/amdgpu/ |
D | amdgpu_benchmark.c | 34 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.6.21/arch/powerpc/include/asm/ |
D | accounting.h | 13 unsigned long stime; member
|
D | cputime.h | 72 acct->stime += (tb - acct->starttime); in account_cpu_user_exit()
|
/linux-6.6.21/drivers/gpu/drm/i915/display/ |
D | intel_vblank.c | 257 ktime_t *stime, ktime_t *etime, in i915_get_crtc_scanoutpos() argument 300 if (stime) in i915_get_crtc_scanoutpos() 301 *stime = ktime_get(); in i915_get_crtc_scanoutpos()
|
/linux-6.6.21/drivers/gpu/drm/nouveau/ |
D | nouveau_display.c | 84 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()
|
D | nouveau_display.h | 56 ktime_t *stime, ktime_t *etime,
|
/linux-6.6.21/tools/testing/selftests/bpf/ |
D | bench.h | 47 unsigned int stime; member
|
/linux-6.6.21/include/drm/ |
D | drm_vblank.h | 266 ktime_t *stime,
|
/linux-6.6.21/fs/proc/ |
D | array.c | 482 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() 598 seq_put_decimal_ull(m, " ", nsec_to_clock_t(stime)); in do_task_stat()
|
/linux-6.6.21/arch/ia64/include/asm/ |
D | thread_info.h | 33 __u64 stime; member
|