- GNURadio block installation
$ cmake ../ && make && sudo make install && sudo ldconfig
cmake -DCMAKE_INSTALL_PREFIX=/home/user/pybombs-packages ../
- Limit CPU clock frequency
$ for x in /sys/devices/system/cpu/*/cpufreq/; do echo 1200000 | sudo tee $x/scaling_max_freq; done
$ for x in /sys/devices/system/cpu/*/cpufreq/; do echo 1000000 | sudo tee $x/scaling_min_freq; done
- Save CPU measurement results as txt file
$ pidstat -p (*num, check python pid) -uhd -r -t -I 1 50 >> filename_here.txt
$ pidstat -p 14335 -uhd -r -t -I 1 50 >> filename_here.txt
网友评论