[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [PATCH v6 03/19] tools: optimize cpufreq average freq print
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 introduction of CPPC mode, average frequency print shall > > not depend on the existence of legacy P-states, so we remove "px_cap" > > dependancy check. > > > > Signed-off-by: Penny Zheng <Penny.Zheng@xxxxxxx> > > Reviewed-by: Jan Beulich <jbeulich@xxxxxxxx> Acked-by: Anthony PERARD <anthony.perard@xxxxxxxxxx> Thanks, -- Anthony PERARD
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |