]> 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)
commitad9b428d89cc089668d5b41f633c58a50648e823
treedf73ac054c345a2047f2e4c06a0ba0956aa382f4
parent5a613bb96042fc72da5ef91748fe6fb3c9625ee1
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