Skip to content

有什么比较好用的android ndk c/c++性能分析工具吗? #282

@xylcbd

Description

@xylcbd

我找到了几种:
1,Intel vtune ,https://software.intel.com/en-us/intel-system-studio , 一直crash,从来没能用起来;
2,android-ndk-profiler, https://github.com/richq/android-ndk-profiler , 怀疑非常不准确;
3,android_ndk_perf,https://google.github.io/fplutil/android_ndk_perf.html ,还没有用过,据说只能在部分手机上使用(https://github.com/google/fplutil/blob/master/bin/android_ndk_perf.py#L58)
4,gproftools,https://github.com/gperftools/gperftools ,据说精度挺高的,但是我还没找到移植到android的库;
5,valgrind android移植版本,https://github.com/xperroni/Valdroid ,报错:“disInstr(thumb): unhandled instruction: 0xEEFA 0x0BEF” ;
6,Oprofile,http://oprofile.sourceforge.net/news/ ,还需要编译android内核,及其繁琐;
7,gperftools,https://github.com/gperftools/gperftools ,仅支持x86的linux;
8,arm streamline ,http://ds.arm.com/zh-cn/ds-5/optimize/ ,报错: “Streamline can't automatically setup gator as this kernel version is not supported. Please upgrade the kernel on your device.”,需要自己编译android内核,很繁琐。
...

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions