Home
last modified time | relevance | path

Searched full:elapsed (Results 1 – 25 of 301) sorted by relevance

12345678910>>...13

/linux/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 (llabs(elapsed - 3600) > 60) { in run_test()
60 ksft_test_result_fail("clockid: %d elapsed: %lld\n", 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 (llabs(elapsed - 3600) > 60) { in run_test()
65 ksft_test_result_fail("clockid: %d elapsed: %lld\n", in run_test()
66 clockid, elapsed); in run_test()
/linux/net/ipv4/
H A Dtcp_timer.c32 u32 elapsed, user_timeout; in tcp_clamp_rto_to_user_timeout() local
39 elapsed = tcp_time_stamp_ts(tp) - tp->retrans_stamp; in tcp_clamp_rto_to_user_timeout()
41 elapsed /= USEC_PER_MSEC; in tcp_clamp_rto_to_user_timeout()
43 remaining = user_timeout - elapsed; in tcp_clamp_rto_to_user_timeout()
55 s32 elapsed; in tcp_clamp_probe0_to_user_timeout() local
61 elapsed = tcp_jiffies32 - icsk->icsk_probes_tstamp; in tcp_clamp_probe0_to_user_timeout()
62 if (unlikely(elapsed < 0)) in tcp_clamp_probe0_to_user_timeout()
63 elapsed = 0; in tcp_clamp_probe0_to_user_timeout()
64 remaining = msecs_to_jiffies(user_timeout) - elapsed; in tcp_clamp_probe0_to_user_timeout()
786 u32 elapsed; in tcp_keepalive_timer()
787 u32 elapsed; tcp_keepalive_timer() local
[all...]
/linux/include/uapi/linux/
H A Dacct.h56 comp_t ac_etime; /* Elapsed Time */
69 __u8 ac_etime_hi; /* Elapsed Time MSB */
70 __u16 ac_etime_lo; /* Elapsed Time LSB */
88 __u32 ac_etime; /* Elapsed Time */
90 float ac_etime; /* Elapsed Time */
/linux/drivers/gpu/drm/i915/selftests/
H A Di915_request.c2018 u32 elapsed[TF_COUNT], cycles; in measure_semaphore_response() local
2041 cs = intel_ring_begin(rq, 4 + 12 * ARRAY_SIZE(elapsed)); in measure_semaphore_response()
2049 for (i = 1; i <= ARRAY_SIZE(elapsed); i++) { in measure_semaphore_response()
2063 for (i = 1; i <= ARRAY_SIZE(elapsed); i++) { in measure_semaphore_response()
2074 elapsed[i - 1] = sema[i] - cycles; in measure_semaphore_response()
2077 cycles = trifilter(elapsed); in measure_semaphore_response()
2093 u32 elapsed[TF_COUNT], cycles; in measure_idle_dispatch() local
2109 for (i = 0; i < ARRAY_SIZE(elapsed); i++) { in measure_idle_dispatch()
2135 elapsed[i] = ENGINE_READ_FW(ce->engine, RING_TIMESTAMP); in measure_idle_dispatch()
2145 for (i = 0; i < ARRAY_SIZE(elapsed); i++) in measure_idle_dispatch()
[all …]
/linux/tools/testing/selftests/ublk/
H A Dtest_generic_06.sh25 ELAPSED=$(($ENDTIME - $STARTTIME))
34 if [ $ELAPSED -ge 5 ]; then
35 echo "dd took $ELAPSED seconds to exit (>= 5s tolerance)!"
H A Dtest_part_02.sh16 local elapsed
43 elapsed=$((SECONDS - start_time))
52 echo "PASS: Device transitioned to ${expected_state} in ${elapsed}s without hanging"
/linux/tools/lib/python/abi/
H A Dsystem_symbols.py366 elapsed = str(datetime.now() - start).split(".", maxsplit=1)[0]
368 elapsed += f" ({total - len(f_list)}/{total} jobs completed). "
369 if elapsed != old_elapsed:
370 print(elapsed + "\r", end="", flush=True,
372 old_elapsed = elapsed
374 elapsed = str(datetime.now() - start).split(".", maxsplit=1)[0]
375 print(elapsed, file=sys.stderr)
/linux/tools/perf/scripts/python/
H A Dfutex-contention.py25 lock_waits = {} # long-lived stats on (tid,lock) blockage elapsed time
43 elapsed = nsecs(s, ns) - thread_blocktime[tid]
44 add_stats(lock_waits, (tid, thread_thislock[tid]), elapsed)
/linux/arch/s390/appldata/
H A Dappldata_base.c116 u64 now, elapsed, interval; in appldata_work_fn() local
125 elapsed = now - appldata_cputime_start; in appldata_work_fn()
126 if (elapsed < interval) { in appldata_work_fn()
127 appldata_schedule_work(interval - elapsed); in appldata_work_fn()
197 u64 now, elapsed, remaining; in __appldata_timer_setup() local
228 elapsed = now - appldata_cputime_start; in __appldata_timer_setup()
229 remaining = appldata_interval - elapsed; in __appldata_timer_setup()
230 if (elapsed >= appldata_interval) in __appldata_timer_setup()
/linux/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()
/linux/tools/testing/selftests/rseq/
H A Dslice_test.c94 static inline bool elapsed(struct timespec *start, struct timespec *now, in elapsed() function
114 } while (!elapsed(&ts_start, &ts_now, p->noise_nsecs)); in noise_thread()
180 } while (!elapsed(&ts_cs, &ts_now, variant->slice_nsecs)); in TEST_F()
211 } while (!elapsed(&ts_start, &ts_now, variant->total_nsecs)); in TEST_F()
/linux/kernel/power/
H A Dprocess.c36 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()
107 pr_info("Freezing %s completed (elapsed %d.%03d seconds)\n", in try_to_freeze_tasks()
/linux/drivers/net/wireless/intel/iwlwifi/mvm/
H A Dutils.c784 u8 iwl_mvm_tcm_load_percentage(u32 airtime, u32 elapsed) in iwl_mvm_tcm_load_percentage() argument
786 if (!elapsed) in iwl_mvm_tcm_load_percentage()
789 return (100 * airtime / elapsed) / USEC_PER_MSEC; in iwl_mvm_tcm_load_percentage()
793 iwl_mvm_tcm_load(struct iwl_mvm *mvm, u32 airtime, unsigned long elapsed) in iwl_mvm_tcm_load() argument
795 u8 load = iwl_mvm_tcm_load_percentage(airtime, elapsed); in iwl_mvm_tcm_load()
896 unsigned int elapsed, in iwl_mvm_check_uapsd_agg_expected_tpt() argument
912 do_div(tpt, elapsed); in iwl_mvm_check_uapsd_agg_expected_tpt()
926 do_div(tpt, elapsed * 100); in iwl_mvm_check_uapsd_agg_expected_tpt()
954 unsigned int elapsed = jiffies_to_msecs(ts - mvm->tcm.ts); in iwl_mvm_calc_tcm_stats() local
970 mvm->tcm.result.elapsed in iwl_mvm_calc_tcm_stats()
[all...]
/linux/tools/testing/selftests/syscall_user_dispatch/
H 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/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% )
/linux/sound/pci/pcxhr/
H A Dpcxhr.h132 u_int64_t timer_abs_periods; /* timer: samples elapsed since TRIGGER_START (multiple of period_size) */
133 u_int32_t timer_period_frag; /* timer: samples elapsed since last call to snd_pcm_period_elapsed (0..period_size) */
134 u_int32_t timer_buf_periods; /* nb of periods in the buffer that have already elapsed */
/linux/tools/testing/selftests/mm/
H A Dhugetlb_reparenting_test.sh79 local elapsed
93 elapsed=$((now - start_time))
95 if [[ $elapsed -ge $timeout ]]; then
/linux/tools/testing/selftests/sched_ext/
H A Dnohz_tick.c163 int elapsed; in setup()
165 for (elapsed = 0; elapsed < timeout_ms; elapsed++) { in setup()
179 int elapsed, stable = 0; in setup()
181 for (elapsed = 0; elapsed < timeout_ms; elapsed++) { in setup()
151 int elapsed; wait_for_counter() local
/linux/include/linux/mtd/
H A Dxip.h50 * return in usecs the elapsed timebetween now and the reference x as
54 * returned value is <= the real elapsed time.
/linux/drivers/gpu/drm/msm/
H A Dmsm_gpu.c697 u64 elapsed, clock = 0, cycles; in retire_submit() local
701 /* Convert 19.2Mhz alwayson ticks to nanoseconds for elapsed time */ in retire_submit()
702 elapsed = (stats->alwayson_end - stats->alwayson_start) * 10000; in retire_submit()
703 do_div(elapsed, 192); in retire_submit()
708 if (elapsed) { in retire_submit()
710 do_div(clock, elapsed); in retire_submit()
713 submit->queue->ctx->elapsed_ns += elapsed; in retire_submit()
716 trace_msm_gpu_submit_retired(submit, elapsed, clock, in retire_submit()
/linux/drivers/net/fddi/skfp/
H A Dhwt.c147 * Stop hardware timer and read time elapsed since last start.
153 * The elapsed time since last start in units of 16us.
210 * This function returnes after the amount of time is elapsed
/linux/tools/perf/tests/shell/
H A Dstat+std_output.sh58 # Ignore "seconds time elapsed" and break
59 [[ "$line" == *"time elapsed"* ]] && break
/linux/drivers/w1/masters/
H A Domap_hdq.c160 dev_dbg(hdq_data->dev, "TX wait elapsed\n"); in hdq_write_byte()
260 dev_dbg(hdq_data->dev, "break wait elapsed\n"); in omap_hdq_break()
393 dev_dbg(hdq_data->dev, "RX wait elapsed\n"); in omap_w1_triplet()
409 dev_dbg(hdq_data->dev, "RX wait elapsed\n"); in omap_w1_triplet()
438 dev_dbg(hdq_data->dev, "TX wait elapsed\n"); in omap_w1_triplet()
/linux/include/linux/
H A Dswait.h273 * 0 if the @condition evaluated to %false after the @timeout elapsed,
274 * 1 if the @condition evaluated to %true after the @timeout elapsed,
276 * to %true before the @timeout elapsed.

12345678910>>...13