> -----Original Message----- > From: Honnappa Nagarahalli <[email protected]> > Sent: Wednesday, June 17, 2020 5:43 PM > To: [email protected]; [email protected]; Ali Alnubani > <[email protected]>; [email protected]; [email protected]; > [email protected]; [email protected] > Cc: [email protected]; [email protected]; Slava Ovsiienko > <[email protected]>; Thomas Monjalon <[email protected]>; > [email protected]; [email protected]; [email protected]; > [email protected]; [email protected] > Subject: [PATCH 1/5] app/testpmd: clock gettime call in throughput > calculation > > The throughput calculation requires a counter that measures passing of time. > The PMU cycle counter does not do that. This results in incorrect throughput > numbers when RTE_ARM_EAL_RDTSC_USE_PMU is enabled. Use > clock_gettime system call to calculate the time passed since last call. > > Bugzilla ID: 450 > Fixes: 0e106980301d ("app/testpmd: show throughput in port stats") > Cc: [email protected] > Cc: [email protected] > > Signed-off-by: Honnappa Nagarahalli <[email protected]> > Reviewed-by: Phil Yang <[email protected]> > Reviewed-by: Ruifeng Wang <[email protected]>
Tested-by: Ali Alnubani <[email protected]>

