Home
last modified time | relevance | path

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

1234

/linux/net/ipv4/
A Dtcp_timer.c29 u32 elapsed, start_ts; in tcp_clamp_rto_to_user_timeout() local
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
53 if (unlikely(elapsed < 0)) in tcp_clamp_probe0_to_user_timeout()
54 elapsed = 0; 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()
717 elapsed = keepalive_time_elapsed(tp); in tcp_keepalive_timer()
734 elapsed = keepalive_intvl_when(tp); in tcp_keepalive_timer()
739 elapsed = TCP_RESOURCE_PROBE_INTERVAL; in tcp_keepalive_timer()
[all …]
/linux/drivers/gpu/drm/msm/
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,
A Dmsm_gpu.c562 uint32_t elapsed; in update_sw_cntrs() local
570 elapsed = ktime_to_us(ktime_sub(time, gpu->last_sample.time)); in update_sw_cntrs()
572 gpu->totaltime += elapsed; in update_sw_cntrs()
574 gpu->activetime += elapsed; in update_sw_cntrs()
641 u64 elapsed, clock = 0; in retire_submit() local
646 elapsed = (stats->alwayson_end - stats->alwayson_start) * 10000; in retire_submit()
647 do_div(elapsed, 192); in retire_submit()
650 if (elapsed) { in retire_submit()
652 do_div(clock, elapsed); in retire_submit()
655 trace_msm_gpu_submit_retired(submit, elapsed, clock, in retire_submit()
/linux/arch/s390/kernel/
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()
290 unsigned long elapsed; in virt_timer_expire() local
295 elapsed = atomic64_read(&virt_timer_elapsed); in virt_timer_expire()
297 if (timer->expires < elapsed) in virt_timer_expire()
301 timer->expires -= elapsed; in virt_timer_expire()
308 atomic64_sub(elapsed, &virt_timer_elapsed); in virt_timer_expire()
/linux/tools/testing/selftests/timens/
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()
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()
/linux/drivers/gpu/drm/i915/selftests/
A Di915_request.c1888 cycles = trifilter(elapsed); in measure_semaphore_response()
1957 elapsed[i] = sema[i] - elapsed[i]; in measure_idle_dispatch()
1959 cycles = trifilter(elapsed); in measure_idle_dispatch()
2033 elapsed[i - 1] = sema[i] - elapsed[i]; in measure_busy_dispatch()
2036 cycles = trifilter(elapsed); in measure_busy_dispatch()
2149 cycles = trifilter(elapsed); in measure_inter_request()
2244 cycles = trifilter(elapsed); in measure_context_switch()
2345 elapsed[i - 1] = sema[2 * i + 0] - elapsed[i - 1]; in measure_preemption()
2347 cycles = trifilter(elapsed); in measure_preemption()
2355 cycles = trifilter(elapsed); in measure_preemption()
[all …]
/linux/drivers/clocksource/
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()
/linux/kernel/
A Dacct.c415 u64 elapsed, run_time; in fill_ac() local
432 elapsed = nsec_to_AHZ(run_time); in fill_ac()
434 ac->ac_etime = encode_float(elapsed); in fill_ac()
436 ac->ac_etime = encode_comp_t(elapsed < (unsigned long) -1l ? in fill_ac()
437 (unsigned long) elapsed : (unsigned long) -1l); in fill_ac()
442 comp2_t etime = encode_comp2_t(elapsed); in fill_ac()
448 do_div(elapsed, AHZ); in fill_ac()
449 btime = ktime_get_real_seconds() - elapsed; in fill_ac()
/linux/drivers/net/wireless/intel/iwlwifi/mvm/
A Dutils.c720 u8 iwl_mvm_tcm_load_percentage(u32 airtime, u32 elapsed) in iwl_mvm_tcm_load_percentage() argument
722 if (!elapsed) in iwl_mvm_tcm_load_percentage()
725 return (100 * airtime / elapsed) / USEC_PER_MSEC; in iwl_mvm_tcm_load_percentage()
731 u8 load = iwl_mvm_tcm_load_percentage(airtime, elapsed); in iwl_mvm_tcm_load()
833 unsigned int elapsed, in iwl_mvm_check_uapsd_agg_expected_tpt() argument
849 do_div(tpt, elapsed); in iwl_mvm_check_uapsd_agg_expected_tpt()
863 do_div(tpt, elapsed * 100); in iwl_mvm_check_uapsd_agg_expected_tpt()
891 unsigned int elapsed = jiffies_to_msecs(ts - mvm->tcm.ts); in iwl_mvm_calc_tcm_stats() local
907 mvm->tcm.result.elapsed = elapsed; in iwl_mvm_calc_tcm_stats()
922 load = iwl_mvm_tcm_load(mvm, airtime, elapsed); in iwl_mvm_calc_tcm_stats()
[all …]
/linux/tools/testing/selftests/syscall_user_dispatch/
A Dsud_benchmark.c82 double elapsed = 0; in calibrate_set() local
86 while (elapsed < 1) { in calibrate_set()
87 elapsed += one_sysinfo_step(); in calibrate_set()
/linux/kernel/power/
A Dprocess.c37 ktime_t start, end, elapsed; in try_to_freeze_tasks() local
85 elapsed = ktime_sub(end, start); in try_to_freeze_tasks()
86 elapsed_msecs = ktime_to_ms(elapsed); in try_to_freeze_tasks()
/linux/tools/perf/scripts/python/
A Dfutex-contention.py43 elapsed = nsecs(s, ns) - thread_blocktime[tid]
44 add_stats(lock_waits, (tid, thread_thislock[tid]), elapsed)
/linux/drivers/gpu/drm/radeon/
A Dradeon_ring.c256 uint64_t elapsed; in radeon_ring_test_lockup() local
264 elapsed = jiffies_to_msecs(jiffies_64 - last); in radeon_ring_test_lockup()
265 if (radeon_lockup_timeout && elapsed >= radeon_lockup_timeout) { in radeon_ring_test_lockup()
267 ring->idx, elapsed); in radeon_ring_test_lockup()
/linux/tools/perf/Documentation/
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% )
/linux/mm/
A Dpage-writeback.c1072 unsigned long elapsed, in wb_update_write_bandwidth() argument
1092 if (unlikely(elapsed > period)) { in wb_update_write_bandwidth()
1093 bw = div64_ul(bw, elapsed); in wb_update_write_bandwidth()
1097 bw += (u64)wb->write_bandwidth * (period - elapsed); in wb_update_write_bandwidth()
1177 unsigned long elapsed) in wb_update_dirty_ratelimit() argument
1339 unsigned long elapsed; in __wb_update_bandwidth() local
1351 elapsed = max(now - wb->bw_time_stamp, 1UL); in __wb_update_bandwidth()
1357 wb_update_dirty_ratelimit(gdtc, dirtied, elapsed); in __wb_update_bandwidth()
1365 wb_update_dirty_ratelimit(mdtc, dirtied, elapsed); in __wb_update_bandwidth()
1368 wb_update_write_bandwidth(wb, elapsed, written); in __wb_update_bandwidth()
[all …]
/linux/sound/drivers/
A Ddummy.c231 int elapsed; member
254 dpcm->elapsed++; in dummy_systimer_update()
289 dpcm->elapsed = 0; in dummy_systimer_prepare()
298 int elapsed = 0; in dummy_systimer_callback() local
303 elapsed = dpcm->elapsed; in dummy_systimer_callback()
304 dpcm->elapsed = 0; in dummy_systimer_callback()
306 if (elapsed) in dummy_systimer_callback()
/linux/sound/soc/sh/rcar/
A Dssi.c672 bool elapsed = false; in __rsnd_ssi_interrupt() local
685 elapsed = rsnd_ssi_pio_interrupt(mod, io); in __rsnd_ssi_interrupt()
701 if (elapsed) in __rsnd_ssi_interrupt()
875 bool elapsed = false; in rsnd_ssi_pio_interrupt() local
902 elapsed = true; in rsnd_ssi_pio_interrupt()
907 return elapsed; in rsnd_ssi_pio_interrupt()
/linux/drivers/rtc/
A Drtc-snvs.c100 u32 elapsed; in rtc_write_sync_lp() local
113 elapsed = count2 - count1; /* wrap around _is_ handled! */ in rtc_write_sync_lp()
114 } while (elapsed < 3 && --timeout); in rtc_write_sync_lp()
/linux/drivers/md/
A Ddm-flakey.c321 unsigned elapsed; in flakey_map() local
329 elapsed = (jiffies - fc->start_time) / HZ; in flakey_map()
330 if (elapsed % (fc->up_interval + fc->down_interval) >= fc->up_interval) { in flakey_map()
/linux/sound/sparc/
A Damd7930.c497 unsigned int elapsed; in snd_amd7930_interrupt() local
502 elapsed = 0; in snd_amd7930_interrupt()
514 elapsed |= AMD7930_FLAG_PLAYBACK; in snd_amd7930_interrupt()
523 elapsed |= AMD7930_FLAG_CAPTURE; in snd_amd7930_interrupt()
529 if (elapsed & AMD7930_FLAG_PLAYBACK) in snd_amd7930_interrupt()
/linux/fs/btrfs/
A Ddiscard.c372 u64 elapsed = now - discard_ctl->prev_discard_time; in __btrfs_discard_schedule_work() local
374 if (delay > elapsed) in __btrfs_discard_schedule_work()
375 delay -= elapsed; in __btrfs_discard_schedule_work()
/linux/Documentation/devicetree/bindings/input/
A Dstmpe-keypad.txt9 - st,scan-count : Scanning cycles elapsed before key data is updated
/linux/drivers/dma/
A Dmxs-dma.c204 unsigned long elapsed = 0; in mxs_dma_reset_chan() local
216 while ((readl(reg_dbg1) & 0xf) == 0x8 && elapsed < max_wait) { in mxs_dma_reset_chan()
218 elapsed += 100; in mxs_dma_reset_chan()
221 if (elapsed >= max_wait) in mxs_dma_reset_chan()
/linux/sound/pci/mixart/
A Dmixart_core.c472 int elapsed = 0; in snd_mixart_threaded_irq() local
483 elapsed = 1; in snd_mixart_threaded_irq()
493 if(elapsed) { in snd_mixart_threaded_irq()

Completed in 60 milliseconds

1234