perf-doctor
A mobile game profiler.
GUI interface
Export perf data
Build from scratch
- clone https://github.com/taptap/perf-doctor
- clone Cinder framework,
Cinder/
andperf-doctor/
should be put in the same folder. - Open
Cinder/proj/vc2019/cinder.sln
withVisual Studio 2019
, choose the same target (x64 Debug) as perf-doctor then build. The output iscinder.lib
. - Open
vc2019/perf-doctor.sln
withVisual Studio 2019
Contact
adb commands for gpu profiling
adb shell settings list global | grep gpu
enable_gpu_debug_layers=1
gpu_debug_app=com.xd.atelier
gpu_debug_layer_app=com.google.android.gapid.arm64v8a:com.google.pixel.coral.gpuprofiling.vulkanlayer
gpu_debug_layers=DebugMarker:CPUTiming:VkRenderStagesProducer
Disable settings
adb shell settings delete global enable_gpu_debug_layers
adb shell settings delete global gpu_debug_app
adb shell settings delete global gpu_debug_layers_gles
adb shell settings delete global gpu_debug_layers
adb shell settings delete global gpu_debug_layer_app
adb shell getprop | grep profiler
[debug.graphics.gpu.profiler.perfetto]: [1]
[graphics.gpu.profiler.support]: [true]
[graphics.gpu.profiler.vulkan_layer_apk]: [com.google.pixel.coral.gpuprofiling.vulkanlayer]