tsnlab / libtsn

TSN library for C
GNU General Public License v3.0
5 stars 3 forks source link

Bug constantly prints 0 when mesuring one way latency #12

Open MichelleJin12 opened 2 years ago

MichelleJin12 commented 2 years ago

In case of oneway latency option, if there is no packets sent from the client, 0 is constantly printed. image

Part of the code which prints https://github.com/tsnlab/libtsn/blob/b7c2978a8e4ed14a959da7b0811ac14bacdd9ebc/examples/latency/latency.c#L241-L250