On Fri, 30 Jan 2026 18:10:26 +0100
Thomas Monjalon <[email protected]> wrote:

> After getting TSC information from cpuid instruction,
> some values must be multiplied and divided.
> We must multiply first to get the most accurate value.
> 
> Example:
>       before: 1000000000 * (23 / 10) = 2 GHz
>       after:  1000000000 * 23 / 10 = 2.3 GHz
> 
> Bugzilla ID: 1869
> Fixes: ad3516bb4ae1 ("eal/x86: implement arch-specific TSC freq query")
> Cc: [email protected]
> 
> Reported-by: Luigi Rizzo <[email protected]>
> Signed-off-by: Thomas Monjalon <[email protected]>

Reviewed-by: Stephen Hemminger <[email protected]>

Reply via email to