Home
last modified time | relevance | path

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

12345678910>>...27

/kernel/linux/linux-5.10/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;
80 TP_printk("id=%d pid=%d ring=%d:%d elapsed=%lld ns mhz=%lld start=%lld end=%lld",
82 __entry->elapsed, __entry->clock,
/kernel/linux/linux-6.6/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;
80 TP_printk("id=%d pid=%d ring=%d:%d elapsed=%lld ns mhz=%lld start=%lld end=%lld",
82 __entry->elapsed, __entry->clock,
/kernel/linux/common_modules/newip/third_party/linux-5.10/net/newip/
Dtcp_nip_timer.c312 static bool tcp_nip_keepalive_is_timeout(struct sock *sk, u32 elapsed) in tcp_nip_keepalive_is_timeout() argument
326 elapsed >= msecs_to_jiffies(icsk->icsk_user_timeout) && in tcp_nip_keepalive_is_timeout()
345 u32 elapsed; in tcp_nip_keepalive_timer() local
374 elapsed = keepalive_time_when(tp); in tcp_nip_keepalive_timer()
380 elapsed = keepalive_time_elapsed(tp); in tcp_nip_keepalive_timer()
381 if (elapsed >= keepalive_time_when(tp)) { in tcp_nip_keepalive_timer()
382 if (tcp_nip_keepalive_is_timeout(sk, elapsed)) in tcp_nip_keepalive_timer()
388 elapsed = keepalive_intvl_when(tp); in tcp_nip_keepalive_timer()
393 elapsed = TCP_RESOURCE_PROBE_INTERVAL; in tcp_nip_keepalive_timer()
397 elapsed = keepalive_time_when(tp) - elapsed; in tcp_nip_keepalive_timer()
[all …]
/kernel/linux/linux-6.6/tools/testing/selftests/timens/
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()
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()
/kernel/linux/linux-5.10/tools/testing/selftests/timens/
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()
60 ksft_test_result_fail("clockid: %d elapsed: %lld\n", in run_test()
61 clockid, elapsed); in run_test()
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()
65 ksft_test_result_fail("clockid: %d elapsed: %lld\n", in run_test()
66 clockid, elapsed); in run_test()
/kernel/linux/linux-5.10/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()
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()
717 u32 elapsed; in tcp_keepalive_timer() local
750 elapsed = keepalive_time_when(tp); in tcp_keepalive_timer()
[all …]
/kernel/linux/linux-5.10/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()
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()
/kernel/linux/linux-6.6/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()
289 unsigned long elapsed; in virt_timer_expire() local
294 elapsed = atomic64_read(&virt_timer_elapsed); in virt_timer_expire()
296 if (timer->expires < elapsed) in virt_timer_expire()
300 timer->expires -= elapsed; in virt_timer_expire()
307 atomic64_sub(elapsed, &virt_timer_elapsed); in virt_timer_expire()
/kernel/linux/linux-5.10/include/uapi/linux/
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 */
/kernel/linux/linux-6.6/include/uapi/linux/
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 */
/kernel/linux/linux-6.6/net/ipv4/
Dtcp_timer.c29 u32 elapsed, start_ts, user_timeout; in tcp_clamp_rto_to_user_timeout() local
36 elapsed = tcp_time_stamp(tcp_sk(sk)) - start_ts; in tcp_clamp_rto_to_user_timeout()
37 remaining = user_timeout - elapsed; in tcp_clamp_rto_to_user_timeout()
48 s32 elapsed; in tcp_clamp_probe0_to_user_timeout() local
54 elapsed = tcp_jiffies32 - icsk->icsk_probes_tstamp; in tcp_clamp_probe0_to_user_timeout()
55 if (unlikely(elapsed < 0)) in tcp_clamp_probe0_to_user_timeout()
56 elapsed = 0; in tcp_clamp_probe0_to_user_timeout()
57 remaining = msecs_to_jiffies(user_timeout) - elapsed; in tcp_clamp_probe0_to_user_timeout()
745 u32 elapsed; in tcp_keepalive_timer() local
778 elapsed = keepalive_time_when(tp); in tcp_keepalive_timer()
[all …]
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/selftests/
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 …]
/kernel/linux/linux-6.6/drivers/misc/
Dds1682.c3 * Dallas Semiconductor DS1682 Elapsed Time Recorder device driver
11 * The DS1682 elapsed timer recorder is a simple device that implements
12 * one elapsed time counter, one event counter, an alarm signal and 10
17 * elapsed_time (u32): Total elapsed event time in ms resolution
18 * alarm_time (u32): When elapsed time exceeds the value in alarm_time,
261 MODULE_DESCRIPTION("DS1682 Elapsed Time Indicator driver");
/kernel/linux/linux-5.10/drivers/misc/
Dds1682.c3 * Dallas Semiconductor DS1682 Elapsed Time Recorder device driver
11 * The DS1682 elapsed timer recorder is a simple device that implements
12 * one elapsed time counter, one event counter, an alarm signal and 10
17 * elapsed_time (u32): Total elapsed event time in ms resolution
18 * alarm_time (u32): When elapsed time exceeds the value in alarm_time,
263 MODULE_DESCRIPTION("DS1682 Elapsed Time Indicator driver");
/kernel/linux/linux-5.10/drivers/isdn/mISDN/
Dclock.c17 * A clock source calls mISDN_clock_update with given samples elapsed, if
159 /* calc elapsed time by system clock */ in mISDN_clock_update()
167 /* add elapsed time to counter and set new timestamp */ in mISDN_clock_update()
188 /* calc elapsed time by system clock */ in mISDN_clock_get()
192 /* add elapsed time to counter */ in mISDN_clock_get()
/kernel/linux/linux-6.6/drivers/isdn/mISDN/
Dclock.c17 * A clock source calls mISDN_clock_update with given samples elapsed, if
159 /* calc elapsed time by system clock */ in mISDN_clock_update()
167 /* add elapsed time to counter and set new timestamp */ in mISDN_clock_update()
188 /* calc elapsed time by system clock */ in mISDN_clock_get()
192 /* add elapsed time to counter */ in mISDN_clock_get()
/kernel/linux/linux-6.6/tools/perf/scripts/python/
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)
/kernel/linux/linux-5.10/tools/perf/scripts/python/
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)
/kernel/linux/linux-6.6/drivers/gpu/drm/i915/selftests/
Di915_request.c2019 u32 elapsed[TF_COUNT], cycles; in measure_semaphore_response() local
2042 cs = intel_ring_begin(rq, 4 + 12 * ARRAY_SIZE(elapsed)); in measure_semaphore_response()
2050 for (i = 1; i <= ARRAY_SIZE(elapsed); i++) { in measure_semaphore_response()
2064 for (i = 1; i <= ARRAY_SIZE(elapsed); i++) { in measure_semaphore_response()
2075 elapsed[i - 1] = sema[i] - cycles; in measure_semaphore_response()
2078 cycles = trifilter(elapsed); in measure_semaphore_response()
2094 u32 elapsed[TF_COUNT], cycles; in measure_idle_dispatch() local
2110 for (i = 0; i < ARRAY_SIZE(elapsed); i++) { in measure_idle_dispatch()
2136 elapsed[i] = ENGINE_READ_FW(ce->engine, RING_TIMESTAMP); in measure_idle_dispatch()
2146 for (i = 0; i < ARRAY_SIZE(elapsed); i++) in measure_idle_dispatch()
[all …]
/kernel/linux/linux-6.6/include/linux/
Dwait.h411 * 0 if the @condition evaluated to %false after the @timeout elapsed,
412 * 1 if the @condition evaluated to %true after the @timeout elapsed,
414 * to %true before the @timeout elapsed.
528 * 0 if the @condition evaluated to %false after the @timeout elapsed,
529 * 1 if the @condition evaluated to %true after the @timeout elapsed,
531 * to %true before the @timeout elapsed, or -%ERESTARTSYS if it was
583 * elapsed.
609 * interrupted by a signal, or -ETIME if the timeout elapsed.
724 * 0 if the @condition evaluated to %false after the @timeout elapsed,
725 * 1 if the @condition evaluated to %true after the @timeout elapsed,
[all …]
/kernel/linux/linux-5.10/include/linux/
Dwait.h397 * 0 if the @condition evaluated to %false after the @timeout elapsed,
398 * 1 if the @condition evaluated to %true after the @timeout elapsed,
400 * to %true before the @timeout elapsed.
514 * 0 if the @condition evaluated to %false after the @timeout elapsed,
515 * 1 if the @condition evaluated to %true after the @timeout elapsed,
517 * to %true before the @timeout elapsed, or -%ERESTARTSYS if it was
569 * elapsed.
595 * interrupted by a signal, or -ETIME if the timeout elapsed.
710 * 0 if the @condition evaluated to %false after the @timeout elapsed,
711 * 1 if the @condition evaluated to %true after the @timeout elapsed,
[all …]
/kernel/linux/linux-6.6/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()
/kernel/linux/linux-5.10/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()

12345678910>>...27