Home
last modified time | relevance | path

Searched refs:delta_us (Results 1 – 11 of 11) sorted by relevance

/linux-6.3-rc2/lib/dim/
A Ddim.c61 u32 delta_us = ktime_us_delta(end->time, start->time); in dim_calc_stats() local
68 if (!delta_us) in dim_calc_stats()
71 curr_stats->ppms = DIV_ROUND_UP(npkts * USEC_PER_MSEC, delta_us); in dim_calc_stats()
72 curr_stats->bpms = DIV_ROUND_UP(nbytes * USEC_PER_MSEC, delta_us); in dim_calc_stats()
74 delta_us); in dim_calc_stats()
75 curr_stats->cpms = DIV_ROUND_UP(ncomps * USEC_PER_MSEC, delta_us); in dim_calc_stats()
/linux-6.3-rc2/tools/bpf/runqslower/
A Drunqslower.bpf.c72 u64 *tsp, delta_us; in handle__sched_switch() local
91 delta_us = (bpf_ktime_get_ns() - *tsp) / 1000; in handle__sched_switch()
92 if (min_us && delta_us <= min_us) in handle__sched_switch()
96 event.delta_us = delta_us; in handle__sched_switch()
A Drunqslower.h9 __u64 delta_us; member
A Drunqslower.c100 printf("%-8s %-16s %-6d %14llu\n", ts, e->task, e->pid, e->delta_us); in handle_event()
/linux-6.3-rc2/tools/testing/selftests/net/
A Dtimestamping.c503 long delta_us; in main() local
508 delta_us = (long)(next.tv_sec - now.tv_sec) * 1000000 + in main()
510 if (delta_us > 0) { in main()
512 delta.tv_sec = delta_us / 1000000; in main()
513 delta.tv_usec = delta_us % 1000000; in main()
521 delta_us); in main()
/linux-6.3-rc2/drivers/media/test-drivers/vivid/
A Dvivid-cec.c102 s64 delta_us, retry_us; in vivid_cec_bus_thread() local
206 delta_us = div_s64(end - start, 1000); in vivid_cec_bus_thread()
207 delta_us -= wait_xfer_us + wait_arb_lost_us; in vivid_cec_bus_thread()
208 retry_us = CEC_SIGNAL_FREE_TIME_RETRY * CEC_DATA_BIT_US - delta_us; in vivid_cec_bus_thread()
/linux-6.3-rc2/samples/bpf/
A Dhbm.c320 long long delta_us = (qstats.lastPacketTime - in run_bpf_prog() local
324 delta_us); in run_bpf_prog()
/linux-6.3-rc2/drivers/net/can/usb/peak_usb/
A Dpcan_usb_core.c159 u64 delta_us; in peak_usb_get_ts_time() local
208 delta_us = delta_ts * time_ref->adapter->us_per_ts_scale; in peak_usb_get_ts_time()
209 delta_us >>= time_ref->adapter->us_per_ts_shift; in peak_usb_get_ts_time()
211 *time = ktime_add_us(time_ref->tv_host_0, delta_us); in peak_usb_get_ts_time()
/linux-6.3-rc2/net/ipv4/
A Dtcp_input.c658 u32 delta_us; in tcp_rcv_rtt_measure() local
664 delta_us = tcp_stamp_us_delta(tp->tcp_mstamp, tp->rcv_rtt_est.time); in tcp_rcv_rtt_measure()
665 if (!delta_us) in tcp_rcv_rtt_measure()
666 delta_us = 1; in tcp_rcv_rtt_measure()
667 tcp_rcv_rtt_update(tp, delta_us, 1); in tcp_rcv_rtt_measure()
686 u32 delta_us; in tcp_rcv_rtt_measure_ts() local
691 delta_us = delta * (USEC_PER_SEC / TCP_TS_HZ); in tcp_rcv_rtt_measure_ts()
692 tcp_rcv_rtt_update(tp, delta_us, 0); in tcp_rcv_rtt_measure_ts()
3177 s64 delta_us = tcp_rto_delta_us(sk); in tcp_rearm_rto() local
3181 rto = usecs_to_jiffies(max_t(int, delta_us, 1)); in tcp_rearm_rto()
A Dtcp_ipv4.c424 u32 delta_us; in tcp_ld_RTO_revert() local
442 delta_us = (u32)(tp->tcp_mstamp - tcp_skb_timestamp_us(skb)); in tcp_ld_RTO_revert()
443 remaining = icsk->icsk_rto - usecs_to_jiffies(delta_us); in tcp_ld_RTO_revert()
/linux-6.3-rc2/block/
A Dbfq-iosched.c6347 u32 delta_us; in bfq_completed_request() local
6376 delta_us = div_u64(now_ns - bfqd->last_completion, NSEC_PER_USEC); in bfq_completed_request()
6394 if (delta_us > BFQ_MIN_TT/NSEC_PER_USEC && in bfq_completed_request()
6395 (bfqd->last_rq_max_size<<BFQ_RATE_SHIFT)/delta_us < in bfq_completed_request()

Completed in 43 milliseconds