On Thu, 25 Jun 2020 15:01:19 -0400 Vivien Didelot <[email protected]> wrote:
> + struct timeval cur_time = {
> + .tv_sec = cycles / hz,
> + .tv_usec = (cycles % hz) * NSEC_PER_SEC / hz,
This is hot path, use rte_reciprocal_divide rather than slow divide instruction.

