Latencystats uses variable length array and floating point when they are not necessary to acheive the same result. While testing also noticed that the code was computing wrong values on my test system, and that include files were missing.
v4 - review feedback and fix pedantic warnings Stephen Hemminger (6): latencystats: replace use of VLA latencystats: handle fractional cycles per ns latencystats: do not use floating point latencystats: fix log messages latencystats: update include files latencystats: fix for pedantic warnings lib/latencystats/rte_latencystats.c | 182 +++++++++++++++------------- 1 file changed, 96 insertions(+), 86 deletions(-) -- 2.43.0