Home
last modified time | relevance | path

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

12345

/openbmc/linux/sound/core/
H A Dhrtimer.c41 stime->in_callback = true; 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()
72 stime->timer = t; in snd_hrtimer_open()
74 t->private_data = stime; in snd_hrtimer_open()
82 if (stime) { in snd_hrtimer_close()
89 kfree(stime); in snd_hrtimer_close()
99 if (stime->in_callback) in snd_hrtimer_start()
[all …]
/openbmc/linux/kernel/sched/
H A Dcputime.c338 times->stime = sig->stime; in thread_group_cputime()
344 times->stime += stime; in thread_group_cputime()
466 *st = p->stime; in task_cputime_adjusted()
579 stime = curr->stime; in cputime_adjust()
597 stime = mul_u64_u64_div_u64(stime, rtime, stime + utime); in cputime_adjust()
609 if (stime < prev->stime) in cputime_adjust()
610 stime = prev->stime; in cputime_adjust()
622 prev->stime = stime; in cputime_adjust()
859 *stime = t->stime; in task_cputime()
868 *stime = t->stime; in task_cputime()
[all …]
H 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()
/openbmc/linux/arch/powerpc/kernel/
H 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 …]
/openbmc/linux/kernel/
H 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()
H A 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()
/openbmc/linux/include/linux/sched/
H 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()
H A Dtypes.h18 u64 stime; member
/openbmc/linux/kernel/cgroup/
H A Drstat.c325 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()
/openbmc/google-misc/subprojects/metrics-ipmi-blobs/
H A Dmetric.cpp87 float stime; member
93 const float negTime = -(utime + stime); in operator <()
94 const float negOtherTime = -(other.utime + other.stime); in operator <()
127 entry.stime = t.stime; in getProcStatMetric()
143 others.utime = others.stime = 0; in getProcStatMetric()
167 others.stime += entry.stime; in getProcStatMetric()
181 .stime = entry.stime, in getProcStatMetric()
191 .stime = others.stime, in getProcStatMetric()
H A Dutil.hpp28 float stime; member
H A DREADME.md11 4. Status of the top 10 processes: cmdline, utime, stime
/openbmc/openbmc/meta-openembedded/meta-multimedia/recipes-multimedia/dvb-apps/files/
H A D0001-dvbdate-Remove-Obsoleted-stime-API-calls.patch4 Subject: [PATCH] dvbdate: Remove Obsoleted stime API calls
6 stime() has been deprecated in glibc 2.31+ its recommended to
21 - if (stime(new_time)) {
/openbmc/openbmc/meta-google/recipes-phosphor/flash/gbmc-update/
H A D40-gbmc-upgrade.sh55 stime=5
72 if (( SECONDS + stime >= timeout )); then
77 sleep $stime
/openbmc/linux/tools/testing/selftests/bpf/benchs/
H 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()
/openbmc/linux/arch/ia64/kernel/
H A Dtime.c83 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()
/openbmc/linux/kernel/time/
H 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 …]
/openbmc/linux/drivers/gpu/drm/amd/amdgpu/
H 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()
/openbmc/u-boot/drivers/net/
H A Drtl8169.c614 int stime = currticks(); in rtl_send_common() local
660 printf("%s elapsed time : %lu\n", __func__, currticks()-stime); in rtl_send_common()
722 int stime = currticks(); in rtl8169_hw_start() local
794 printf("%s elapsed time : %lu\n", __func__, currticks()-stime); in rtl8169_hw_start()
807 int stime = currticks(); in rtl8169_init_ring() local
841 printf("%s elapsed time : %lu\n", __func__, currticks()-stime); in rtl8169_init_ring()
856 int stime = currticks(); in rtl8169_common_start() local
877 printf("%s elapsed time : %lu\n", __func__, currticks()-stime); in rtl8169_common_start()
/openbmc/linux/arch/powerpc/include/asm/
H A Daccounting.h13 unsigned long stime; member
H A Dcputime.h72 acct->stime += (tb - acct->starttime); in account_cpu_user_exit()
/openbmc/google-misc/subprojects/metrics-ipmi-blobs/test/
H A Dutil_test.cpp71 EXPECT_LT(std::abs(t.stime - 2461.10), EPS); in TEST()
87 EXPECT_EQ(t.stime, 0); in TEST()
/openbmc/qemu/tests/migration/guestperf/
H A Dengine.py62 stime = int(fields[13])
64 records.append(TimingRecord(tid, now, 1000 * (stime + utime) / jiffies_per_sec))
75 stime = int(fields[13])
77 return TimingRecord(pid, now, 1000 * (stime + utime) / jiffies_per_sec)
/openbmc/linux/drivers/gpu/drm/i915/display/
H A Dintel_vblank.c257 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()
/openbmc/linux/drivers/gpu/drm/nouveau/
H 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()

12345