[dpdk-dev] [PATCH 2/2] eal/x86: implement x86 specific tsc hz

Bruce Richardson bruce.richardson at intel.com
Wed Aug 23 15:17:07 CEST 2017


On Wed, Aug 23, 2017 at 01:42:41PM +0100, Sergio Gonzalez Monroy wrote:
> First, try to use CPUID Time Stamp Counter and Nominal Core Crystal
> Clock Information Leaf to determine the tsc hz on platforms that
> supports it (does not require priviledge user).
> 
> If the CPUID leaf is not available, then try to determine the tsc hz by
> reading the MSR 0xCE (requires priviledge user).
> 
> Default to the DPDK tsc hz estimation if both methods fail.
> 
> Signed-off-by: Sergio Gonzalez Monroy <sergio.gonzalez.monroy at intel.com>
> ---
This patch depends on Jerin's previous set for getting the exact TSC
frequency on different platforms, right?


More information about the dev mailing list