app/testpmd: print clock with CPU cycles per packet
authorDharmik Thakkar <dharmik.thakkar@arm.com>
Fri, 8 May 2020 22:38:25 +0000 (22:38 +0000)
committerFerruh Yigit <ferruh.yigit@intel.com>
Mon, 18 May 2020 18:35:57 +0000 (20:35 +0200)
commit4c0497b1dd531c3f72e8cbfab32e32350a9cbfa5
treec0ee7b1084400c59a6666a314954dca700e2e70e
parente2b4cfd6a40d9361928c60834ef676e75d9be9bd
app/testpmd: print clock with CPU cycles per packet

On aarch64 platforms, the cycles are counted using either a
low-resolution generic counter or a high-resolution PMU cycle counter.
Print the clock frequency along with CPU cycles/packet to identify which
cycle counter is being used.

Signed-off-by: Dharmik Thakkar <dharmik.thakkar@arm.com>
Reviewed-by: Honnappa Nagarahalli <honnappa.nagarahalli@arm.com>
Reviewed-by: Phil Yang <phil.yang@arm.com>
Acked-by: Bernard Iremonger <bernard.iremonger@intel.com>
app/test-pmd/testpmd.c