查看linux开发板的CPU频率

 1)查看CPU可设置的频率列表

cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_available_frequencies

2)查看CPU当前所使用的频率:

cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_cur_freq

3)设置CPU频率(最高频率运行)

echo performance > /sys/devices/system/cpu/cpufreq/policy0/scaling_governor

猜你喜欢

转载自blog.csdn.net/heda3/article/details/132766518
今日推荐