Searched refs:delta_us (Results 1 – 3 of 3) sorted by relevance
65 u64 delta_us = 0; in measure_clock() local86 delta_us = delta.tv_sec * USEC_PER_SEC + temp; in measure_clock()87 } while (delta_us > MEASURE_CLOCK_DELTA_THRESHOLD && in measure_clock()111 delta_us = delta.tv_sec * USEC_PER_SEC + temp; in measure_clock()112 } while (delta_us > MEASURE_CLOCK_DELTA_THRESHOLD && in measure_clock()125 delta_us = temp; in measure_clock()127 temp = (timestamp2 - timestamp1) * ME_CLK_DIVIDER * 10 + (delta_us / 2); in measure_clock()128 do_div(temp, delta_us); in measure_clock()
35 unsigned long delta_us; \36 delta_us = delta / (NANOSEC / MICROSEC); \37 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()