Re: [dpdk-dev] [PATCH v3 2/2] eal: roundup tsc frequency when estimating

2019-03-27 Thread Thomas Monjalon
16/03/2019 20:01, Pavan Nikhilesh Bhagavatula: > From: Pavan Nikhilesh > > When estimating tsc frequency using sleep/gettime round it up to the > nearest multiple of 10Mhz for more accuracy. > > Signed-off-by: Pavan Nikhilesh > Reviewed-by: Keith Wiles Series applied, thanks

[dpdk-dev] [PATCH v3 2/2] eal: roundup tsc frequency when estimating

2019-03-16 Thread Pavan Nikhilesh Bhagavatula
From: Pavan Nikhilesh When estimating tsc frequency using sleep/gettime round it up to the nearest multiple of 10Mhz for more accuracy. Signed-off-by: Pavan Nikhilesh Reviewed-by: Keith Wiles --- Useful in case of ARM64 if we enable RTE_ARM_EAL_RDTSC_USE_PMU, get_tsc_freq_arch() will return