[v4,0/6] latencystats: cleanup

Message ID 20240419172926.55447-1-stephen@networkplumber.org (mailing list archive)
Headers
Series latencystats: cleanup |

Message

Stephen Hemminger April 19, 2024, 5:28 p.m. UTC
  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(-)