Remote Analysis Workflow for Android* Systems

Use the Intel® VTune™ Amplifier installed on the Windows* or Linux* host to analyze code performance and power consumption on a remote Android* system. This type of analysis is supported only by the VTune Amplifier for Systems, a part of Intel® System Studio 2014.

Note

  • To run Power analysis on an Android system, use the Intel® Energy Profiler to collect the data and VTune Amplifier GUI for graphical representation of the collected data. Intel Energy Profiler includes the following components:

    • SoCWatch command line tool (SoCWatch) for Intel 22 nm ultra-mobile processors (code name: Silvermont) and 4th Generation Intel® Core™ processors based on Intel microarchitecture code name Haswell

    • WakeUp Watch command line tool (WuWatch) for the First Generation Intel® Atom™ processors

    For detailed documentation on Intel Energy Profiler components, see SoCWatch or WuWatch User Guides delivered with the target package.

  • For successful product operation, the target Android system should have ~25 MB disk space.

VTune Amplifier for Systems supports the following remote usage mode with VTune Amplifier remote collector and ADB communication:

1.

Install VTune Amplifier

Install the full-scale VTune Amplifier product on the host system. By default, the VTune Amplifier also installs the remote collector on the target Android system as soon as you run the first remote collection.

Note

  • If the remote VTune Amplifier collector is installed on a non-rooted device, during installation you may get an error message on missing/incorrect drivers. You can dismiss this message if you plan to run the user-mode sampling and tracing collection (Basic Hotspots) only.

  • For the VTune Amplifier for Systems installed as part of Intel System Studio, the default <install_dir> is [Program Files]\Intel\System Studio 2014.0.xxx\VTune Amplifier 2014 for Systems. For the standalone VTune Amplifier for Systems installed without Intel System Studio, the default <install_dir> is [Program Files]\Intel\VTune Amplifier 2014 for Systems.

2.

Prepare your target system for analysis

  • Configure your Android device for analysis.

  • Gain adb access through TCP/IP to an Android device.

  • To enable hardware-event-based sampling analysis, Power analysis with Intel Energy Profiler, or Java* analysis, gain root mode adb access to the Android device.

  • To enable hardware-event-based sampling analysis or Intel Energy Profiler analysis via the SoCWatch or WuWatch tool, verify that version compatible pre-installed signed drivers are on the target Android system.

3.

Configure and run remote analysis

  1. Prepare your Android application for analysis.

  2. Specify your analysis target and remote system.

  3. Optionally, specify binary and source search directories.

  4. Choose an analysis type.

    Note

    On Android platforms, the VTune Amplifier for Systems supports hardware event-based sampling analysis types and Basic Hotspots analysis. Other algorithmic analysis types (Concurrency and Locks and Waits) are not supported.

  5. Configure the analysis type.

  6. Run the analysis from the host.

4.

View collected data

View the collected data on the host.

See Also


For more complete information about compiler optimizations, see our Optimization Notice.