Re: [PATCH v6 03/19] tools: optimize cpufreq average freq print

2025-07-28 Thread Anthony PERARD
On Wed, Jul 16, 2025 at 04:43:32PM +0200, Jan Beulich wrote: > On 11.07.2025 05:50, Penny Zheng wrote: > > Unlike Cx/Px states, for which we need an extra loop to summerize residency > > ( > > sum_cx[]/sum_px[]), we could call get_avgfreq_by_cpuid() right before > > printing. > > Also, with later

Re: [PATCH v6 03/19] tools: optimize cpufreq average freq print

2025-07-16 Thread Jan Beulich
On 11.07.2025 05:50, Penny Zheng wrote: > Unlike Cx/Px states, for which we need an extra loop to summerize residency ( > sum_cx[]/sum_px[]), we could call get_avgfreq_by_cpuid() right before > printing. > Also, with later introduction of CPPC mode, average frequency print shall > not depend on th