Home
last modified time | relevance | path

Searched refs:elapsed (Results 1 – 25 of 191) sorted by relevance

12345678

/OK3568_Linux_fs/yocto/poky/bitbake/lib/progressbar/
H A Dwidgets.py117 elapsed = pbar.seconds_elapsed
118 eta = elapsed * pbar.maxval / pbar.currval - elapsed
137 def _update_samples(self, currval, elapsed): argument
138 sample = (currval, elapsed)
145 def _eta(self, maxval, currval, elapsed): argument
146 return elapsed * maxval / float(currval) - elapsed
155 elapsed = pbar.seconds_elapsed
156 currval1, elapsed1 = self._update_samples(pbar.currval, elapsed)
157 eta = self._eta(pbar.maxval, pbar.currval, elapsed)
161 elapsed - elapsed1)
/OK3568_Linux_fs/kernel/net/ipv4/
H A Dtcp_timer.c29 u32 elapsed, start_ts; in tcp_clamp_rto_to_user_timeout() local
35 elapsed = tcp_time_stamp(tcp_sk(sk)) - start_ts; in tcp_clamp_rto_to_user_timeout()
36 remaining = icsk->icsk_user_timeout - elapsed; in tcp_clamp_rto_to_user_timeout()
47 s32 elapsed; in tcp_clamp_probe0_to_user_timeout() local
52 elapsed = tcp_jiffies32 - icsk->icsk_probes_tstamp; in tcp_clamp_probe0_to_user_timeout()
53 if (unlikely(elapsed < 0)) in tcp_clamp_probe0_to_user_timeout()
54 elapsed = 0; in tcp_clamp_probe0_to_user_timeout()
55 remaining = msecs_to_jiffies(icsk->icsk_user_timeout) - elapsed; in tcp_clamp_probe0_to_user_timeout()
678 u32 elapsed; in tcp_keepalive_timer() local
711 elapsed = keepalive_time_when(tp); in tcp_keepalive_timer()
[all …]
/OK3568_Linux_fs/yocto/poky/bitbake/lib/hashserv/
H A Dserver.py42 self.elapsed = 0
53 def add(self, elapsed): argument
55 self.elapsed += elapsed
59 self.stats.add(self.elapsed)
61 self.elapsed = 0
76 def add(self, elapsed): argument
79 self.m = elapsed
83 self.m = last_m + (elapsed - last_m) / self.num
84 self.s = self.s + (elapsed - last_m) * (elapsed - self.m)
86 self.total_time += elapsed
[all …]
/OK3568_Linux_fs/yocto/poky/bitbake/bin/
H A Dbitbake-hashclient68 elapsed = time.perf_counter() - start_time
76 max_time = max(elapsed, max_time)
93 elapsed = time.perf_counter() - start_time
95 …requests in %.1fs. %.1f requests per second" % (total_requests, elapsed, total_requests / elapsed))
96 print("Average request time %.8fs" % (elapsed / total_requests))
/OK3568_Linux_fs/kernel/drivers/gpu/drm/i915/selftests/
H A Di915_request.c1627 u32 elapsed[TF_COUNT], cycles; in measure_semaphore_response() local
1650 cs = intel_ring_begin(rq, 4 + 12 * ARRAY_SIZE(elapsed)); in measure_semaphore_response()
1658 for (i = 1; i <= ARRAY_SIZE(elapsed); i++) { in measure_semaphore_response()
1672 for (i = 1; i <= ARRAY_SIZE(elapsed); i++) { in measure_semaphore_response()
1683 elapsed[i - 1] = sema[i] - cycles; in measure_semaphore_response()
1686 cycles = trifilter(elapsed); in measure_semaphore_response()
1702 u32 elapsed[TF_COUNT], cycles; in measure_idle_dispatch() local
1718 for (i = 0; i < ARRAY_SIZE(elapsed); i++) { in measure_idle_dispatch()
1744 elapsed[i] = ENGINE_READ_FW(ce->engine, RING_TIMESTAMP); in measure_idle_dispatch()
1754 for (i = 0; i < ARRAY_SIZE(elapsed); i++) in measure_idle_dispatch()
[all …]
/OK3568_Linux_fs/kernel/arch/s390/kernel/
H A Dvtime.c56 static inline int virt_timer_forward(u64 elapsed) in virt_timer_forward() argument
62 elapsed = atomic64_add_return(elapsed, &virt_timer_elapsed); in virt_timer_forward()
63 return elapsed >= atomic64_read(&virt_timer_current); in virt_timer_forward()
278 unsigned long elapsed; in virt_timer_expire() local
283 elapsed = atomic64_read(&virt_timer_elapsed); in virt_timer_expire()
285 if (timer->expires < elapsed) in virt_timer_expire()
289 timer->expires -= elapsed; in virt_timer_expire()
296 atomic64_sub(elapsed, &virt_timer_elapsed); in virt_timer_expire()
/OK3568_Linux_fs/kernel/drivers/gpu/drm/msm/
H A Dmsm_gpu_trace.h57 TP_PROTO(struct msm_gem_submit *submit, u64 elapsed, u64 clock,
59 TP_ARGS(submit, elapsed, clock, start, end),
65 __field(u64, elapsed)
75 __entry->elapsed = elapsed;
82 __entry->elapsed, __entry->clock,
H A Dmsm_gpu.c603 uint32_t elapsed; in update_sw_cntrs() local
611 elapsed = ktime_to_us(ktime_sub(time, gpu->last_sample.time)); in update_sw_cntrs()
613 gpu->totaltime += elapsed; in update_sw_cntrs()
615 gpu->activetime += elapsed; in update_sw_cntrs()
682 u64 elapsed, clock = 0; in retire_submit() local
687 elapsed = (stats->alwayson_end - stats->alwayson_start) * 10000; in retire_submit()
688 do_div(elapsed, 192); in retire_submit()
691 if (elapsed) { in retire_submit()
693 do_div(clock, elapsed); in retire_submit()
696 trace_msm_gpu_submit_retired(submit, elapsed, clock, in retire_submit()
/OK3568_Linux_fs/u-boot/test/py/tests/
H A Dtest_sleep.py19 elapsed = tend - tstart
20 assert elapsed >= sleep_time
23 assert elapsed < (sleep_time + 0.25)
/OK3568_Linux_fs/kernel/tools/testing/selftests/timens/
H A Dtimer.c21 long long elapsed; in run_test() local
58 elapsed = new_value.it_value.tv_sec; in run_test()
59 if (abs(elapsed - 3600) > 60) { in run_test()
61 clockid, elapsed); in run_test()
H A Dtimerfd.c28 long long elapsed; in run_test() local
63 elapsed = new_value.it_value.tv_sec; in run_test()
64 if (abs(elapsed - 3600) > 60) { in run_test()
66 clockid, elapsed); in run_test()
/OK3568_Linux_fs/kernel/drivers/clocksource/
H A Dtimer-atmel-pit.c77 u32 elapsed; in read_pit_clk() local
81 elapsed = data->cnt; in read_pit_clk()
85 elapsed += PIT_PICNT(t) * data->cycle; in read_pit_clk()
86 elapsed += PIT_CPIV(t); in read_pit_clk()
87 return elapsed; in read_pit_clk()
/OK3568_Linux_fs/kernel/kernel/
H A Dacct.c418 u64 elapsed, run_time; in fill_ac() local
435 elapsed = nsec_to_AHZ(run_time); in fill_ac()
437 ac->ac_etime = encode_float(elapsed); in fill_ac()
439 ac->ac_etime = encode_comp_t(elapsed < (unsigned long) -1l ? in fill_ac()
440 (unsigned long) elapsed : (unsigned long) -1l); in fill_ac()
445 comp2_t etime = encode_comp2_t(elapsed); in fill_ac()
451 do_div(elapsed, AHZ); in fill_ac()
452 btime = ktime_get_real_seconds() - elapsed; in fill_ac()
/OK3568_Linux_fs/u-boot/arch/arm/mach-imx/
H A Di2c-mxv7.c19 ulong elapsed, start_time; in force_idle_bus() local
50 elapsed = get_timer(start_time); in force_idle_bus()
51 if (elapsed > (CONFIG_SYS_HZ / 5)) { /* .2 seconds */ in force_idle_bus()
/OK3568_Linux_fs/prebuilts/gcc/linux-x86/arm/gcc-arm-10.3-2021.07-x86_64-arm-none-linux-gnueabihf/lib/gcc/arm-none-linux-gnueabihf/10.3.1/plugin/include/
H A Dtimevar.h134 const char *name, const timevar_time_def &elapsed);
135 static bool all_zero (const timevar_time_def &elapsed);
144 struct timevar_time_def elapsed; member
/OK3568_Linux_fs/prebuilts/gcc/linux-x86/aarch64/gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu/lib/gcc/aarch64-none-linux-gnu/10.3.1/plugin/include/
H A Dtimevar.h134 const char *name, const timevar_time_def &elapsed);
135 static bool all_zero (const timevar_time_def &elapsed);
144 struct timevar_time_def elapsed; member
/OK3568_Linux_fs/kernel/drivers/net/wireless/intel/iwlwifi/mvm/
H A Dutils.c1023 u8 iwl_mvm_tcm_load_percentage(u32 airtime, u32 elapsed) in iwl_mvm_tcm_load_percentage() argument
1025 if (!elapsed) in iwl_mvm_tcm_load_percentage()
1028 return (100 * airtime / elapsed) / USEC_PER_MSEC; in iwl_mvm_tcm_load_percentage()
1032 iwl_mvm_tcm_load(struct iwl_mvm *mvm, u32 airtime, unsigned long elapsed) in iwl_mvm_tcm_load() argument
1034 u8 load = iwl_mvm_tcm_load_percentage(airtime, elapsed); in iwl_mvm_tcm_load()
1149 unsigned int elapsed, in iwl_mvm_check_uapsd_agg_expected_tpt() argument
1165 do_div(tpt, elapsed); in iwl_mvm_check_uapsd_agg_expected_tpt()
1179 do_div(tpt, elapsed * 100); in iwl_mvm_check_uapsd_agg_expected_tpt()
1207 unsigned int elapsed = jiffies_to_msecs(ts - mvm->tcm.ts); in iwl_mvm_calc_tcm_stats() local
1223 mvm->tcm.result.elapsed = elapsed; in iwl_mvm_calc_tcm_stats()
[all …]
/OK3568_Linux_fs/kernel/kernel/power/
H A Dprocess.c39 ktime_t start, end, elapsed; in try_to_freeze_tasks() local
87 elapsed = ktime_sub(end, start); in try_to_freeze_tasks()
88 elapsed_msecs = ktime_to_ms(elapsed); in try_to_freeze_tasks()
/OK3568_Linux_fs/external/xserver/hw/dmx/
H A Ddmxstat.c157 unsigned long elapsed = usec(stop, start); in dmxStatSync() local
162 dmxStatValue(&s->usec, elapsed); in dmxStatSync()
166 if (elapsed < thresh) { in dmxStatSync()
/OK3568_Linux_fs/app/forlinx/flapp/src/plugins/opengl/
H A Dglwidget.cpp151 if (const int elapsed = m_time.elapsed()) { in paintGL() local
153 framesPerSecond.setNum(m_frames /(elapsed / 1000.0), 'f', 2); in paintGL()
/OK3568_Linux_fs/kernel/tools/perf/scripts/python/
H A Dfutex-contention.py43 elapsed = nsecs(s, ns) - thread_blocktime[tid]
44 add_stats(lock_waits, (tid, thread_thislock[tid]), elapsed)
/OK3568_Linux_fs/kernel/drivers/gpu/drm/radeon/
H A Dradeon_ring.c255 uint64_t elapsed; in radeon_ring_test_lockup() local
263 elapsed = jiffies_to_msecs(jiffies_64 - last); in radeon_ring_test_lockup()
264 if (radeon_lockup_timeout && elapsed >= radeon_lockup_timeout) { in radeon_ring_test_lockup()
266 ring->idx, elapsed); in radeon_ring_test_lockup()
/OK3568_Linux_fs/u-boot/drivers/i2c/
H A Dmxc_i2c.c197 ulong elapsed; in wait_for_sr_state() local
219 elapsed = get_timer(start_time); in wait_for_sr_state()
220 if (elapsed > (CONFIG_SYS_HZ / 10)) /* .1 seconds */ in wait_for_sr_state()
359 ulong elapsed, start_time; in i2c_idle_bus() local
398 elapsed = get_timer(start_time); in i2c_idle_bus()
399 if (elapsed > (CONFIG_SYS_HZ / 5)) { /* .2 seconds */ in i2c_idle_bus()
/OK3568_Linux_fs/kernel/tools/perf/Documentation/
H A Dexamples.txt42 0.613972165 seconds time elapsed
63 0.643954516 seconds time elapsed ( +- 2.363% )
171 10.000591410 seconds time elapsed
187 1.058135029 seconds time elapsed ( +- 3.089% )
/OK3568_Linux_fs/external/camera_engine_rkaiq/rkaiq/xcore/
H A Dtask_service.h159 const std::chrono::duration<double, std::milli> elapsed = end - start; in loop() local
160 if (elapsed >= max_process_time_) { in loop()
162 TASK_LOG("params processs elapsed %lf exceeds %lf", elapsed.count(), in loop()

12345678