selftests: txtimestamp: print statistics for timestamp events.
authorJian Yang <jianyang@google.com>
Tue, 17 Mar 2020 19:25:09 +0000 (12:25 -0700)
committerDavid S. Miller <davem@davemloft.net>
Sun, 22 Mar 2020 03:14:13 +0000 (20:14 -0700)
commit277bc78f3829c5e129048dc5b241f3ce4a898924
treedf73ac054c345a2047f2e4c06a0ba0956aa382f4
parente64be6dea65042e116c98b2502126f48476ed8f1
selftests: txtimestamp: print statistics for timestamp events.

Statistics on timestamps is useful to quantify average and tail latency.

Print timestamp statistics in count/avg/min/max format.

Signed-off-by: Jian Yang <jianyang@google.com>
Acked-by: Willem de Bruijn <willemb@google.com>
Acked-by: Soheil Hassas Yeganeh <soheil@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
tools/testing/selftests/networking/timestamping/txtimestamp.c