Skip to content
forked from vinjn/perf-doctor

性能医生, a mobile game profiler.

License

Notifications You must be signed in to change notification settings

q53c/perf-doctor

 
 

Repository files navigation

perf-doctor

A mobile game profiler.

Download prebuit binary

GUI interface

Export perf data

Build from scratch

  • clone https://github.com/taptap/perf-doctor
  • clone Cinder framework, Cinder/ and perf-doctor/ should be put in the same folder.
  • Open Cinder/proj/vc2019/cinder.sln with Visual Studio 2019, choose the same target (x64 Debug) as perf-doctor then build. The output is cinder.lib.
  • Open vc2019/perf-doctor.sln with Visual 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]

About

性能医生, a mobile game profiler.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 53.4%
  • JavaScript 26.8%
  • C++ 18.6%
  • Batchfile 1.1%
  • C 0.1%