Chapter     14

Profiling and NEON Optimization

In the previous chapters, you learned how to develop native applications on the Android platform. You explored the native APIs that are provided by both the Android platform and the Linux operating system. The following key topics will be covered on this last chapter:

  • Profiling the native Android applications to identify performance bottlenecks using the GNU Profiler.
  • Optimizing native applications using ARM NEON technology through compiler intrinsics.
  • Enabling automatic vectorization support in the compiler to seamlessly boost the performance of native applications without changing the source code.

GNU Profiler for Measuring Performance

The GNU Profiler, also known as the gprof application, ...

Get Pro Android C++ with the NDK now with the O’Reilly learning platform.

O’Reilly members experience live online training, plus books, videos, and digital content from nearly 200 publishers.