hsa: measure rtt in echo client 89/43289/7
authorSemir Sionek <[email protected]>
Wed, 25 Jun 2025 12:16:41 +0000 (12:16 +0000)
committerFlorin Coras <[email protected]>
Wed, 16 Jul 2025 19:30:18 +0000 (19:30 +0000)
commit5c7b8cabbf7bdaf43651160c1e064915572415f5
treed9e7b88118f7068b9e6e31d816d25fbeb7c46b10
parentb6cc662e49cadcd47ba4b4d1f7ed25c172a56fc7
hsa: measure rtt in echo client

For TCP, rtt is extracted from transport info. For UDP & echo-bytes
option, we're measuring the time between sending & receiving the first
packet.
When using multiple clients, min/avg/max rtt values are displayed.

Type: improvement
Change-Id: I617527ca55726571638996dbcff05c2292f0ad18
Signed-off-by: Semir Sionek <[email protected]>
extras/hs-test/echo_test.go
src/plugins/hs_apps/echo_client.c
src/plugins/hs_apps/echo_client.h