app/flow-perf: use more generic wrapper to get cycles
authorWisam Jaddo <wisamm@nvidia.com>
Sun, 14 Mar 2021 09:54:21 +0000 (11:54 +0200)
committerThomas Monjalon <thomas@monjalon.net>
Mon, 12 Apr 2021 13:50:36 +0000 (15:50 +0200)
commitb611605b053a5d82e2c1c7b2da32f97e3d81f7af
treecac40f29cf34dea21d3bdced10029346279e049a
parentb40d7062ff2e065fb617494589ee810766e12a19
app/flow-perf: use more generic wrapper to get cycles

rdtsc() is x86 related, while this might fail for other archs,
so it's better to use more generic API for cycles measurement.

Signed-off-by: Wisam Jaddo <wisamm@nvidia.com>
Acked-by: Alexander Kozyrev <akozyrev@nvidia.com>
app/test-flow-perf/main.c