Home
last modified time | relevance | path

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

/linux/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/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.c111 printf("%-8s %-16s %-6d %14llu\n", ts, e->task, e->pid, e->delta_us); in handle_event()
/linux/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/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/drivers/net/can/usb/peak_usb/
A Dpcan_usb_core.c137 u64 delta_us; in peak_usb_get_ts_time() local
186 delta_us = delta_ts * time_ref->adapter->us_per_ts_scale; in peak_usb_get_ts_time()
187 delta_us >>= time_ref->adapter->us_per_ts_shift; in peak_usb_get_ts_time()
189 *time = ktime_add_us(time_ref->tv_host_0, delta_us); in peak_usb_get_ts_time()
/linux/samples/bpf/
A Dhbm.c313 long long delta_us = (qstats.lastPacketTime - in run_bpf_prog() local
317 delta_us); in run_bpf_prog()
/linux/net/ipv4/
A Dtcp_input.c657 u32 delta_us; in tcp_rcv_rtt_measure() local
663 delta_us = tcp_stamp_us_delta(tp->tcp_mstamp, tp->rcv_rtt_est.time); in tcp_rcv_rtt_measure()
664 if (!delta_us) in tcp_rcv_rtt_measure()
665 delta_us = 1; in tcp_rcv_rtt_measure()
666 tcp_rcv_rtt_update(tp, delta_us, 1); in tcp_rcv_rtt_measure()
685 u32 delta_us; in tcp_rcv_rtt_measure_ts() local
690 delta_us = delta * (USEC_PER_SEC / TCP_TS_HZ); in tcp_rcv_rtt_measure_ts()
691 tcp_rcv_rtt_update(tp, delta_us, 0); in tcp_rcv_rtt_measure_ts()
3156 s64 delta_us = tcp_rto_delta_us(sk); in tcp_rearm_rto() local
3160 rto = usecs_to_jiffies(max_t(int, delta_us, 1)); in tcp_rearm_rto()
A Dtcp_ipv4.c414 u32 delta_us; in tcp_ld_RTO_revert() local
432 delta_us = (u32)(tp->tcp_mstamp - tcp_skb_timestamp_us(skb)); in tcp_ld_RTO_revert()
433 remaining = icsk->icsk_rto - usecs_to_jiffies(delta_us); in tcp_ld_RTO_revert()
/linux/block/
A Dbfq-iosched.c6125 u32 delta_us; in bfq_completed_request() local
6152 delta_us = div_u64(now_ns - bfqd->last_completion, NSEC_PER_USEC); in bfq_completed_request()
6170 if (delta_us > BFQ_MIN_TT/NSEC_PER_USEC && in bfq_completed_request()
6171 (bfqd->last_rq_max_size<<BFQ_RATE_SHIFT)/delta_us < in bfq_completed_request()

Completed in 38 milliseconds