Flutter Engine
The Flutter Engine
Variables
set_cpu_online Namespace Reference

Variables

 ADB = sys.argv[1]
 
 cpu = int(sys.argv[2])
 
 value = int(sys.argv[3])
 
 log = subprocess.check_output([ADB, 'root']).decode('utf-8')
 
 prior_status
 
 actual_status
 

Variable Documentation

◆ actual_status

set_cpu_online.actual_status
Initial value:
1= subprocess.check_output([ADB, 'shell', 'cat '
2 '/sys/devices/system/cpu/cpu%d/online' % cpu]).decode('utf-8').strip()
static DecodeResult decode(std::string path)
Definition: png_codec.cpp:124

Definition at line 31 of file set_cpu_online.py.

◆ ADB

set_cpu_online.ADB = sys.argv[1]

Definition at line 11 of file set_cpu_online.py.

◆ cpu

set_cpu_online.cpu = int(sys.argv[2])

Definition at line 12 of file set_cpu_online.py.

◆ log

set_cpu_online.log = subprocess.check_output([ADB, 'root']).decode('utf-8')

Definition at line 15 of file set_cpu_online.py.

◆ prior_status

set_cpu_online.prior_status
Initial value:
1= subprocess.check_output([ADB, 'shell', 'cat '
2 '/sys/devices/system/cpu/cpu%d/online' % cpu]).decode('utf-8').strip()

Definition at line 23 of file set_cpu_online.py.

◆ value

set_cpu_online.value = int(sys.argv[3])

Definition at line 13 of file set_cpu_online.py.