Re: [PATCH] x86/aperfmperf: Fix the fallback condition in arch_freq_get_on_cpu()

From: Dave Hansen
Date: Fri Jun 30 2023 - 11:13:10 EST


On 6/26/23 12:36, Keyon Jie wrote:
>>From the commit f3eca381bd49 on, the fallback condition about the 'the
> last update was too long' have been comparing ticks and milliseconds by
> mistake, which leads to that the condition is met and the fallback
> method is used frequently.

Could you do me a favor and walk me through the units of the variables
that you're talking about? What is in ticks and what is in milliseconds?