Add results from android stress testing
This commit is contained in:
parent
51a99f8d6e
commit
c8b7ff3ebe
7 changed files with 6614 additions and 9 deletions
6501
notes/data/Android CPU Stress/Raw Data.csv
Normal file
6501
notes/data/Android CPU Stress/Raw Data.csv
Normal file
File diff suppressed because it is too large
Load diff
105
notes/data/Android CPU Stress/meta/device.csv
Normal file
105
notes/data/Android CPU Stress/meta/device.csv
Normal file
|
@ -0,0 +1,105 @@
|
|||
"property","value"
|
||||
"version","1.1.11"
|
||||
"build","1011102"
|
||||
"fileFormat","1.15"
|
||||
"deviceModel","SM-G965F"
|
||||
"deviceBrand","samsung"
|
||||
"deviceBoard","exynos9810"
|
||||
"deviceManufacturer","samsung"
|
||||
"deviceBaseOS","samsung/star2ltexx/star2lte:10/QP1A.190711.020/G965FXXU7DTAA:user/release-keys"
|
||||
"deviceCodename","REL"
|
||||
"deviceRelease","10"
|
||||
"depthFrontSensor","0"
|
||||
"depthFrontResolution","null"
|
||||
"depthFrontRate","null"
|
||||
"depthBackSensor","0"
|
||||
"depthBackResolution","null"
|
||||
"depthBackRate","null"
|
||||
"accelerometer Name","LSM6DSL Acceleration Sensor"
|
||||
"accelerometer Vendor","STM"
|
||||
"accelerometer Range","78.4532"
|
||||
"accelerometer Resolution","0.0023942017"
|
||||
"accelerometer MinDelay","2000"
|
||||
"accelerometer MaxDelay","180000"
|
||||
"accelerometer Power","0.25"
|
||||
"accelerometer Version","1"
|
||||
"linear_acceleration Name","Linear Acceleration Sensor"
|
||||
"linear_acceleration Vendor","Samsung Electronics"
|
||||
"linear_acceleration Range","78.4532"
|
||||
"linear_acceleration Resolution","0.0023942017"
|
||||
"linear_acceleration MinDelay","10000"
|
||||
"linear_acceleration MaxDelay","0"
|
||||
"linear_acceleration Power","6.0"
|
||||
"linear_acceleration Version","3"
|
||||
"gravity Name","Gravity Sensor"
|
||||
"gravity Vendor","Samsung Electronics"
|
||||
"gravity Range","19.6133"
|
||||
"gravity Resolution","5.9604645E-8"
|
||||
"gravity MinDelay","10000"
|
||||
"gravity MaxDelay","0"
|
||||
"gravity Power","6.0"
|
||||
"gravity Version","3"
|
||||
"gyroscope Name","LSM6DSL Gyroscope Sensor"
|
||||
"gyroscope Vendor","STM"
|
||||
"gyroscope Range","17.453293"
|
||||
"gyroscope Resolution","6.1086525E-4"
|
||||
"gyroscope MinDelay","2000"
|
||||
"gyroscope MaxDelay","180000"
|
||||
"gyroscope Power","6.1"
|
||||
"gyroscope Version","1"
|
||||
"magnetic_field Name","AK09916C Magnetic field Sensor"
|
||||
"magnetic_field Vendor","Asahi Kasei Microdevices"
|
||||
"magnetic_field Range","2000.0"
|
||||
"magnetic_field Resolution","0.06"
|
||||
"magnetic_field MinDelay","10000"
|
||||
"magnetic_field MaxDelay","200000"
|
||||
"magnetic_field Power","6.0"
|
||||
"magnetic_field Version","1"
|
||||
"pressure Name","LPS22H Barometer Sensor"
|
||||
"pressure Vendor","STMicroelectronics"
|
||||
"pressure Range","1260.0"
|
||||
"pressure Resolution","2.4414062E-4"
|
||||
"pressure MinDelay","100000"
|
||||
"pressure MaxDelay","1000000"
|
||||
"pressure Power","1.0"
|
||||
"pressure Version","1"
|
||||
"light Name","TMD4906 lux Sensor"
|
||||
"light Vendor","AMS, Inc."
|
||||
"light Range","60000.0"
|
||||
"light Resolution","1.0"
|
||||
"light MinDelay","200000"
|
||||
"light MaxDelay","200000"
|
||||
"light Power","0.75"
|
||||
"light Version","1"
|
||||
"proximity Name","TMD4906 Proximity Sensor"
|
||||
"proximity Vendor","AMS, Inc."
|
||||
"proximity Range","8.0"
|
||||
"proximity Resolution","8.0"
|
||||
"proximity MinDelay","0"
|
||||
"proximity MaxDelay","0"
|
||||
"proximity Power","0.75"
|
||||
"proximity Version","1"
|
||||
"temperature Name","null"
|
||||
"temperature Vendor","null"
|
||||
"temperature Range","null"
|
||||
"temperature Resolution","null"
|
||||
"temperature MinDelay","null"
|
||||
"temperature MaxDelay","null"
|
||||
"temperature Power","null"
|
||||
"temperature Version","null"
|
||||
"humidity Name","null"
|
||||
"humidity Vendor","null"
|
||||
"humidity Range","null"
|
||||
"humidity Resolution","null"
|
||||
"humidity MinDelay","null"
|
||||
"humidity MaxDelay","null"
|
||||
"humidity Power","null"
|
||||
"humidity Version","null"
|
||||
"attitude Name","Samsung Rotation Vector"
|
||||
"attitude Vendor","Samsung Electronics"
|
||||
"attitude Range","1.0"
|
||||
"attitude Resolution","5.9604645E-8"
|
||||
"attitude MinDelay","10000"
|
||||
"attitude MaxDelay","200000"
|
||||
"attitude Power","6.0"
|
||||
"attitude Version","1"
|
|
3
notes/data/Android CPU Stress/meta/time.csv
Normal file
3
notes/data/Android CPU Stress/meta/time.csv
Normal file
|
@ -0,0 +1,3 @@
|
|||
"event","experiment time","system time","system time text"
|
||||
"START",0.000000000E0,1664983878.920,"2022-10-05 17:31:18.920 UTC+02:00"
|
||||
"PAUSE",6.516920672E1,1664983944.090,"2022-10-05 17:32:24.090 UTC+02:00"
|
|
BIN
notes/images/android-cpu-load.png
Normal file
BIN
notes/images/android-cpu-load.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 12 KiB |
BIN
notes/images/android-cpu-magnetic-field.jpg
Normal file
BIN
notes/images/android-cpu-magnetic-field.jpg
Normal file
Binary file not shown.
After Width: | Height: | Size: 232 KiB |
|
@ -53,3 +53,4 @@
|
|||
# 2022-10-05
|
||||
* Work more on introduction
|
||||
* Prepare tables for requirements
|
||||
* Add screenshots and data of Android CPU measurements
|
||||
|
|
|
@ -19,8 +19,7 @@ class MainActivity : AppCompatActivity() {
|
|||
// This is the entry point for the second thread.
|
||||
override fun run() {
|
||||
while (runningThreads) {
|
||||
val p =
|
||||
Pattern.compile("[a-z0-9!#$%&'*+/=?^_`{|}~-]+(?:.[a-z0-9!#$%&'*+/=?^_`{|}~-]+)*@(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?.)+(?:[A-Z]{2}|com|org|net|edu|gov|mil|biz|info|mobi|name|aero|asia|jobs|museum)\b")
|
||||
val p = Pattern.compile("[a-z0-9!#$%&'*+/=?^_`{|}~-]+(?:.[a-z0-9!#$%&'*+/=?^_`{|}~-]+)*@(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?.)+(?:[A-Z]{2}|com|org|net|edu|gov|mil|biz|info|mobi|name|aero|asia|jobs|museum)\b")
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -42,17 +41,13 @@ class MainActivity : AppCompatActivity() {
|
|||
Log.i("CPU-Stress", "Run #$i")
|
||||
|
||||
runningThreads = true
|
||||
for (i in 1..20) {
|
||||
for (i in 1..8 ) {
|
||||
RegexThread()
|
||||
}
|
||||
val start = System.currentTimeMillis()
|
||||
while (System.currentTimeMillis() - start > 1000) {
|
||||
}
|
||||
Thread.sleep(2000);
|
||||
runningThreads = false
|
||||
|
||||
val startSleep = System.currentTimeMillis()
|
||||
while (System.currentTimeMillis() - startSleep > 1000) {
|
||||
}
|
||||
Thread.sleep(2000);
|
||||
|
||||
i++
|
||||
if (i == 100) {
|
||||
|
|
Reference in a new issue