| /linux/net/ipv4/ |
| A D | tcp_timer.c | 31 u32 elapsed, user_timeout; in tcp_clamp_rto_to_user_timeout() local 40 elapsed /= USEC_PER_MSEC; in tcp_clamp_rto_to_user_timeout() 42 remaining = user_timeout - elapsed; in tcp_clamp_rto_to_user_timeout() 53 s32 elapsed; in tcp_clamp_probe0_to_user_timeout() local 60 if (unlikely(elapsed < 0)) in tcp_clamp_probe0_to_user_timeout() 61 elapsed = 0; in tcp_clamp_probe0_to_user_timeout() 758 u32 elapsed; in tcp_keepalive_timer() local 791 elapsed = keepalive_time_when(tp); in tcp_keepalive_timer() 797 elapsed = keepalive_time_elapsed(tp); in tcp_keepalive_timer() 817 elapsed = keepalive_intvl_when(tp); in tcp_keepalive_timer() [all …]
|
| /linux/tools/testing/selftests/timens/ |
| A D | timer.c | 21 long long elapsed; in run_test() local 58 elapsed = new_value.it_value.tv_sec; in run_test() 59 if (llabs(elapsed - 3600) > 60) { in run_test() 61 clockid, elapsed); in run_test()
|
| A D | timerfd.c | 28 long long elapsed; in run_test() local 63 elapsed = new_value.it_value.tv_sec; in run_test() 64 if (llabs(elapsed - 3600) > 60) { in run_test() 66 clockid, elapsed); in run_test()
|
| /linux/arch/s390/kernel/ |
| A D | vtime.c | 49 static inline int virt_timer_forward(u64 elapsed) in virt_timer_forward() argument 55 elapsed = atomic64_add_return(elapsed, &virt_timer_elapsed); in virt_timer_forward() 56 return elapsed >= atomic64_read(&virt_timer_current); in virt_timer_forward() 287 unsigned long elapsed; in virt_timer_expire() local 292 elapsed = atomic64_read(&virt_timer_elapsed); in virt_timer_expire() 294 if (timer->expires < elapsed) in virt_timer_expire() 298 timer->expires -= elapsed; in virt_timer_expire() 305 atomic64_sub(elapsed, &virt_timer_elapsed); in virt_timer_expire()
|
| /linux/drivers/gpu/drm/msm/ |
| A D | msm_gpu_trace.h | 57 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 D | msm_gpu.c | 575 uint32_t elapsed; in update_sw_cntrs() local 583 elapsed = ktime_to_us(ktime_sub(time, gpu->last_sample.time)); in update_sw_cntrs() 585 gpu->totaltime += elapsed; in update_sw_cntrs() 587 gpu->activetime += elapsed; in update_sw_cntrs() 654 u64 elapsed, clock = 0, cycles; in retire_submit() local 659 elapsed = (stats->alwayson_end - stats->alwayson_start) * 10000; in retire_submit() 660 do_div(elapsed, 192); in retire_submit() 665 if (elapsed) { in retire_submit() 667 do_div(clock, elapsed); in retire_submit() 670 submit->queue->ctx->elapsed_ns += elapsed; in retire_submit() [all …]
|
| /linux/drivers/clocksource/ |
| A D | timer-atmel-pit.c | 77 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 D | acct.c | 436 u64 elapsed, run_time; in fill_ac() local 453 elapsed = nsec_to_AHZ(run_time); in fill_ac() 455 ac->ac_etime = encode_float(elapsed); in fill_ac() 457 ac->ac_etime = encode_comp_t(elapsed < (unsigned long) -1l ? in fill_ac() 458 (unsigned long) elapsed : (unsigned long) -1l); in fill_ac() 463 comp2_t etime = encode_comp2_t(elapsed); in fill_ac() 469 do_div(elapsed, AHZ); in fill_ac() 470 btime = ktime_get_real_seconds() - elapsed; in fill_ac()
|
| /linux/drivers/gpu/drm/i915/selftests/ |
| A D | i915_request.c | 2078 cycles = trifilter(elapsed); in measure_semaphore_response() 2147 elapsed[i] = sema[i] - elapsed[i]; in measure_idle_dispatch() 2149 cycles = trifilter(elapsed); in measure_idle_dispatch() 2223 elapsed[i - 1] = sema[i] - elapsed[i]; in measure_busy_dispatch() 2226 cycles = trifilter(elapsed); in measure_busy_dispatch() 2339 cycles = trifilter(elapsed); in measure_inter_request() 2434 cycles = trifilter(elapsed); in measure_context_switch() 2535 elapsed[i - 1] = sema[2 * i + 0] - elapsed[i - 1]; in measure_preemption() 2537 cycles = trifilter(elapsed); in measure_preemption() 2545 cycles = trifilter(elapsed); in measure_preemption() [all …]
|
| /linux/tools/testing/selftests/syscall_user_dispatch/ |
| A D | sud_benchmark.c | 82 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 D | process.c | 36 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/drivers/net/wireless/intel/iwlwifi/mvm/ |
| A D | utils.c | 812 u8 iwl_mvm_tcm_load_percentage(u32 airtime, u32 elapsed) in iwl_mvm_tcm_load_percentage() argument 814 if (!elapsed) in iwl_mvm_tcm_load_percentage() 817 return (100 * airtime / elapsed) / USEC_PER_MSEC; in iwl_mvm_tcm_load_percentage() 823 u8 load = iwl_mvm_tcm_load_percentage(airtime, elapsed); in iwl_mvm_tcm_load() 924 unsigned int elapsed, in iwl_mvm_check_uapsd_agg_expected_tpt() argument 940 do_div(tpt, elapsed); in iwl_mvm_check_uapsd_agg_expected_tpt() 954 do_div(tpt, elapsed * 100); in iwl_mvm_check_uapsd_agg_expected_tpt() 982 unsigned int elapsed = jiffies_to_msecs(ts - mvm->tcm.ts); in iwl_mvm_calc_tcm_stats() local 998 mvm->tcm.result.elapsed = elapsed; in iwl_mvm_calc_tcm_stats() 1013 load = iwl_mvm_tcm_load(mvm, airtime, elapsed); in iwl_mvm_calc_tcm_stats() [all …]
|
| /linux/tools/perf/scripts/python/ |
| A D | futex-contention.py | 43 elapsed = nsecs(s, ns) - thread_blocktime[tid] 44 add_stats(lock_waits, (tid, thread_thislock[tid]), elapsed)
|
| /linux/drivers/gpu/drm/radeon/ |
| A D | radeon_ring.c | 258 uint64_t elapsed; in radeon_ring_test_lockup() local 266 elapsed = jiffies_to_msecs(jiffies_64 - last); in radeon_ring_test_lockup() 267 if (radeon_lockup_timeout && elapsed >= radeon_lockup_timeout) { in radeon_ring_test_lockup() 269 ring->idx, elapsed); in radeon_ring_test_lockup()
|
| /linux/tools/perf/Documentation/ |
| A D | examples.txt | 42 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/sound/drivers/ |
| A D | dummy.c | 239 int elapsed; member 262 dpcm->elapsed++; in dummy_systimer_update() 297 dpcm->elapsed = 0; in dummy_systimer_prepare() 306 int elapsed = 0; in dummy_systimer_callback() local 311 elapsed = dpcm->elapsed; in dummy_systimer_callback() 312 dpcm->elapsed = 0; in dummy_systimer_callback() 314 if (elapsed) in dummy_systimer_callback()
|
| /linux/mm/ |
| A D | page-writeback.c | 1248 unsigned long elapsed, in wb_update_write_bandwidth() argument 1268 if (unlikely(elapsed > period)) { in wb_update_write_bandwidth() 1269 bw = div64_ul(bw, elapsed); in wb_update_write_bandwidth() 1273 bw += (u64)wb->write_bandwidth * (period - elapsed); in wb_update_write_bandwidth() 1353 unsigned long elapsed) in wb_update_dirty_ratelimit() argument 1515 unsigned long elapsed; in __wb_update_bandwidth() local 1527 elapsed = max(now - wb->bw_time_stamp, 1UL); in __wb_update_bandwidth() 1533 wb_update_dirty_ratelimit(gdtc, dirtied, elapsed); in __wb_update_bandwidth() 1541 wb_update_dirty_ratelimit(mdtc, dirtied, elapsed); in __wb_update_bandwidth() 1544 wb_update_write_bandwidth(wb, elapsed, written); in __wb_update_bandwidth() [all …]
|
| /linux/drivers/rtc/ |
| A D | rtc-snvs.c | 112 u32 elapsed; in rtc_write_sync_lp() local 125 elapsed = count2 - count1; /* wrap around _is_ handled! */ in rtc_write_sync_lp() 126 } while (elapsed < 3 && --timeout); in rtc_write_sync_lp()
|
| /linux/sound/soc/sh/rcar/ |
| A D | ssi.c | 679 bool elapsed = false; in __rsnd_ssi_interrupt() local 692 elapsed = rsnd_ssi_pio_interrupt(mod, io); in __rsnd_ssi_interrupt() 708 if (elapsed) in __rsnd_ssi_interrupt() 882 bool elapsed = false; in rsnd_ssi_pio_interrupt() local 909 elapsed = true; in rsnd_ssi_pio_interrupt() 914 return elapsed; in rsnd_ssi_pio_interrupt()
|
| /linux/sound/sparc/ |
| A D | amd7930.c | 496 unsigned int elapsed; in snd_amd7930_interrupt() local 501 elapsed = 0; in snd_amd7930_interrupt() 513 elapsed |= AMD7930_FLAG_PLAYBACK; in snd_amd7930_interrupt() 522 elapsed |= AMD7930_FLAG_CAPTURE; in snd_amd7930_interrupt() 528 if (elapsed & AMD7930_FLAG_PLAYBACK) in snd_amd7930_interrupt()
|
| /linux/fs/btrfs/ |
| A D | discard.c | 414 u64 elapsed = now - discard_ctl->prev_discard_time; in __btrfs_discard_schedule_work() local 416 if (delay > elapsed) in __btrfs_discard_schedule_work() 417 delay -= elapsed; in __btrfs_discard_schedule_work()
|
| /linux/Documentation/devicetree/bindings/watchdog/ |
| A D | arm,sbsa-gwdt.yaml | 14 two stages of timeout have elapsed. A detailed definition of the watchdog
|
| /linux/sound/pci/mixart/ |
| A D | mixart_core.c | 473 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/drivers/dma/ |
| A D | mxs-dma.c | 203 unsigned long elapsed = 0; in mxs_dma_reset_chan() local 215 while ((readl(reg_dbg1) & 0xf) == 0x8 && elapsed < max_wait) { in mxs_dma_reset_chan() 217 elapsed += 100; in mxs_dma_reset_chan() 220 if (elapsed >= max_wait) in mxs_dma_reset_chan()
|
| /linux/drivers/md/ |
| A D | dm-flakey.c | 481 unsigned int elapsed; in flakey_map() local 490 elapsed = (jiffies - fc->start_time) / HZ; in flakey_map() 491 if (elapsed % (fc->up_interval + fc->down_interval) >= fc->up_interval) { in flakey_map()
|