Searched refs:delta_us (Results 1 – 3 of 3) sorted by relevance
87 u64 delta_us = 0; in measure_clock() local108 delta_us = delta.tv_sec * USEC_PER_SEC + temp; in measure_clock()109 } while (delta_us > MEASURE_CLOCK_DELTA_THRESHOLD && in measure_clock()133 delta_us = delta.tv_sec * USEC_PER_SEC + temp; in measure_clock()134 } while (delta_us > MEASURE_CLOCK_DELTA_THRESHOLD && in measure_clock()147 delta_us = temp; in measure_clock()149 temp = (timestamp2 - timestamp1) * ME_CLK_DIVIDER * 10 + (delta_us / 2); in measure_clock()150 do_div(temp, delta_us); in measure_clock()
36 unsigned long delta_us; \37 delta_us = delta / (NANOSEC / MICROSEC); \38 usleep_range(delta_us, delta_us + 100); \
357 u32 delta_us = ktime_us_delta(end->time, start->time); in net_dim_calc_stats() local362 if (!delta_us) in net_dim_calc_stats()365 curr_stats->ppms = DIV_ROUND_UP(npkts * USEC_PER_MSEC, delta_us); in net_dim_calc_stats()366 curr_stats->bpms = DIV_ROUND_UP(nbytes * USEC_PER_MSEC, delta_us); in net_dim_calc_stats()368 delta_us); in net_dim_calc_stats()