Flutter Engine
The Flutter Engine
|
Go to the source code of this file.
Namespaces | |
namespace | scale_cpu |
Variables | |
scale_cpu.ADB = sys.argv[1] | |
scale_cpu.target_percent = float(sys.argv[2]) | |
scale_cpu.cpu = int(sys.argv[3]) | |
scale_cpu.log = subprocess.check_output([ADB, 'root']).decode('utf-8') | |
string | scale_cpu.root = '/sys/devices/system/cpu/cpu%d/cpufreq' %cpu |
scale_cpu.available_freqs | |
scale_cpu.maxfreq = available_freqs[-1] | |
scale_cpu.target = int(round(maxfreq * target_percent)) | |
scale_cpu.freq = maxfreq | |
scale_cpu.actual_freq | |