[PATCH v6 0/8] latencystats: improvements to algorithm and test
David Marchand
david.marchand at redhat.com
Thu Jul 4 17:21:16 CEST 2024
On Thu, May 30, 2024 at 12:57 AM Stephen Hemminger
<stephen at networkplumber.org> wrote:
>
> 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.
>
> v6 - rebase and combine updates to test
>
> Stephen Hemminger (8):
> 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: update to latencystats tests
>
> app/test/test_latencystats.c | 84 ++++++----
> lib/latencystats/rte_latencystats.c | 232 ++++++++++++++++------------
> 2 files changed, 188 insertions(+), 128 deletions(-)
>
Please review.
Thanks.
--
David Marchand
More information about the dev
mailing list