# Snapdragon Profiler

Snapdragon Profiler can be used to track CPU, GPU, DSP, Memery, Consumption, Temperture and internet of applications on QIYU Device.

# 1. Requirements

Hardware

  • PC running Microsoft Windows 7, 8.x, or 10
  • Mac running macOS 10.10 (Yosemite) – 10.15 (Catalina).
  • PC running Ubuntu Linux 16.04 (Xenial Xerus) or later

Software

  • Windows PC
    • Android Debug Bridge (ADB) 1.0.40 or later.
    • GTK# 2.12.25 for .NET at http://www.mono-project.com/download
    • Microsoft .NET Framework 4.5 at https://www.microsoft.com/enus/download/details.aspx?id=42643
  • macOS
    • Android Debug Bridge (ADB) 1.0.40 or later
    • Latest Mono Framework at http://www.mono-project.com/download
  • Linux Ubuntu
    • Android Debug Bridge (ADB) 1.0.40 or later
    • Latest Mono Framework at http://www.mono-project.com/download
    • Latest libc++ C++ Runtime
    • Java JRE 1.7.0_79 or later

# 2. Install

Please download and install the right version of package: https://developer.qualcomm.com/software/snapdragon-profiler

# Microsoft Windows installation

Run the Snapdragon Profiler installer on the host machine. It is recommended to run the Installer with Administrator privileges.

# macOS installation and app permissions

  1. Download and install the latest Mono Framework for macOS at: http://www.mono-project.com/download

  2. Once the Mono Framework is installed, click the Snapdragon Profiler.dmg image in the Finder to mount it.

  3. Drag and drop the SnapdragonProfiler.app to the Applications folder.

  4. In order to run Snapdragon Profiler, it may need to be explicitly enabled in System Preferences > Security & Privacy by clicking “Open Anyway”. More information can be found at https://support.apple.com/en-us/HT202491.

  5. Certain folders on macOS Catalina require explicit permission to access, such as Downloads, Desktop, and Documents. If the Android NDK or a saved session is located in any of these folders, the dialog below will be displayed. Click OK to allow access. These permissions can be changed in System Preferences > Security & Privacy > Files & Folders

    Figure2.1 Mac
  6. Snapdragon Profiler makes use of some Android SDK and NDK utilities such as adb and spirv-dis. These utilities will need to be enabled as per step 4 if a dialog is displayed with a warning they have been blocked.

# Ubuntu Linux installation

  1. Download and install the latest Mono Framework for Ubuntu Linux at: http://www.mono-project.com/download - ‘mono-complete’ is required.
  2. Install the libc++ C++ Standard library with sudo apt-get install libc++1 libc++abi1.
  3. Install Java Runtime 1.7.0_79 or later with sudo apt-get install default-jre.
  4. Download the Android SDK and set up the paths accordingly.
  5. Extract the Snapdragon Profiler tarball to the preferred directory with tar zxvf SnapdragonProfiler_release_External_Linux.tar.gz.

# 3. Connect to QIYU Device

  1. QIYU devices connected to the computer over USB.
  2. Enter "adb devices" on CMD/Terminal, to check the status of connection.
  3. After launching Snapdragon Profiler, go to File > Connect, or from the Start Page click the icon to the left of Connect to a Device to connect to a device to start a session.

  1. If the installation is successful, the Device icon is green and the Connect button is enabled. Check the Auto Connect box to automatically connect if a single device is detected.

​ If the installation fails, the Device icon is red and the Retry button is enabled. Click Retry to try installing the service again.

  1. If the connection is successful, the Connection icon is green:

​ If you receive a connection error (the Connection icon is red), click Connect to try again.

Note: you can check the fail information through moving your mouse.

# Reference:

Snapdragon Peofiler Tools & Resources (opens new window)