Searched refs:stime (Results 1 - 25 of 60) sorted by relevance

123

/linux-master/sound/core/
H A Dhrtimer.c32 struct snd_hrtimer *stime = container_of(hrt, struct snd_hrtimer, hrt); local
33 struct snd_timer *t = stime->timer;
41 stime->in_callback = true;
50 snd_timer_interrupt(stime->timer, ticks);
58 stime->in_callback = false;
64 struct snd_hrtimer *stime; local
66 stime = kzalloc(sizeof(*stime), GFP_KERNEL);
67 if (!stime)
69 hrtimer_init(&stime
78 struct snd_hrtimer *stime = t->private_data; local
95 struct snd_hrtimer *stime = t->private_data; local
106 struct snd_hrtimer *stime = t->private_data; local
[all...]
/linux-master/include/linux/sched/
H A Dtypes.h9 * @stime: time spent in kernel mode, in nanoseconds
18 u64 stime; member in struct:task_cputime
H A Dcputime.h13 u64 *utime, u64 *stime);
17 u64 *utime, u64 *stime)
20 *stime = t->stime;
131 * account_group_system_time - Maintain stime for a thread group.
134 * @cputime: Time value by which to increment the stime field of the
138 * running CPU and update the stime field there.
148 atomic64_add(cputime, &cputimer->cputime_atomic.stime);
175 prev->utime = prev->stime = 0;
16 task_cputime(struct task_struct *t, u64 *utime, u64 *stime) argument
H A Dsignal.h50 atomic64_t stime; member in struct:task_cputime_atomic
57 .stime = ATOMIC64_INIT(0), \
187 u64 utime, stime, cutime, cstime; member in struct:signal_struct
200 * from jiffies_to_ns(utime + stime) if sched_clock uses something
/linux-master/arch/powerpc/include/asm/
H A Daccounting.h13 unsigned long stime; member in struct:cpu_accounting_data
H A Dcputime.h72 acct->stime += (tb - acct->starttime);
/linux-master/arch/powerpc/kernel/
H A Dtime.c171 unsigned long now, unsigned long stime)
194 stime_scaled = stime;
196 if (deltascaled != stime + utime) {
198 stime_scaled = deltascaled * stime / (stime + utime);
214 unsigned long now, stime; local
219 stime = now - acct->starttime;
222 *stime_scaled = vtime_delta_scaled(acct, now, stime);
230 return stime;
234 unsigned long *stime, unsigne
170 vtime_delta_scaled(struct cpu_accounting_data *acct, unsigned long now, unsigned long stime) argument
233 vtime_delta_kernel(struct cpu_accounting_data *acct, unsigned long *stime, unsigned long *stime_scaled) argument
246 unsigned long stime, stime_scaled; local
266 unsigned long stime, stime_scaled, steal_time; local
276 unsigned long stime, stime_scaled; local
[all...]
/linux-master/kernel/sched/
H A Dcputime.c172 p->stime += cputime;
315 u64 utime, stime; local
338 times->stime = sig->stime;
342 task_cputime(t, &utime, &stime);
344 times->stime += stime;
373 * p->stime and friends are only updated on system time and not on irq
398 * Also, p->stime needs to be updated for ksoftirqd.
460 *st = curr->stime;
561 u64 rtime, stime, utime; local
850 task_cputime(struct task_struct *t, u64 *utime, u64 *stime) argument
[all...]
H A Dcpuacct.c274 cputime.stime += cpustat[CPUTIME_SYSTEM];
275 cputime.stime += cpustat[CPUTIME_IRQ];
276 cputime.stime += cpustat[CPUTIME_SOFTIRQ];
/linux-master/kernel/
H A Dtsacct.c25 u64 utime, stime, utimescaled, stimescaled; local
68 task_cputime(tsk, &utime, &stime);
70 stats->ac_stime = div_u64(stime, NSEC_PER_USEC);
125 u64 utime, u64 stime)
132 time = stime + utime;
154 u64 utime, stime; local
158 task_cputime(tsk, &utime, &stime);
159 __acct_update_integrals(tsk, utime, stime);
169 __acct_update_integrals(tsk, tsk->utime, tsk->stime);
124 __acct_update_integrals(struct task_struct *tsk, u64 utime, u64 stime) argument
H A Ddelayacct.c131 u64 utime, stime, stimescaled, utimescaled; local
136 task_cputime(tsk, &utime, &stime);
138 tmp += utime + stime;
H A Dacct.c556 u64 utime, stime; local
585 task_cputime(current, &utime, &stime);
587 pacct->ac_stime += stime;
H A Dtaskstats.c218 u64 delta, utime, stime; local
254 task_cputime(tsk, &utime, &stime);
256 stats->ac_stime += div_u64(stime, NSEC_PER_USEC);
/linux-master/tools/testing/selftests/bpf/benchs/
H A Dbench_local_storage_rcu_tasks_trace.c90 long stime; local
102 if (fscanf(f, "%*s %*s %*s %*s %*s %*s %*s %*s %*s %*s %*s %*s %*s %*s %ld", &stime) != 1) {
107 return stime;
196 res->stime = ticks - ctx.prev_kthread_stime;
221 iter, res->stime / (double)res->gp_ct);
/linux-master/kernel/cgroup/
H A Drstat.c364 dst_bstat->cputime.stime += src_bstat->cputime.stime;
375 dst_bstat->cputime.stime -= src_bstat->cputime.stime;
466 rstatc->bstat.cputime.stime += delta_exec;
507 cputime->stime += sys;
522 u64 usage, utime, stime; local
532 &utime, &stime);
541 stime = bstat.cputime.stime;
[all...]
/linux-master/drivers/gpu/drm/amd/amdgpu/
H A Damdgpu_benchmark.c34 ktime_t stime, etime; local
38 stime = ktime_get();
53 *time_ms = ktime_ms_delta(etime, stime);
H A Damdgpu_mode.h680 int *hpos, ktime_t *stime, ktime_t *etime,
696 int *hpos, ktime_t *stime, ktime_t *etime,
/linux-master/drivers/gpu/drm/nouveau/
H A Dnouveau_display.h56 ktime_t *stime, ktime_t *etime,
H A Dnouveau_display.c84 ktime_t *stime, ktime_t *etime)
109 if (stime) *stime = ns_to_ktime(args.time[0]);
118 ktime_t *stime, ktime_t *etime,
122 stime, etime);
83 nouveau_display_scanoutpos_head(struct drm_crtc *crtc, int *vpos, int *hpos, ktime_t *stime, ktime_t *etime) argument
116 nouveau_display_scanoutpos(struct drm_crtc *crtc, bool in_vblank_irq, int *vpos, int *hpos, ktime_t *stime, ktime_t *etime, const struct drm_display_mode *mode) argument
/linux-master/tools/testing/selftests/bpf/
H A Dbench.h47 unsigned int stime; member in struct:bench_res
/linux-master/kernel/time/
H A Dposix-cpu-timers.c196 u64 utime, stime; local
201 task_cputime(p, &utime, &stime);
205 return utime + stime;
214 static inline void store_samples(u64 *samples, u64 stime, u64 utime, u64 rtime) argument
216 samples[CPUCLOCK_PROF] = stime + utime;
223 u64 stime, utime; local
225 task_cputime(p, &utime, &stime);
226 store_samples(samples, stime, utime, p->se.sum_exec_runtime);
232 u64 stime, utime, rtime; local
235 stime
[all...]
/linux-master/include/drm/
H A Ddrm_vblank.h266 ktime_t *stime,
H A Ddrm_modeset_helper_vtables.h469 * stime:
490 ktime_t *stime, ktime_t *etime,
/linux-master/drivers/gpu/drm/i915/display/
H A Dintel_vblank.c298 ktime_t *stime, ktime_t *etime,
342 if (stime)
343 *stime = ktime_get();
295 i915_get_crtc_scanoutpos(struct drm_crtc *_crtc, bool in_vblank_irq, int *vpos, int *hpos, ktime_t *stime, ktime_t *etime, const struct drm_display_mode *mode) argument
/linux-master/fs/btrfs/
H A Dioctl.c76 struct btrfs_ioctl_timespec_32 stime; /* in */ member in struct:btrfs_ioctl_received_subvol_args_32
2218 subvol_info->stime.sec = btrfs_stack_timespec_sec(&root_item->stime);
2219 subvol_info->stime.nsec = btrfs_stack_timespec_nsec(&root_item->stime);
4064 btrfs_set_stack_timespec_sec(&root_item->stime, sa->stime.sec);
4065 btrfs_set_stack_timespec_nsec(&root_item->stime, sa->stime.nsec);
4113 args64->stime
[all...]

Completed in 243 milliseconds

123