From: Gowrishankar Muthukrishnan <gowrishanka...@linux.vnet.ibm.com> Some architecture like armv8 provides an architecture specific function to get the rdtsc frequency. The existing rdtsc calibration scheme uses OS serivce like sleep(1) to calibrate the frequency which may not produce the accurate result. Introducing an architecture specific hook to get the rdtsc frequency if architecture provides it. If not, use the exiting the calibrate scheme to get the rdtsc frequency.
Jerin Jacob (5): eal/x86: define architecture specific rdtsc hz eal/ppc64: define architecture specific rdtsc hz eal/armv7: define architecture specific rdtsc hz eal/armv8: define architecture specific rdtsc hz eal/timer: honor architecture specific rdtsc hz function lib/librte_eal/common/eal_common_timer.c | 5 +++- .../common/include/arch/arm/rte_cycles_32.h | 13 ++++++++++ .../common/include/arch/arm/rte_cycles_64.h | 30 ++++++++++++++++++++++ .../common/include/arch/ppc_64/rte_cycles.h | 24 +++++++++++++++++ .../common/include/arch/x86/rte_cycles.h | 13 ++++++++++ 5 files changed, 84 insertions(+), 1 deletion(-) -- 1.9.1