config/.vim/vimwiki/run_perf.wiki
2022-10-19 16:27:14 +02:00

12 lines
528 B
Plaintext

== Generate perf rapport ==
cd /home/mmaret/Android/Sdk/ndk/23.0.7599858/simpleperf
./run_simpleperf_on_device.py record -g /system/bin/ovt_raw_slicer -i /sdcard/4_water_explode.raw -o /sdcard/out_current.test
adb pull /data/local/tmp/perf.data .
./report_html.py -i perf.data
=== Perf camera server ===
./run_simpleperf_on_device.py record -g -p $( adb shell ps | grep camera.provider | awk '{print $2}') --duration 5 -o perf_test.data
adb pull /data/local/tmp/perf_test.data .
./report_html.py -i perf_test.data