Searched refs:delta_us (Results 1 – 2 of 2) sorted by relevance
373 u32 delta_us = ktime_us_delta(end->time, start->time); in net_dim_calc_stats() local378 if (!delta_us) in net_dim_calc_stats()381 curr_stats->ppms = DIV_ROUND_UP(npkts * USEC_PER_MSEC, delta_us); in net_dim_calc_stats()382 curr_stats->bpms = DIV_ROUND_UP(nbytes * USEC_PER_MSEC, delta_us); in net_dim_calc_stats()384 delta_us); in net_dim_calc_stats()
4818 u32 delta_us; in bfq_completed_request() local4845 delta_us = div_u64(now_ns - bfqd->last_completion, NSEC_PER_USEC); in bfq_completed_request()4863 if (delta_us > BFQ_MIN_TT/NSEC_PER_USEC && in bfq_completed_request()4864 (bfqd->last_rq_max_size<<BFQ_RATE_SHIFT)/delta_us < in bfq_completed_request()