[PATCH v5 0/9] latencystats: improve algorithms and tests
Stephen Hemminger
stephen at networkplumber.org
Mon Apr 22 17:21:30 CEST 2024
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.
v5 - use scaled values for latency and jitter
- add more test cases
- review feedback
Stephen Hemminger (9):
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: enforce that unused callback function is NULL
latencystats: add metric for number of samples
test: use initialization in latencystats test
test: add more latencystats tests
app/test/test_latencystats.c | 84 ++++++----
lib/latencystats/rte_latencystats.c | 232 ++++++++++++++++------------
2 files changed, 188 insertions(+), 128 deletions(-)
--
2.43.0
More information about the dev
mailing list