Lines Matching refs:curr_stats
59 struct dim_stats *curr_stats)
72 curr_stats->ppms = DIV_ROUND_UP(npkts * USEC_PER_MSEC, delta_us);
73 curr_stats->bpms = DIV_ROUND_UP(nbytes * USEC_PER_MSEC, delta_us);
74 curr_stats->epms = DIV_ROUND_UP(DIM_NEVENTS * USEC_PER_MSEC,
76 curr_stats->cpms = DIV_ROUND_UP(ncomps * USEC_PER_MSEC, delta_us);
77 if (curr_stats->epms != 0)
78 curr_stats->cpe_ratio = DIV_ROUND_DOWN_ULL(
79 curr_stats->cpms * 100, curr_stats->epms);
81 curr_stats->cpe_ratio = 0;