> -----Original Message----- > From: Honnappa Nagarahalli <[email protected]> > Sent: Wednesday, June 17, 2020 10:43 PM > To: [email protected]; Honnappa Nagarahalli > <[email protected]>; [email protected]; > [email protected]; [email protected]; [email protected]; > [email protected] > Cc: [email protected]; [email protected]; > [email protected]; [email protected]; Ruifeng Wang > <[email protected]>; Phil Yang <[email protected]>; nd > <[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: Phil Yang <[email protected]>

