1# Measure energy consumption with synthmark. 2 3# None 4adb shell synthmark -tj -n1 -N50 -B2 -z0 5adb shell synthmark -tj -n1 -N75 -B2 -z0 6adb shell synthmark -tj -n1 -N100 -B2 -z0 7 8# ADPF PID 9adb shell synthmark -tj -n1 -N50 -B2 -z1 10adb shell synthmark -tj -n1 -N75 -B2 -z1 11adb shell synthmark -tj -n1 -N100 -B2 -z1 12 13# ADPF <400 RR 14# adb root \ 15# adb shell setprop vendor.powerhal.adpf.uclamp_min.high_limit 400 \ 16# adb shell synthmark -tj -n1 -N50 -B2 -z1 17# adb shell synthmark -tj -n1 -N75 -B2 -z1 18# adb shell synthmark -tj -n1 -N100 -B2 -z1 19 20# ADPF <500 RR 21# adb root \ 22# adb shell setprop vendor.powerhal.adpf.uclamp_min.high_limit 500 \ 23# adb shell synthmark -tj -n1 -N50 -B2 -z1 24# adb shell synthmark -tj -n1 -N75 -B2 -z1 25# adb shell synthmark -tj -n1 -N100 -B2 -z1 26 27# ADPF <600 RR 28# adb root \ 29# adb shell setprop vendor.powerhal.adpf.uclamp_min.high_limit 600 \ 30# adb shell synthmark -tj -n1 -N50 -B2 -z1 31# adb shell synthmark -tj -n1 -N75 -B2 -z1 32# adb shell synthmark -tj -n1 -N100 -B2 -z1 33 34# uclamp 35# adb root \ 36# adb shell synthmark -tj -n1 -N75 -B2 -u1 37 38# steady 39# adb shell synthmark -tj -n75 -B2 -u0 40 41# CPU affinity 42# adb shell synthmark -tj -n1 -N75 -B2 -u0 -c1 43# adb shell synthmark -tj -n1 -N75 -B2 -u0 -c4 44# adb shell synthmark -tj -n1 -N75 -B2 -u0 -c6 45 46# steady + affinity 47# adb shell synthmark -tj -n75 -B2 -u0 -c1 48# adb shell synthmark -tj -n75 -B2 -u0 -c4 49# adb shell synthmark -tj -n75 -B2 -u0 -c6 50 51