[dpdk-dev] [PATCH v5 2/2] test/power: round cpuinfo cur freq value in cpufreq autotest

2021-04-14 Thread Richael Zhuang
The value in "/sys/.../cpuinfo_cur_freq" may not be exactly the same as what was set. For example, if "240" is written to "/sys/.../cpufreq/scaling_setspeed" to set the frequency, then the value in "/sys/.../cpuinfo_cur_freq" may be "2401222". So need to round the value. Fixes: ed7c51a6a680 ("

Re: [dpdk-dev] [PATCH v5 2/2] test/power: round cpuinfo cur freq value in cpufreq autotest

2021-04-20 Thread David Hunt
On 15/4/2021 6:59 AM, Richael Zhuang wrote: The value in "/sys/.../cpuinfo_cur_freq" may not be exactly the same as what was set. For example, if "240" is written to "/sys/.../cpufreq/scaling_setspeed" to set the frequency, then the value in "/sys/.../cpuinfo_cur_freq" may be "2401222". So