/linux-master/sound/core/ |
H A D | hrtimer.c | 32 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 D | types.h | 9 * @stime: time spent in kernel mode, in nanoseconds 18 u64 stime; member in struct:task_cputime
|
H A D | cputime.h | 13 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 D | signal.h | 50 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 D | accounting.h | 13 unsigned long stime; member in struct:cpu_accounting_data
|
H A D | cputime.h | 72 acct->stime += (tb - acct->starttime);
|
/linux-master/arch/powerpc/kernel/ |
H A D | time.c | 171 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 D | cputime.c | 172 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 D | cpuacct.c | 274 cputime.stime += cpustat[CPUTIME_SYSTEM]; 275 cputime.stime += cpustat[CPUTIME_IRQ]; 276 cputime.stime += cpustat[CPUTIME_SOFTIRQ];
|
/linux-master/kernel/ |
H A D | tsacct.c | 25 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 D | delayacct.c | 131 u64 utime, stime, stimescaled, utimescaled; local 136 task_cputime(tsk, &utime, &stime); 138 tmp += utime + stime;
|
H A D | acct.c | 556 u64 utime, stime; local 585 task_cputime(current, &utime, &stime); 587 pacct->ac_stime += stime;
|
H A D | taskstats.c | 218 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 D | bench_local_storage_rcu_tasks_trace.c | 90 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 D | rstat.c | 364 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 D | amdgpu_benchmark.c | 34 ktime_t stime, etime; local 38 stime = ktime_get(); 53 *time_ms = ktime_ms_delta(etime, stime);
|
H A D | amdgpu_mode.h | 680 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 D | nouveau_display.h | 56 ktime_t *stime, ktime_t *etime,
|
H A D | nouveau_display.c | 84 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 D | bench.h | 47 unsigned int stime; member in struct:bench_res
|
/linux-master/kernel/time/ |
H A D | posix-cpu-timers.c | 196 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 D | drm_vblank.h | 266 ktime_t *stime,
|
H A D | drm_modeset_helper_vtables.h | 469 * stime: 490 ktime_t *stime, ktime_t *etime,
|
/linux-master/drivers/gpu/drm/i915/display/ |
H A D | intel_vblank.c | 298 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 D | ioctl.c | 76 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...] |