valgrind-android

valgrind-android - 知乎 (zhihu.com)

unzip -q valgrind-3.16.1-android.zip
adb push valgrind /data/local/tmp/
adb shell


cd /data/local/tmp/
valgrind/bin/valgrind --tool=callgrind ./benchncnn 4 1 0 -1 0

adb pull /data/local/tmp/callgrind.out.9519
kcachegrind callgrind.out.9519

你可能感兴趣的:(android,adb)