Latencystats uses unnecessary floating point and is inaccurate if the number
of cycles per ns is not an integral value. Cleanup the code and add
more tests as well.

v7 - rebase and drop already merged VLA patch

Stephen Hemminger (7):
  latencystats: handle fractional cycles per ns
  latencystats: do not use floating point
  latencystats: fix log messages
  latencystats: update include files
  latencystats: enforce that unused callback function is NULL
  latencystats: add metric for number of samples
  test: update to latencystats tests

 app/test/test_latencystats.c        |  84 +++++++----
 lib/latencystats/rte_latencystats.c | 213 ++++++++++++++++------------
 2 files changed, 178 insertions(+), 119 deletions(-)

-- 
2.47.2

Reply via email to