Home
last modified time | relevance | path

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

1234

/Linux-v5.4/drivers/gpu/drm/msm/
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,
Dmsm_gpu.c577 uint32_t elapsed; in update_sw_cntrs() local
585 elapsed = ktime_to_us(ktime_sub(time, gpu->last_sample.time)); in update_sw_cntrs()
587 gpu->totaltime += elapsed; in update_sw_cntrs()
589 gpu->activetime += elapsed; in update_sw_cntrs()
656 u64 elapsed, clock = 0; in retire_submit() local
661 elapsed = (stats->alwayson_end - stats->alwayson_start) * 10000; in retire_submit()
662 do_div(elapsed, 192); in retire_submit()
665 if (elapsed) { in retire_submit()
667 do_div(clock, elapsed); in retire_submit()
670 trace_msm_gpu_submit_retired(submit, elapsed, clock, in retire_submit()
/Linux-v5.4/net/ipv4/
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()
359 u32 elapsed = tcp_model_timeout(sk, icsk->icsk_probes_out, in tcp_probe_timer() local
362 if (elapsed >= icsk->icsk_user_timeout) in tcp_probe_timer()
655 u32 elapsed; in tcp_keepalive_timer() local
688 elapsed = keepalive_time_when(tp); in tcp_keepalive_timer()
694 elapsed = keepalive_time_elapsed(tp); in tcp_keepalive_timer()
696 if (elapsed >= keepalive_time_when(tp)) { in tcp_keepalive_timer()
701 elapsed >= msecs_to_jiffies(icsk->icsk_user_timeout) && in tcp_keepalive_timer()
[all …]
/Linux-v5.4/arch/s390/kernel/
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()
277 unsigned long elapsed; in virt_timer_expire() local
282 elapsed = atomic64_read(&virt_timer_elapsed); in virt_timer_expire()
284 if (timer->expires < elapsed) in virt_timer_expire()
288 timer->expires -= elapsed; in virt_timer_expire()
295 atomic64_sub(elapsed, &virt_timer_elapsed); in virt_timer_expire()
/Linux-v5.4/drivers/clocksource/
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-v5.4/kernel/
Dacct.c418 u64 elapsed, run_time; in fill_ac() local
434 elapsed = nsec_to_AHZ(run_time); in fill_ac()
436 ac->ac_etime = encode_float(elapsed); in fill_ac()
438 ac->ac_etime = encode_comp_t(elapsed < (unsigned long) -1l ? in fill_ac()
439 (unsigned long) elapsed : (unsigned long) -1l); in fill_ac()
444 comp2_t etime = encode_comp2_t(elapsed); in fill_ac()
450 do_div(elapsed, AHZ); in fill_ac()
451 ac->ac_btime = get_seconds() - elapsed; in fill_ac()
/Linux-v5.4/kernel/power/
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-v5.4/tools/perf/scripts/python/
Dfutex-contention.py39 elapsed = nsecs(s, ns) - thread_blocktime[tid]
40 add_stats(lock_waits, (tid, thread_thislock[tid]), elapsed)
/Linux-v5.4/drivers/net/wireless/intel/iwlwifi/mvm/
Dutils.c1038 u8 iwl_mvm_tcm_load_percentage(u32 airtime, u32 elapsed) in iwl_mvm_tcm_load_percentage() argument
1040 if (!elapsed) in iwl_mvm_tcm_load_percentage()
1043 return (100 * airtime / elapsed) / USEC_PER_MSEC; in iwl_mvm_tcm_load_percentage()
1047 iwl_mvm_tcm_load(struct iwl_mvm *mvm, u32 airtime, unsigned long elapsed) in iwl_mvm_tcm_load() argument
1049 u8 load = iwl_mvm_tcm_load_percentage(airtime, elapsed); in iwl_mvm_tcm_load()
1164 unsigned int elapsed, in iwl_mvm_check_uapsd_agg_expected_tpt() argument
1180 do_div(tpt, elapsed); in iwl_mvm_check_uapsd_agg_expected_tpt()
1194 do_div(tpt, elapsed * 100); in iwl_mvm_check_uapsd_agg_expected_tpt()
1222 unsigned int elapsed = jiffies_to_msecs(ts - mvm->tcm.ts); in iwl_mvm_calc_tcm_stats() local
1238 mvm->tcm.result.elapsed = elapsed; in iwl_mvm_calc_tcm_stats()
[all …]
/Linux-v5.4/drivers/gpu/drm/radeon/
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()
/Linux-v5.4/tools/perf/Documentation/
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-v5.4/mm/
Dpage-writeback.c1084 unsigned long elapsed, in wb_update_write_bandwidth() argument
1104 if (unlikely(elapsed > period)) { in wb_update_write_bandwidth()
1105 do_div(bw, elapsed); in wb_update_write_bandwidth()
1109 bw += (u64)wb->write_bandwidth * (period - elapsed); in wb_update_write_bandwidth()
1189 unsigned long elapsed) in wb_update_dirty_ratelimit() argument
1209 dirty_rate = (dirtied - wb->dirtied_stamp) * HZ / elapsed; in wb_update_dirty_ratelimit()
1352 unsigned long elapsed = now - wb->bw_time_stamp; in __wb_update_bandwidth() local
1361 if (elapsed < BANDWIDTH_INTERVAL) in __wb_update_bandwidth()
1371 if (elapsed > HZ && time_before(wb->bw_time_stamp, start_time)) in __wb_update_bandwidth()
1376 wb_update_dirty_ratelimit(gdtc, dirtied, elapsed); in __wb_update_bandwidth()
[all …]
/Linux-v5.4/sound/drivers/
Ddummy.c232 int elapsed; member
255 dpcm->elapsed++; in dummy_systimer_update()
290 dpcm->elapsed = 0; in dummy_systimer_prepare()
299 int elapsed = 0; in dummy_systimer_callback() local
304 elapsed = dpcm->elapsed; in dummy_systimer_callback()
305 dpcm->elapsed = 0; in dummy_systimer_callback()
307 if (elapsed) in dummy_systimer_callback()
/Linux-v5.4/drivers/rtc/
Drtc-snvs.c101 u32 elapsed; in rtc_write_sync_lp() local
114 elapsed = count2 - count1; /* wrap around _is_ handled! */ in rtc_write_sync_lp()
115 } while (elapsed < 3 && --timeout); in rtc_write_sync_lp()
/Linux-v5.4/sound/soc/sh/rcar/
Dssi.c646 bool elapsed = false; in __rsnd_ssi_interrupt() local
659 elapsed = rsnd_ssi_pio_interrupt(mod, io); in __rsnd_ssi_interrupt()
673 if (elapsed) in __rsnd_ssi_interrupt()
844 bool elapsed = false; in rsnd_ssi_pio_interrupt() local
871 elapsed = true; in rsnd_ssi_pio_interrupt()
876 return elapsed; in rsnd_ssi_pio_interrupt()
/Linux-v5.4/drivers/md/
Ddm-flakey.c321 unsigned elapsed; in flakey_map() local
330 elapsed = (jiffies - fc->start_time) / HZ; in flakey_map()
331 if (elapsed % (fc->up_interval + fc->down_interval) >= fc->up_interval) { in flakey_map()
/Linux-v5.4/Documentation/devicetree/bindings/input/
Dstmpe-keypad.txt9 - st,scan-count : Scanning cycles elapsed before key data is updated
/Linux-v5.4/sound/sparc/
Damd7930.c498 unsigned int elapsed; in snd_amd7930_interrupt() local
503 elapsed = 0; in snd_amd7930_interrupt()
515 elapsed |= AMD7930_FLAG_PLAYBACK; in snd_amd7930_interrupt()
524 elapsed |= AMD7930_FLAG_CAPTURE; in snd_amd7930_interrupt()
530 if (elapsed & AMD7930_FLAG_PLAYBACK) in snd_amd7930_interrupt()
/Linux-v5.4/Documentation/devicetree/bindings/watchdog/
Dsbsa-gwdt.txt4 after two stages of timeout have elapsed. A detailed definition of the
Dgpio-wdt.txt19 to toggle the signal when the device is open and the timeout elapsed.
/Linux-v5.4/sound/pci/mixart/
Dmixart_core.c473 int elapsed = 0; in snd_mixart_threaded_irq() local
484 elapsed = 1; in snd_mixart_threaded_irq()
494 if(elapsed) { in snd_mixart_threaded_irq()
/Linux-v5.4/drivers/dma/
Dmxs-dma.c223 unsigned long elapsed = 0; in mxs_dma_reset_chan() local
235 while ((readl(reg_dbg1) & 0xf) == 0x8 && elapsed < max_wait) { in mxs_dma_reset_chan()
237 elapsed += 100; in mxs_dma_reset_chan()
240 if (elapsed >= max_wait) in mxs_dma_reset_chan()
/Linux-v5.4/Documentation/trace/
Dtracepoint-analysis.rst107 10.002577764 seconds time elapsed
135 0.973913387 seconds time elapsed
167 0.982653002 seconds time elapsed ( +- 1.448% )
186 1.002251757 seconds time elapsed ( +- 0.005% )
/Linux-v5.4/arch/x86/kvm/
Di8254.c84 s64 elapsed; in __kpit_elapsed() local
101 elapsed = ps->period - ktime_to_ns(remaining); in __kpit_elapsed()
103 return elapsed; in __kpit_elapsed()
/Linux-v5.4/net/sctp/
Dsm_sideeffect.c368 u32 elapsed, timeout; in sctp_generate_heartbeat_event() local
382 elapsed = jiffies - transport->last_time_sent; in sctp_generate_heartbeat_event()
384 if (elapsed < timeout) { in sctp_generate_heartbeat_event()
385 elapsed = timeout - elapsed; in sctp_generate_heartbeat_event()
386 if (!mod_timer(&transport->hb_timer, jiffies + elapsed)) in sctp_generate_heartbeat_event()

1234