Lines Matching defs:curr_stats
58 struct dim_stats *curr_stats)
71 curr_stats->ppms = DIV_ROUND_UP(npkts * USEC_PER_MSEC, delta_us);
72 curr_stats->bpms = DIV_ROUND_UP(nbytes * USEC_PER_MSEC, delta_us);
73 curr_stats->epms = DIV_ROUND_UP(DIM_NEVENTS * USEC_PER_MSEC,
75 curr_stats->cpms = DIV_ROUND_UP(ncomps * USEC_PER_MSEC, delta_us);
76 if (curr_stats->epms != 0)
77 curr_stats->cpe_ratio = DIV_ROUND_DOWN_ULL(
78 curr_stats->cpms * 100, curr_stats->epms);
80 curr_stats->cpe_ratio = 0;