Android: is there any tool for profiling native code?

前端 未结 4 936
长情又很酷
长情又很酷 2021-02-04 02:25

I have only found one profiling tool - http://code.google.com/p/android-ndk-profiler/. Wasn\'t able to get it working so far, so I wonder if there are other tools available. I n

4条回答
  •  走了就别回头了
    2021-02-04 03:09

    The Shiny profiler is platform independent, it runs anywhere and it does not have any dependencies besides a standard C++ compiler. In its more simple usage, all you need to do is add a macro at the beginning of all functions and methods (or at least those that you want to profile).

提交回复
热议问题