Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
test/power: round CPU frequency to check
[ upstream commit 606a234 ] The value in "/sys/.../cpuinfo_cur_freq" may not be exactly the same as what was set. For example, if "2400000" 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: ed7c51a ("app/test: vm power management") Signed-off-by: Richael Zhuang <richael.zhuang@arm.com> Reviewed-by: David Hunt <david.hunt@intel.com>
- Loading branch information