Flutter Engine
The Flutter Engine
|
Variables | |
ADB = sys.argv[1] | |
target_percent = float(sys.argv[2]) | |
cpu = int(sys.argv[3]) | |
log = subprocess.check_output([ADB, 'root']).decode('utf-8') | |
string | root = '/sys/devices/system/cpu/cpu%d/cpufreq' %cpu |
available_freqs | |
maxfreq = available_freqs[-1] | |
target = int(round(maxfreq * target_percent)) | |
freq = maxfreq | |
actual_freq | |
scale_cpu.actual_freq |
Definition at line 55 of file scale_cpu.py.
scale_cpu.ADB = sys.argv[1] |
Definition at line 11 of file scale_cpu.py.
scale_cpu.available_freqs |
Definition at line 23 of file scale_cpu.py.
Definition at line 13 of file scale_cpu.py.
scale_cpu.freq = maxfreq |
Definition at line 36 of file scale_cpu.py.
Definition at line 14 of file scale_cpu.py.
scale_cpu.maxfreq = available_freqs[-1] |
Definition at line 34 of file scale_cpu.py.
Definition at line 20 of file scale_cpu.py.
scale_cpu.target = int(round(maxfreq * target_percent)) |
Definition at line 35 of file scale_cpu.py.
scale_cpu.target_percent = float(sys.argv[2]) |
Definition at line 12 of file scale_cpu.py.