]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitb5d6c76ceea8ff3d7734d9abc2991bc86096081c
treedf73ac054c345a2047f2e4c06a0ba0956aa382f4
parent6448e9fffa8e66f6d59782cd2dc512f98d9ba525
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