-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconstants.py
44 lines (31 loc) · 1.18 KB
/
constants.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
NOT_AVAILABLE = "not available"
MHZ = "MHz"
CELSIUS = "Celsius"
# Platform
LINUX = 'Linux'
WIN = 'Windows'
# Results
PASS = 'pass'
FAIL = 'fail'
# Configuration
TEST_SETTINGS = "test_settings"
TEST_RESULTS = "test_results"
ANDROID_SETTINGS = "android_settings"
ANDROID_DEVICES = "android_devices"
# CPU Diagnostic Constants
MAX_TEMPERATURE_LIMIT_C = 75.0
MIN_TEMPERATURE_LIMIT = 18.0
CPU_THROTTLE_OT = "cpu_throttle_overtemp"
CPU_NO_THROTTLE = "cpu_no_throttle"
CPU_TEMP_SAFE = "cpu_temperature_safe"
HIGH_FREQUENCY = "high_frequency"
LOW_FREQUENCY = "low_frequency"
CPU_IN_SPEC = "cpu_in_frequency_bound"
CPU_FREQ_NOT_IN_SPEC = "cpu_frequency_out_of_bound"
CPU_TEMPERATURE_DIAGNOSTIC_HEADER = ['CPU', 'MAX_TEMPERATURE_LIMIT_C', 'TEMPERATURE_READOUT', 'MIN_TEMPERATURE_LIMIT_C',
'UNITS', 'DIAGNOSTIC_STATUS', 'DIAGNOSTIC_TEST_RESULT']
CPU_FREQUENCY_DIAGNOSTIC_HEADER = ['CPU', 'MIN_FREQUENCY', 'FREQUENCY_READOUT', 'MAX_FREQUENCY', 'UNITS',
'DIAGNOSTIC_STATUS', 'DIAGNOSTIC_TEST_RESULT']
# Wi-Fi Diagnostic Constants
WIFI_DIAG_HEADER = ['Wi-Fi_Radio_Status', "Network_Status", "ssid", "signal_strength"]
# GFX Bench 5 Constants