读取CPU温度
cat /sys/class/thermal/thermal_zone0/temp
或者
cat /sys/class/thermal/thermal_zone1/temp
显示:74333,代表 74.333 度
查看rv1126 NPU
cat /sys/devices/platform/ffbc0000.npu/devfreq/ffbc0000.npu/cur_freq
查看rv1126 CPU频率
cat /sys/devices/system/cpu/cpu*/cpufreq/cpuinfo_cur_freq //查看当前运行CPU频率
cat /sys/devices/system/cpu/cpu*/cpufreq/scaling_cur_freq //查看软件上最后一次设置的CPU频率
cat /sys/devices/system/cpu/cpufreq/policy0/scaling_available_frequencies //查看支持的CPU频率
echo performance > /sys/devices/system/cpu/cpufreq/policy0/scaling_governo //使能CPU性能模式,跑最高频
echo 1008000 > /sys/devices/system/cpu/cpufreq/policy0/scaling_setspeed //设置CPU频率
附录
cat /sys/devices/system/cpu/cpu*/cpufreq/cpuinfo_cur_freq //查看当前运行CPU频率
cat /sys/devices/system/cpu/cpu*/cpufreq/scaling_cur_freq //查看软件上最后一次设置的CPU频率
cat /sys/devices/system/cpu/cpufreq/policy0/scaling_available_frequencies //查看支持的CPU频率
echo performance > /sys/devices/system/cpu/cpufreq/policy0/scaling_governo //使能CPU性能模式,跑最高频
echo 1008000 > /sys/devices/system/cpu/cpufreq/policy0/scaling_setspeed //设置CPU频率
查询 NPU 驱动版本:
dmesg | grep -i galcore
查询 rknn_server 版本:
strings /usr/bin/rknn_server | grep build
查询 librknn_runtime 版本:
strings /usr/lib/librknn_runtime.so | grep version
读取CPU温度
cat /sys/class/thermal/thermal_zone0/temp
或者
cat /sys/class/thermal/thermal_zone1/temp
显示:74333,代表 74.333 度
查看rv1126 NPU
cat /sys/devices/platform/ffbc0000.npu/devfreq/ffbc0000.npu/cur_freq
查看rv1126 CPU频率
cat /sys/devices/system/cpu/cpu*/cpufreq/cpuinfo_cur_freq //查看当前运行CPU频率
cat /sys/devices/system/cpu/cpu*/cpufreq/scaling_cur_freq //查看软件上最后一次设置的CPU频率
cat /sys/devices/system/cpu/cpufreq/policy0/scaling_available_frequencies //查看支持的CPU频率
echo performance > /sys/devices/system/cpu/cpufreq/policy0/scaling_governo //使能CPU性能模式,跑最高频
echo 1008000 > /sys/devices/system/cpu/cpufreq/policy0/scaling_setspeed //设置CPU频率
附录
cat /sys/devices/system/cpu/cpu*/cpufreq/cpuinfo_cur_freq //查看当前运行CPU频率
cat /sys/devices/system/cpu/cpu*/cpufreq/scaling_cur_freq //查看软件上最后一次设置的CPU频率
cat /sys/devices/system/cpu/cpufreq/policy0/scaling_available_frequencies //查看支持的CPU频率
echo performance > /sys/devices/system/cpu/cpufreq/policy0/scaling_governo //使能CPU性能模式,跑最高频
echo 1008000 > /sys/devices/system/cpu/cpufreq/policy0/scaling_setspeed //设置CPU频率
查询 NPU 驱动版本:
dmesg | grep -i galcore
查询 rknn_server 版本:
strings /usr/bin/rknn_server | grep build
查询 librknn_runtime 版本:
strings /usr/lib/librknn_runtime.so | grep version
举报