ADB调试GPU方法

Android4.4 / Android5.1--Utgard

  1. adb root
  2. adb remount
  3. adb shell
  4. cd sys/modules/mali/paramters
  5. cat gpufreq_table 查看GPU支持的所有频率
  6. echo GPU频率 > gpufreq_min_limit;echo GPU频率 > gpufreq_max_limit​​

Android5.1 -- Midgard-自带DVFS

  1. adb root
  2. adb remount
  3. adb shell
  4. cd sys/modules/mali_kbase/paramters
  5. cat gpu_freq_list 查看GPU支持的所有频率
  6. echo GPU频率 > gpu_freq_min_limit;echo GPU频率 > gpu_freq_max_limit​​​

Android5.1 -- Midgard-Devfreq

  1. adb root
  2. adb remount
  3. adb shell
  4. cd /sys/devices/60000000.gpu/devfreq/60000000.gpu
  5. cat available_frequencies 查看GPU支持的所有频率
  6. echo GPU频率 > min_freq;echo GPU频率 > max_freq​​

Android4.4 查看当前频率

  1. adb root
  2. adb remount
  3. adb shell
  4. cd sys/modules/mali/paramters
  5. cat gpu_cur_freq​ 查看GPU支持的频率

Android5.1 查看当前频率

  1. adb root
  2. adb remount
  3. adb shell
  4. cd sys/modules/mali/paramters
  5. cat gpu_freq_cur 查看GPU支持的频率

Android5.1 查看当前频率

  1. adb root
  2. adb remount
  3. adb shell
  4. cd sys/modules/mali_kbase/paramters
  5. cat gpu_freq_cur 查看GPU支持的频率

Android5.1  debug参数

  1. gpu_boost_level
  2. gpu_boost_sf_level
  3. gpu_freq_cur
  4. gpu_freq_list
  5. gpu_freq_max_limit
  6. gpu_freq_min_limit
  7. mali_debug_level

Android5.1 查看GPU loading

  1. adb root
  2. adb remount
  3. adb shell
  4. cd d/mali0
  5. cat utilization_gp/utilization_gp_pp/utilization_pp 查看GPU当前的负载

你可能感兴趣的:(ADB调试GPU方法)