Latest Mono Framework (4.0.4 or above)
*EXAMPLE INSTALL*
sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 3FA7E0328081BFF6A14DA29AA6A19B38D3D831EF
echo "deb http://download.mono-project.com/repo/debian wheezy main"| sudo tee /etc/apt/sources.list.d/mono-xamarin.list
sudo apt-get update
sudo apt-get install mono-complete
Latest libc+ + C++ Runtime
*EXAMPLE INSTALL*
sudo apt-get install libc++1
Install Java Runtime (1.7.0_79) or later
*EXAMPLE INSTALL*
sudo apt-get install default-jre
Install adb (1.0.31) or later
*EXAMPLE INSTALL*
sudo apt-get install android-tools-adb
*Make sure that adb isinthe system path*
Install Snapdragon Profiler (in preferred directory)
tar zxvf SnapdragonProfiler_Release_External_Linux.tar.gz
2.2 启动
Execute run_sdp.sh
./run_sdp.sh
Note that the path (./) is included to be able to run from current directory
2.3 连接
1、点击Connect to Device
2、点击connect
3、连接成功
3.Start Page
与Visual Studio类似,Snapdragon Profiler起始页提供了对主Profiler功能的轻松访问:
- Connect to a Device
- Realtime profiling
- New Trace Capture
- New Snapshot Capture
3.1 Realtime profiling
Realtime mode允许在Snapdragon支持的设备上运行应用程序时流式传输和查看实时性能指标。
Realtime mode从嵌入式图形驱动程序中绘制收集实时GPU和系统性能数据流,包括系统和进程指标。
系统指标包括:
- CPU Core Frequency
- CPU Core Load
- CPU Core Utilization
- GPU General
- GPU Memory Stats
- GPU Shader Processing
- GPU Stalls
- Network - Cellular
- Network – Wi-Fi
- Power
- Primitive Processing
- System Memory
- Thermal
进程指标包括:
- CPU
- EGL (not available for every process)
- GPU General (not available for every process)
- GPU Memory Stats (not available for every process)
- GPU Shader Processing (not available for every process)
- GPU Stalls (not available for every process)
- Memory
- Network
- Primitive Processing (not available for every process)
Realtime profiling 窗口布局:
操作方法如下图: