diff --git a/experiment_automatization/can_be_reused/looking_at_strange_cases/.~lock.summary___29Sep22_02_40_17.csv# b/experiment_automatization/can_be_reused/looking_at_strange_cases/.~lock.summary___29Sep22_02_40_17.csv# deleted file mode 100755 index 41179701efc9ece606c4b4f95257a70bb7914a8f..0000000000000000000000000000000000000000 --- a/experiment_automatization/can_be_reused/looking_at_strange_cases/.~lock.summary___29Sep22_02_40_17.csv# +++ /dev/null @@ -1 +0,0 @@ -,DESKTOP-D49H2V3/lavoi,DESKTOP-D49H2V3,29.09.2022 14:26,file:///C:/Users/lavoi/AppData/Roaming/LibreOffice/4; \ No newline at end of file diff --git a/experiment_automatization/can_be_reused/looking_at_strange_cases/summary.csv b/experiment_automatization/can_be_reused/looking_at_strange_cases/summary.csv new file mode 100755 index 0000000000000000000000000000000000000000..dbab3fa0744413ca5f8be5715d7d378e01d02987 --- /dev/null +++ b/experiment_automatization/can_be_reused/looking_at_strange_cases/summary.csv @@ -0,0 +1,61 @@ +configurations,generic format,exact frequency,google pixel format,exact frequencies,phone energy,phone power,workload,energy by workload,starting cc_info,ending cc_info +100001-0-0,[1- 0- 0- 0- 0- 1- 0- 0- 0- 0- 0- 0- 0],[576000- 0- 0- 0- 0- 576000- 0- 0- 0- 0- 0- 0- 0],[1- 0- 0- 0- 0- 1- 0- 0],[576000- 0- 0- 0- 0- 576000- 0- 0],23.92680302847992,726.3511644901749,9.39183e+10,2.54762e-10,0,0 +100001-0-0,[1- 0- 0- 0- 0- 1- 0- 0- 0- 0- 0- 0- 0],[576000- 0- 0- 0- 0- 576000- 0- 0- 0- 0- 0- 0- 0],[1- 0- 0- 0- 0- 1- 0- 0],[576000- 0- 0- 0- 0- 576000- 0- 0],24.008138624748163,726.6547674245342,9.39365e+10,2.55578e-10,0,0 +100001-0-0,[1- 0- 0- 0- 0- 1- 0- 0- 0- 0- 0- 0- 0],[576000- 0- 0- 0- 0- 576000- 0- 0- 0- 0- 0- 0- 0],[1- 0- 0- 0- 0- 1- 0- 0],[576000- 0- 0- 0- 0- 576000- 0- 0],24.04973010017626,725.0266611494385,9.40412e+10,2.55736e-10,0,0 +100010-0-0,[1- 0- 0- 0- 1- 0- 0- 0- 0- 0- 0- 0- 0],[576000- 0- 0- 0- 576000- 0- 0- 0- 0- 0- 0- 0- 0],[1- 0- 0- 0- 1- 0- 0- 0],[576000- 0- 0- 0- 576000- 0- 0- 0],23.768609723161067,721.9359233930851,9.38028e+10,2.53389e-10,0,0 +100010-0-0,[1- 0- 0- 0- 1- 0- 0- 0- 0- 0- 0- 0- 0],[576000- 0- 0- 0- 576000- 0- 0- 0- 0- 0- 0- 0- 0],[1- 0- 0- 0- 1- 0- 0- 0],[576000- 0- 0- 0- 576000- 0- 0- 0],23.907751006381503,719.5124735980693,9.4169e+10,2.53881e-10,0,0 +100010-0-0,[1- 0- 0- 0- 1- 0- 0- 0- 0- 0- 0- 0- 0],[576000- 0- 0- 0- 576000- 0- 0- 0- 0- 0- 0- 0- 0],[1- 0- 0- 0- 1- 0- 0- 0],[576000- 0- 0- 0- 576000- 0- 0- 0],23.647042756264316,717.3536897466823,9.38666e+10,2.51922e-10,0,0 +100100-0-0,[1- 0- 0- 1- 0- 0- 0- 0- 0- 0- 0- 0- 0],[576000- 0- 0- 576000- 0- 0- 0- 0- 0- 0- 0- 0- 0],[1- 0- 0- 1- 0- 0- 0- 0],[576000- 0- 0- 576000- 0- 0- 0- 0],24.34321151135318,731.1453068380349,9.52989e+10,2.55441e-10,0,0 +100100-0-0,[1- 0- 0- 1- 0- 0- 0- 0- 0- 0- 0- 0- 0],[576000- 0- 0- 576000- 0- 0- 0- 0- 0- 0- 0- 0- 0],[1- 0- 0- 1- 0- 0- 0- 0],[576000- 0- 0- 576000- 0- 0- 0- 0],23.66236144271759,723.4942902904883,9.41097e+10,2.51434e-10,0,0 +100100-0-0,[1- 0- 0- 1- 0- 0- 0- 0- 0- 0- 0- 0- 0],[576000- 0- 0- 576000- 0- 0- 0- 0- 0- 0- 0- 0- 0],[1- 0- 0- 1- 0- 0- 0- 0],[576000- 0- 0- 576000- 0- 0- 0- 0],24.282936366326563,728.7494068467691,9.36904e+10,2.59183e-10,0,0 +101000-0-0,[1- 0- 1- 0- 0- 0- 0- 0- 0- 0- 0- 0- 0],[576000- 0- 576000- 0- 0- 0- 0- 0- 0- 0- 0- 0- 0],[1- 0- 1- 0- 0- 0- 0- 0],[576000- 0- 576000- 0- 0- 0- 0- 0],23.827633134312034,723.5133808912915,9.36934e+10,2.54315e-10,0,0 +101000-0-0,[1- 0- 1- 0- 0- 0- 0- 0- 0- 0- 0- 0- 0],[576000- 0- 576000- 0- 0- 0- 0- 0- 0- 0- 0- 0- 0],[1- 0- 1- 0- 0- 0- 0- 0],[576000- 0- 576000- 0- 0- 0- 0- 0],23.826661712544205,723.732867677299,9.39683e+10,2.53561e-10,0,0 +101000-0-0,[1- 0- 1- 0- 0- 0- 0- 0- 0- 0- 0- 0- 0],[576000- 0- 576000- 0- 0- 0- 0- 0- 0- 0- 0- 0- 0],[1- 0- 1- 0- 0- 0- 0- 0],[576000- 0- 576000- 0- 0- 0- 0- 0],24.05507728451459,730.1044749181781,9.42226e+10,2.55301e-10,0,0 +110000-0-0,[1- 1- 0- 0- 0- 0- 0- 0- 0- 0- 0- 0- 0],[576000- 576000- 0- 0- 0- 0- 0- 0- 0- 0- 0- 0- 0],[1- 1- 0- 0- 0- 0- 0- 0],[576000- 576000- 0- 0- 0- 0- 0- 0],24.42419267600996,729.2341965500051,9.32932e+10,2.618e-10,0,0 +110000-0-0,[1- 1- 0- 0- 0- 0- 0- 0- 0- 0- 0- 0- 0],[576000- 576000- 0- 0- 0- 0- 0- 0- 0- 0- 0- 0- 0],[1- 1- 0- 0- 0- 0- 0- 0],[576000- 576000- 0- 0- 0- 0- 0- 0],23.99322866107899,733.4804599940842,9.32632e+10,2.57264e-10,0,0 +110000-0-0,[1- 1- 0- 0- 0- 0- 0- 0- 0- 0- 0- 0- 0],[576000- 576000- 0- 0- 0- 0- 0- 0- 0- 0- 0- 0- 0],[1- 1- 0- 0- 0- 0- 0- 0],[576000- 576000- 0- 0- 0- 0- 0- 0],24.207459297994163,733.4058099502962,9.33509e+10,2.59317e-10,0,0 +200002-0-0,[2- 0- 0- 0- 0- 2- 0- 0- 0- 0- 0- 0- 0],[1363200- 0- 0- 0- 0- 1363200- 0- 0- 0- 0- 0- 0- 0],[2- 0- 0- 0- 0- 2- 0- 0],[1363200- 0- 0- 0- 0- 1363200- 0- 0],28.77615884915817,864.5467841074815,2.29888e+11,1.25175e-10,0,0 +200002-0-0,[2- 0- 0- 0- 0- 2- 0- 0- 0- 0- 0- 0- 0],[1363200- 0- 0- 0- 0- 1363200- 0- 0- 0- 0- 0- 0- 0],[2- 0- 0- 0- 0- 2- 0- 0],[1363200- 0- 0- 0- 0- 1363200- 0- 0],28.68325147336931,867.97589459951,2.29682e+11,1.24882e-10,0,0 +200002-0-0,[2- 0- 0- 0- 0- 2- 0- 0- 0- 0- 0- 0- 0],[1363200- 0- 0- 0- 0- 1363200- 0- 0- 0- 0- 0- 0- 0],[2- 0- 0- 0- 0- 2- 0- 0],[1363200- 0- 0- 0- 0- 1363200- 0- 0],28.155953672150755,859.9466955837246,2.29866e+11,1.22489e-10,0,0 +200020-0-0,[2- 0- 0- 0- 2- 0- 0- 0- 0- 0- 0- 0- 0],[1363200- 0- 0- 0- 1363200- 0- 0- 0- 0- 0- 0- 0- 0],[2- 0- 0- 0- 2- 0- 0- 0],[1363200- 0- 0- 0- 1363200- 0- 0- 0],24.03237046200954,731.917838387565,9.40429e+10,2.55547e-10,0,0 +200020-0-0,[2- 0- 0- 0- 2- 0- 0- 0- 0- 0- 0- 0- 0],[1363200- 0- 0- 0- 1363200- 0- 0- 0- 0- 0- 0- 0- 0],[2- 0- 0- 0- 2- 0- 0- 0],[1363200- 0- 0- 0- 1363200- 0- 0- 0],24.734270276684956,744.9448049456295,9.38012e+10,2.63688e-10,0,0 +200020-0-0,[2- 0- 0- 0- 2- 0- 0- 0- 0- 0- 0- 0- 0],[1363200- 0- 0- 0- 1363200- 0- 0- 0- 0- 0- 0- 0- 0],[2- 0- 0- 0- 2- 0- 0- 0],[1363200- 0- 0- 0- 1363200- 0- 0- 0],23.743288058460422,717.9204299633639,9.38168e+10,2.53081e-10,0,0 +200200-0-0,[2- 0- 0- 2- 0- 0- 0- 0- 0- 0- 0- 0- 0],[1363200- 0- 0- 1363200- 0- 0- 0- 0- 0- 0- 0- 0- 0],[2- 0- 0- 2- 0- 0- 0- 0],[1363200- 0- 0- 1363200- 0- 0- 0- 0],23.750591714866186,720.3754498598336,9.37602e+10,2.53312e-10,0,0 +200200-0-0,[2- 0- 0- 2- 0- 0- 0- 0- 0- 0- 0- 0- 0],[1363200- 0- 0- 1363200- 0- 0- 0- 0- 0- 0- 0- 0- 0],[2- 0- 0- 2- 0- 0- 0- 0],[1363200- 0- 0- 1363200- 0- 0- 0- 0],23.505960200642747,720.5358246997052,9.35508e+10,2.51264e-10,0,0 +200200-0-0,[2- 0- 0- 2- 0- 0- 0- 0- 0- 0- 0- 0- 0],[1363200- 0- 0- 1363200- 0- 0- 0- 0- 0- 0- 0- 0- 0],[2- 0- 0- 2- 0- 0- 0- 0],[1363200- 0- 0- 1363200- 0- 0- 0- 0],23.42848921387117,715.786262487798,9.53721e+10,2.45653e-10,0,0 +202000-0-0,[2- 0- 2- 0- 0- 0- 0- 0- 0- 0- 0- 0- 0],[1363200- 0- 1363200- 0- 0- 0- 0- 0- 0- 0- 0- 0- 0],[2- 0- 2- 0- 0- 0- 0- 0],[1363200- 0- 1363200- 0- 0- 0- 0- 0],24.092534379540634,727.6323355556636,9.46278e+10,2.54603e-10,0,0 +202000-0-0,[2- 0- 2- 0- 0- 0- 0- 0- 0- 0- 0- 0- 0],[1363200- 0- 1363200- 0- 0- 0- 0- 0- 0- 0- 0- 0- 0],[2- 0- 2- 0- 0- 0- 0- 0],[1363200- 0- 1363200- 0- 0- 0- 0- 0],24.21312283502527,727.6231161055088,9.36479e+10,2.58555e-10,0,0 +202000-0-0,[2- 0- 2- 0- 0- 0- 0- 0- 0- 0- 0- 0- 0],[1363200- 0- 1363200- 0- 0- 0- 0- 0- 0- 0- 0- 0- 0],[2- 0- 2- 0- 0- 0- 0- 0],[1363200- 0- 1363200- 0- 0- 0- 0- 0],24.183210213672954,724.8966738025193,9.33887e+10,2.58952e-10,0,0 +220000-0-0,[2- 2- 0- 0- 0- 0- 0- 0- 0- 0- 0- 0- 0],[1363200- 1363200- 0- 0- 0- 0- 0- 0- 0- 0- 0- 0- 0],[2- 2- 0- 0- 0- 0- 0- 0],[1363200- 1363200- 0- 0- 0- 0- 0- 0],23.877164417300968,723.8593883501256,9.31481e+10,2.56335e-10,0,0 +220000-0-0,[2- 2- 0- 0- 0- 0- 0- 0- 0- 0- 0- 0- 0],[1363200- 1363200- 0- 0- 0- 0- 0- 0- 0- 0- 0- 0- 0],[2- 2- 0- 0- 0- 0- 0- 0],[1363200- 1363200- 0- 0- 0- 0- 0- 0],24.264174107781162,729.5652161595167,9.33644e+10,2.59887e-10,0,0 +220000-0-0,[2- 2- 0- 0- 0- 0- 0- 0- 0- 0- 0- 0- 0],[1363200- 1363200- 0- 0- 0- 0- 0- 0- 0- 0- 0- 0- 0],[2- 2- 0- 0- 0- 0- 0- 0],[1363200- 1363200- 0- 0- 0- 0- 0- 0],24.344031085422476,730.7086812082333,9.32224e+10,2.61139e-10,0,0 +300003-0-0,[3- 0- 0- 0- 0- 3- 0- 0- 0- 0- 0- 0- 0],[1804800- 0- 0- 0- 0- 1804800- 0- 0- 0- 0- 0- 0- 0],[3- 0- 0- 0- 0- 3- 0- 0],[1804800- 0- 0- 0- 0- 1804800- 0- 0],35.32232791967017,1062.5906794670752,3.08338e+11,1.14557e-10,0,0 +300003-0-0,[3- 0- 0- 0- 0- 3- 0- 0- 0- 0- 0- 0- 0],[1804800- 0- 0- 0- 0- 1804800- 0- 0- 0- 0- 0- 0- 0],[3- 0- 0- 0- 0- 3- 0- 0],[1804800- 0- 0- 0- 0- 1804800- 0- 0],35.53991612451346,1054.6014541487316,3.07609e+11,1.15536e-10,0,0 +300003-0-0,[3- 0- 0- 0- 0- 3- 0- 0- 0- 0- 0- 0- 0],[1804800- 0- 0- 0- 0- 1804800- 0- 0- 0- 0- 0- 0- 0],[3- 0- 0- 0- 0- 3- 0- 0],[1804800- 0- 0- 0- 0- 1804800- 0- 0],35.71754166492727,1067.4886839615626,3.08096e+11,1.1593e-10,0,0 +300030-0-0,[3- 0- 0- 0- 3- 0- 0- 0- 0- 0- 0- 0- 0],[1804800- 0- 0- 0- 1804800- 0- 0- 0- 0- 0- 0- 0- 0],[3- 0- 0- 0- 3- 0- 0- 0],[1804800- 0- 0- 0- 1804800- 0- 0- 0],23.716971835375215,716.9613184199904,9.36904e+10,2.53142e-10,0,0 +300030-0-0,[3- 0- 0- 0- 3- 0- 0- 0- 0- 0- 0- 0- 0],[1804800- 0- 0- 0- 1804800- 0- 0- 0- 0- 0- 0- 0- 0],[3- 0- 0- 0- 3- 0- 0- 0],[1804800- 0- 0- 0- 1804800- 0- 0- 0],23.953804227268574,725.4706873172738,9.41463e+10,2.54432e-10,0,0 +300030-0-0,[3- 0- 0- 0- 3- 0- 0- 0- 0- 0- 0- 0- 0],[1804800- 0- 0- 0- 1804800- 0- 0- 0- 0- 0- 0- 0- 0],[3- 0- 0- 0- 3- 0- 0- 0],[1804800- 0- 0- 0- 1804800- 0- 0- 0],23.66038518521068,716.9842985354938,9.37224e+10,2.52452e-10,0,0 +300300-0-0,[3- 0- 0- 3- 0- 0- 0- 0- 0- 0- 0- 0- 0],[1804800- 0- 0- 1804800- 0- 0- 0- 0- 0- 0- 0- 0- 0],[3- 0- 0- 3- 0- 0- 0- 0],[1804800- 0- 0- 1804800- 0- 0- 0- 0],24.1559718861257,724.3399358849308,9.36752e+10,2.57869e-10,0,0 +300300-0-0,[3- 0- 0- 3- 0- 0- 0- 0- 0- 0- 0- 0- 0],[1804800- 0- 0- 1804800- 0- 0- 0- 0- 0- 0- 0- 0- 0],[3- 0- 0- 3- 0- 0- 0- 0],[1804800- 0- 0- 1804800- 0- 0- 0- 0],24.32865158873136,727.0622958983141,9.37709e+10,2.59448e-10,0,0 +300300-0-0,[3- 0- 0- 3- 0- 0- 0- 0- 0- 0- 0- 0- 0],[1804800- 0- 0- 1804800- 0- 0- 0- 0- 0- 0- 0- 0- 0],[3- 0- 0- 3- 0- 0- 0- 0],[1804800- 0- 0- 1804800- 0- 0- 0- 0],23.538369217832788,719.868752090157,9.37981e+10,2.50947e-10,0,0 +303000-0-0,[3- 0- 3- 0- 0- 0- 0- 0- 0- 0- 0- 0- 0],[1804800- 0- 1804800- 0- 0- 0- 0- 0- 0- 0- 0- 0- 0],[3- 0- 3- 0- 0- 0- 0- 0],[1804800- 0- 1804800- 0- 0- 0- 0- 0],23.867682919071562,721.217272312583,9.36983e+10,2.54729e-10,0,0 +303000-0-0,[3- 0- 3- 0- 0- 0- 0- 0- 0- 0- 0- 0- 0],[1804800- 0- 1804800- 0- 0- 0- 0- 0- 0- 0- 0- 0- 0],[3- 0- 3- 0- 0- 0- 0- 0],[1804800- 0- 1804800- 0- 0- 0- 0- 0],23.84547723870087,715.5813654301581,9.39638e+10,2.53773e-10,0,0 +303000-0-0,[3- 0- 3- 0- 0- 0- 0- 0- 0- 0- 0- 0- 0],[1804800- 0- 1804800- 0- 0- 0- 0- 0- 0- 0- 0- 0- 0],[3- 0- 3- 0- 0- 0- 0- 0],[1804800- 0- 1804800- 0- 0- 0- 0- 0],24.080718397086365,729.1129229668635,9.34993e+10,2.5755e-10,0,0 +330000-0-0,[3- 3- 0- 0- 0- 0- 0- 0- 0- 0- 0- 0- 0],[1804800- 1804800- 0- 0- 0- 0- 0- 0- 0- 0- 0- 0- 0],[3- 3- 0- 0- 0- 0- 0- 0],[1804800- 1804800- 0- 0- 0- 0- 0- 0],24.08059502443054,735.9135240776465,9.35164e+10,2.57501e-10,0,0 +330000-0-0,[3- 3- 0- 0- 0- 0- 0- 0- 0- 0- 0- 0- 0],[1804800- 1804800- 0- 0- 0- 0- 0- 0- 0- 0- 0- 0- 0],[3- 3- 0- 0- 0- 0- 0- 0],[1804800- 1804800- 0- 0- 0- 0- 0- 0],24.637735624906814,745.9699120502246,9.2968e+10,2.65013e-10,0,0 +330000-0-0,[3- 3- 0- 0- 0- 0- 0- 0- 0- 0- 0- 0- 0],[1804800- 1804800- 0- 0- 0- 0- 0- 0- 0- 0- 0- 0- 0],[3- 3- 0- 0- 0- 0- 0- 0],[1804800- 1804800- 0- 0- 0- 0- 0- 0],24.641747385770024,743.5584038893306,9.31343e+10,2.64583e-10,0,0 +400004-0-0,[4- 0- 0- 0- 0- 4- 0- 0- 0- 0- 0- 0- 0],[1804801- 0- 0- 0- 0- 1804801- 0- 0- 0- 0- 0- 0- 0],[4- 0- 0- 0- 0- 4- 0- 0],[1804801- 0- 0- 0- 0- 1804801- 0- 0],35.68737472207005,1066.2012562271907,3.07857e+11,1.15922e-10,0,0 +400004-0-0,[4- 0- 0- 0- 0- 4- 0- 0- 0- 0- 0- 0- 0],[1804801- 0- 0- 0- 0- 1804801- 0- 0- 0- 0- 0- 0- 0],[4- 0- 0- 0- 0- 4- 0- 0],[1804801- 0- 0- 0- 0- 1804801- 0- 0],36.26627936290422,1083.1078081043274,3.07816e+11,1.17818e-10,0,0 +400004-0-0,[4- 0- 0- 0- 0- 4- 0- 0- 0- 0- 0- 0- 0],[1804801- 0- 0- 0- 0- 1804801- 0- 0- 0- 0- 0- 0- 0],[4- 0- 0- 0- 0- 4- 0- 0],[1804801- 0- 0- 0- 0- 1804801- 0- 0],35.74753244365377,1065.0050069453305,3.08344e+11,1.15934e-10,0,0 +400040-0-0,[4- 0- 0- 0- 4- 0- 0- 0- 0- 0- 0- 0- 0],[1804801- 0- 0- 0- 1804801- 0- 0- 0- 0- 0- 0- 0- 0],[4- 0- 0- 0- 4- 0- 0- 0],[1804801- 0- 0- 0- 1804801- 0- 0- 0],24.208364980550822,726.6868306972233,9.38028e+10,2.58077e-10,0,0 +400040-0-0,[4- 0- 0- 0- 4- 0- 0- 0- 0- 0- 0- 0- 0],[1804801- 0- 0- 0- 1804801- 0- 0- 0- 0- 0- 0- 0- 0],[4- 0- 0- 0- 4- 0- 0- 0],[1804801- 0- 0- 0- 1804801- 0- 0- 0],24.545508459651504,744.9521003748002,9.33706e+10,2.62883e-10,0,0 +400040-0-0,[4- 0- 0- 0- 4- 0- 0- 0- 0- 0- 0- 0- 0],[1804801- 0- 0- 0- 1804801- 0- 0- 0- 0- 0- 0- 0- 0],[4- 0- 0- 0- 4- 0- 0- 0],[1804801- 0- 0- 0- 1804801- 0- 0- 0],23.955644418717593,720.1107195961464,9.37345e+10,2.55569e-10,0,0 +400400-0-0,[4- 0- 0- 4- 0- 0- 0- 0- 0- 0- 0- 0- 0],[1804801- 0- 0- 1804801- 0- 0- 0- 0- 0- 0- 0- 0- 0],[4- 0- 0- 4- 0- 0- 0- 0],[1804801- 0- 0- 1804801- 0- 0- 0- 0],20.892728190680728,614.4824082169501,9.39793e+10,2.22312e-10,0,0 +400400-0-0,[4- 0- 0- 4- 0- 0- 0- 0- 0- 0- 0- 0- 0],[1804801- 0- 0- 1804801- 0- 0- 0- 0- 0- 0- 0- 0- 0],[4- 0- 0- 4- 0- 0- 0- 0],[1804801- 0- 0- 1804801- 0- 0- 0- 0],23.056442545915072,714.8303589060488,9.38391e+10,2.45702e-10,0,0 +400400-0-0,[4- 0- 0- 4- 0- 0- 0- 0- 0- 0- 0- 0- 0],[1804801- 0- 0- 1804801- 0- 0- 0- 0- 0- 0- 0- 0- 0],[4- 0- 0- 4- 0- 0- 0- 0],[1804801- 0- 0- 1804801- 0- 0- 0- 0],23.859797472163574,722.632215692879,9.36145e+10,2.54873e-10,0,0 +404000-0-0,[4- 0- 4- 0- 0- 0- 0- 0- 0- 0- 0- 0- 0],[1804801- 0- 1804801- 0- 0- 0- 0- 0- 0- 0- 0- 0- 0],[4- 0- 4- 0- 0- 0- 0- 0],[1804801- 0- 1804801- 0- 0- 0- 0- 0],23.929599517536357,721.3687521773078,9.36221e+10,2.55598e-10,0,0 +404000-0-0,[4- 0- 4- 0- 0- 0- 0- 0- 0- 0- 0- 0- 0],[1804801- 0- 1804801- 0- 0- 0- 0- 0- 0- 0- 0- 0- 0],[4- 0- 4- 0- 0- 0- 0- 0],[1804801- 0- 1804801- 0- 0- 0- 0- 0],23.98063541047566,721.8407875668076,9.38907e+10,2.5541e-10,0,0 +404000-0-0,[4- 0- 4- 0- 0- 0- 0- 0- 0- 0- 0- 0- 0],[1804801- 0- 1804801- 0- 0- 0- 0- 0- 0- 0- 0- 0- 0],[4- 0- 4- 0- 0- 0- 0- 0],[1804801- 0- 1804801- 0- 0- 0- 0- 0],24.285864392102688,735.3564781139453,9.3745e+10,2.59063e-10,0,0 +440000-0-0,[4- 4- 0- 0- 0- 0- 0- 0- 0- 0- 0- 0- 0],[1804801- 1804801- 0- 0- 0- 0- 0- 0- 0- 0- 0- 0- 0],[4- 4- 0- 0- 0- 0- 0- 0],[1804801- 1804801- 0- 0- 0- 0- 0- 0],24.084653436720817,726.7345518189771,9.31466e+10,2.58567e-10,0,0 +440000-0-0,[4- 4- 0- 0- 0- 0- 0- 0- 0- 0- 0- 0- 0],[1804801- 1804801- 0- 0- 0- 0- 0- 0- 0- 0- 0- 0- 0],[4- 4- 0- 0- 0- 0- 0- 0],[1804801- 1804801- 0- 0- 0- 0- 0- 0],24.652112755988767,731.5033821974694,9.31935e+10,2.64526e-10,0,0 +440000-0-0,[4- 4- 0- 0- 0- 0- 0- 0- 0- 0- 0- 0- 0],[1804801- 1804801- 0- 0- 0- 0- 0- 0- 0- 0- 0- 0- 0],[4- 4- 0- 0- 0- 0- 0- 0],[1804801- 1804801- 0- 0- 0- 0- 0- 0],23.764456566046302,722.8338437003015,9.29545e+10,2.55657e-10,0,0 diff --git a/experiment_automatization/can_be_reused/looking_at_strange_cases/summary___29Sep22_02_40_17.csv b/experiment_automatization/can_be_reused/looking_at_strange_cases_old/summary___29Sep22_02_40_17.csv similarity index 100% rename from experiment_automatization/can_be_reused/looking_at_strange_cases/summary___29Sep22_02_40_17.csv rename to experiment_automatization/can_be_reused/looking_at_strange_cases_old/summary___29Sep22_02_40_17.csv diff --git a/experiment_automatization/experiment_log_file.txt b/experiment_automatization/experiment_log_file.txt index 5765973b8494b6b92b1445ac113e904efdf96b2d..62b4f399f0dee6211dc4b94d2a9fbdd4a2cecfe7 100755 --- a/experiment_automatization/experiment_log_file.txt +++ b/experiment_automatization/experiment_log_file.txt @@ -1203,3 +1203,31397 @@ Thread_1_ready_for_sampling --- Printing cc_info beginning datas (for the samsung galaxy s8) --- Starting power meter sampling for about 600 seconds --- Sampling with the Monsoon power meter +powermeter script : --- Inside the monsoon_power_meter, arg function: 2 +powermeter script : Experiment duration = 600 +powermeter script : Creating the Monsoon engine +powermeter script : Creating the Monsoon engine +powermeter script : Configuring channels the Monsoon engine +powermeter script : Configuring output to : C:\Users\lavoi\opportunist_task_on_android\scripts_valuable_files\experiment_automatization\last_tmp_expermiment_folder\configuration_mesurement.csv +powermeter script : Starting sampling; number of sample = 3000000 + returning 3000000 samples after experiments +powermeter script : Total nomber of sample measured : 3000000 +powermeter script : Computing powermeter summary result + Number of samples = 3000000 +powermeter script : We computed the energy on 600 samples +powermeter script : average_power = 726.6547674245342 +powermeter script : average_power with numpy arrays = 726.6547674244796 +powermeter script : Summary Result = time (s): 603.2568607330322 +Ins Current (mA):138.96584250828602 +Samples: 3000000 +Consumed Energy (mAs): 86429.29904909339 +Consumed Energy (mAh): 24.008138624748163 +Consumed Energy (mWs): 435605.8132536438 +Consumed Energy (mWh): 121.00161479267884 +Avg power (mW): 726.6547674245342 +Avg Current (mA): 144.13467439358877 +Avg Voltage (V): 5.041498657292255 +Exp Batt Life (hrs for 1000mAh battery): NOT COMPUTED +--- Monsoon power meter sampling is finished ! + --- experiment folder path /mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/last_tmp_expermiment_folder +--- frequency level of core 0 is 1 +--- frequency level of core 1 is 0 +--- frequency level of core 2 is 0 +--- frequency level of core 3 is 0 +--- frequency level of core 4 is 0 +--- frequency level of core 5 is 1 +--- frequency level of core 6 is 0 +--- frequency level of core 7 is 0 +--- Number of threads normally started = 2 +--- Number of thread ended: 2 +--- Now threads are stopped, getting the cc_info_level for samsung +--- Copying thread results locally +command /mnt/c/Program Files/Android/platform-tools_r33.0.1-windows/platform-tools/adb.exe pull /sdcard/experiments_automatization/app_output_folder C:\Users\lavoi\opportunist_task_on_android\scripts_valuable_files\experiment_automatization\last_tmp_expermiment_folder </dev/null +/sdcard/experiments_automatization/app_output_folder/: 4 files pulled, 0 skipped. 0.0 MB/s (906 bytes in 0.030s) +saving the logcat file to /mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/last_tmp_expermiment_folder -/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/last_tmp_expermiment_folder- +--- Parsing result from /mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/last_tmp_expermiment_folder to /mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/output_folder/raw_result.txt +--- Getting exact configuration with frequency +--- Configuration with frequencies = [576000- 0- 0- 0- 0- 576000- 0- 0] +--- Getting the powermeter summary +--- Powermeter summary: +time (s): 603.2568607330322 +Ins Current (mA):138.96584250828602 +Samples: 3000000 +Consumed Energy (mAs): 86429.29904909339 +Consumed Energy (mAh): 24.008138624748163 +Consumed Energy (mWs): 435605.8132536438 +Consumed Energy (mWh): 121.00161479267884 +Avg power (mW): 726.6547674245342 +Avg Current (mA): 144.13467439358877 +Avg Voltage (V): 5.041498657292255 + +--- Getting the total energy consumed of the google pixel +--- Energy consumed = 24.008138624748163 +--- Starting cc_info = 0 +--- Ending cc_info = 0 +--- Getting the average power +--- Avg Power = 726.6547674245342 +--- Printing the total threads summary +--- Thread results +Thread : 0 - ThreadProcess id: 18457 +---------------------------------------- +Starting time: Sat, 18 Dec 2021 13:55:27 +0100 +Core id: 0 +Ending time: Sat, 18 Dec 2021 14:05:27 +0100 - Duration: 600009 seconds +Real workload: 4.70742170288837E10 - Integer reached: 129260 - Number of reset = 0 +Battery stats: 0 mAH +Computed Drain: Null +Start: 50 % - End: 50 +Cc_info at the beginning: 0 mAh +Cc_info at the end: 0 mAh +Cc_info variation: 0.0 mAh + +Thread : 1 - ThreadProcess id: 18458 +---------------------------------------- +Starting time: Sat, 18 Dec 2021 13:55:27 +0100 +Core id: 5 +Ending time: Sat, 18 Dec 2021 14:05:27 +0100 - Duration: 600001 seconds +Real workload: 4.68622373554812E10 - Integer reached: 128981 - Number of reset = 0 +Battery stats: 0 mAH +Computed Drain: Null +Start: 50 % - End: 50 +Cc_info at the beginning: 0 mAh +Cc_info at the end: 0 mAh +Cc_info variation: 0.0 mAh + + +--- Counting the total workload command : print_total_workload /mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/last_tmp_expermiment_folder app_output_folder 1,0,0,0,0,1,0,0 /mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first +--- Total workload : 9.39365e+10 +--- Getting energy efficiency +--- Energy efficiency: 2.55578e-10 +--- Building what we will add to the total result file command +------ + (build_configuration_raw_result 100001-0-0 1,0,0,0,0,1,0,0 [576000- 0- 0- 0- 0- 576000- 0- 0] time (s): 603.2568607330322 +Ins Current (mA):138.96584250828602 +Samples: 3000000 +Consumed Energy (mAs): 86429.29904909339 +Consumed Energy (mAh): 24.008138624748163 +Consumed Energy (mWs): 435605.8132536438 +Consumed Energy (mWh): 121.00161479267884 +Avg power (mW): 726.6547674245342 +Avg Current (mA): 144.13467439358877 +Avg Voltage (V): 5.041498657292255 + Thread : 0 - ThreadProcess id: 18457 +---------------------------------------- +Starting time: Sat, 18 Dec 2021 13:55:27 +0100 +Core id: 0 +Ending time: Sat, 18 Dec 2021 14:05:27 +0100 - Duration: 600009 seconds +Real workload: 4.70742170288837E10 - Integer reached: 129260 - Number of reset = 0 +Battery stats: 0 mAH +Computed Drain: Null +Start: 50 % - End: 50 +Cc_info at the beginning: 0 mAh +Cc_info at the end: 0 mAh +Cc_info variation: 0.0 mAh + +Thread : 1 - ThreadProcess id: 18458 +---------------------------------------- +Starting time: Sat, 18 Dec 2021 13:55:27 +0100 +Core id: 5 +Ending time: Sat, 18 Dec 2021 14:05:27 +0100 - Duration: 600001 seconds +Real workload: 4.68622373554812E10 - Integer reached: 128981 - Number of reset = 0 +Battery stats: 0 mAH +Computed Drain: Null +Start: 50 % - End: 50 +Cc_info at the beginning: 0 mAh +Cc_info at the end: 0 mAh +Cc_info variation: 0.0 mAh + + 24.008138624748163 9.39365e+10 2.55578e-10 0 0 +------ + +--- Final result to print to File + -------------------------------------------------------------------------------- + +++++ +++++ +++++ Configuration Description +-------------------------------------------------------------------------------- +Configuration: 100001-0-0 +phone format: 1,0,0,0,0,1,0,0 +Exact values of frequencies: [576000- 0- 0- 0- 0- 576000- 0- 0] + +Power meter results +------------------------------------------------------------ +time (s): 603.2568607330322 +Ins Current (mA):138.96584250828602 +Samples: 3000000 +Consumed Energy (mAs): 86429.29904909339 +Consumed Energy (mAh): 24.008138624748163 +Consumed Energy (mWs): 435605.8132536438 +Consumed Energy (mWh): 121.00161479267884 +Avg power (mW): 726.6547674245342 +Avg Current (mA): 144.13467439358877 +Avg Voltage (V): 5.041498657292255 + +Threads results +------------------------------------------------------------ +Thread : 0 - ThreadProcess id: 18457 +---------------------------------------- +Starting time: Sat, 18 Dec 2021 13:55:27 +0100 +Core id: 0 +Ending time: Sat, 18 Dec 2021 14:05:27 +0100 - Duration: 600009 seconds +Real workload: 4.70742170288837E10 - Integer reached: 129260 - Number of reset = 0 +Battery stats: 0 mAH +Computed Drain: Null +Start: 50 % - End: 50 +Cc_info at the beginning: 0 mAh +Cc_info at the end: 0 mAh +Cc_info variation: 0.0 mAh + +Thread : 1 - ThreadProcess id: 18458 +---------------------------------------- +Starting time: Sat, 18 Dec 2021 13:55:27 +0100 +Core id: 5 +Ending time: Sat, 18 Dec 2021 14:05:27 +0100 - Duration: 600001 seconds +Real workload: 4.68622373554812E10 - Integer reached: 128981 - Number of reset = 0 +Battery stats: 0 mAH +Computed Drain: Null +Start: 50 % - End: 50 +Cc_info at the beginning: 0 mAh +Cc_info at the end: 0 mAh +Cc_info variation: 0.0 mAh + + +Expermiment results +------------------------------------------------------------ +Energy Consumed (mAh): 24.008138624748163 +Workload: 9.39365e+10 +Energy efficiency: 2.55578e-10 +-------------------------------------------------------------------------------- + + +--- Writing to the total result file +--- Removing previous tested configuration tmp_output folder +removed '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__03Oct22_15_38_44/app_output_folder/all_workloads.txt' +removed '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__03Oct22_15_38_44/app_output_folder/Thread_0_ended' +removed '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__03Oct22_15_38_44/app_output_folder/Thread_0_ready_for_sampling' +removed '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__03Oct22_15_38_44/app_output_folder/Thread_1_ended' +removed '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__03Oct22_15_38_44/app_output_folder/Thread_1_ready_for_sampling' +removed directory '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__03Oct22_15_38_44/app_output_folder' +removed '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__03Oct22_15_38_44/configuration_mesurement.csv' +removed '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__03Oct22_15_38_44/energy_power_workload_energyByWorkload_ccInfo' +removed '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__03Oct22_15_38_44/logcat_output' +removed '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__03Oct22_15_38_44/powermeter_summary.txt' +removed directory '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__03Oct22_15_38_44' +--- Moving the current experiment tmp_folder to the output result folder +writing a temporary file for the main script with format energy_power_workload_energyByWorkload_ccInfo +--- Obtaining experiment summary result to add to result folder +--- Experiment result, Energy consumed = 24.008138624748163 +--- Experiment result, Avg Power = 726.6547674245342 +--- Experiment result, Total Workload = 9.39365e+10 +--- Experiment result, Energy Efficiency = 2.55578e-10 +--- Adding result to summary file +--- Starting cc information : 0 +--- Ending cc information : 0 +--- The file /mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/output_folder/summary.csv exists we just appending the result to the file +--- Experiments performed on configuration 100001-0-0. +--- Observing a pause betwenn experiment; pause duration : 180 seconds; starting at 03Oct22_15_51_33 +--- Performing experiments on configuration 100001-0-0 +--- Cleaning the tmp expermiment folder : /mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/last_tmp_expermiment_folder +--- Second step : verifying the battery level +--- Verifying the battery level +--- Getting current battery level, adb command path: /mnt/c/Program Files/Android/platform-tools_r33.0.1-windows/platform-tools/adb.exe +--- Current battery level : 50 +Current battery level: OKAY +--- Third step calibrating phone core frequency +--- Resetting all frequency configurations + -- Command used : echo schedutil > /sys/devices/system/cpu/cpu1/cpufreq/scaling_governor + -- Command used : echo schedutil > /sys/devices/system/cpu/cpu2/cpufreq/scaling_governor + -- Command used : echo schedutil > /sys/devices/system/cpu/cpu3/cpufreq/scaling_governor + -- Command used : echo schedutil > /sys/devices/system/cpu/cpu4/cpufreq/scaling_governor + -- Command used : echo schedutil > /sys/devices/system/cpu/cpu5/cpufreq/scaling_governor + -- Command used : echo schedutil > /sys/devices/system/cpu/cpu6/cpufreq/scaling_governor + -- Command used : echo schedutil > /sys/devices/system/cpu/cpu7/cpufreq/scaling_governor +--- Frequency level of core 0 is 1 +--- Exact frequency of core 0: 576000 +--- Modifying the governor of core 0 +--- Modifying the the current frequency of core 0 with frequency 576000 +--- Frequency level of core 1 is 0 +--- Exact frequency of core 1: 0 +--- Modifying the governor of core 1 +--- Modifying the the current frequency of core 1 with frequency 0 +--- Frequency level of core 2 is 0 +--- Exact frequency of core 2: 0 +--- Modifying the governor of core 2 +--- Modifying the the current frequency of core 2 with frequency 0 +--- Frequency level of core 3 is 0 +--- Exact frequency of core 3: 0 +--- Modifying the governor of core 3 +--- Modifying the the current frequency of core 3 with frequency 0 +--- Frequency level of core 4 is 0 +--- Exact frequency of core 4: 0 +--- Modifying the governor of core 4 +--- Modifying the the current frequency of core 4 with frequency 0 +--- Frequency level of core 5 is 1 +--- Exact frequency of core 5: 576000 +--- Modifying the governor of core 5 +--- Modifying the the current frequency of core 5 with frequency 576000 +--- Frequency level of core 6 is 0 +--- Exact frequency of core 6: 0 +--- Modifying the governor of core 6 +--- Modifying the the current frequency of core 6 with frequency 0 +--- Frequency level of core 7 is 0 +--- Exact frequency of core 7: 0 +--- Modifying the governor of core 7 +--- Modifying the the current frequency of core 7 with frequency 0 +--- Calibrating Monsoon power meter, please wait for 10 seconds... +powermeter script : --- Inside the monsoon_power_meter, arg function: 1 +powermeter script : calibration duration = 10 +powermeter script : Creating the Monsoon engine +powermeter script : Creating the Monsoon engine +powermeter script : Configuring channels the Monsoon engine +powermeter script : Configuring output to : C:\Users\lavoi\opportunist_task_on_android\scripts_valuable_files\experiment_automatization\last_tmp_expermiment_folder\configuration_mesurement.csv +powermeter script : Starting sampling; number of sample = 50000 + returning 50000 samples after experiments +powermeter script : Power meter calibration okay +--- Monsoon power meter Calibrated +--- starting the benchmarking app +## writing the configuration inside the phone file + --- Removing file /sdcard/experiments_automatization +rm '/sdcard/experiments_automatization/current_configuration.txt' +rm '/sdcard/experiments_automatization/experiment_duration.txt' +rm '/sdcard/experiments_automatization/app_output_folder/Thread_0_ready_for_sampling' +rm '/sdcard/experiments_automatization/app_output_folder/Thread_1_ready_for_sampling' +rm '/sdcard/experiments_automatization/app_output_folder/Thread_0_ended' +rm '/sdcard/experiments_automatization/app_output_folder/Thread_1_ended' +rmdir '/sdcard/experiments_automatization/app_output_folder' +rmdir '/sdcard/experiments_automatization' + --- Clearing the logcat + --- Creating file /sdcard/experiments_automatization +----- Uninstalling experiment app +Success +----- Installing experiment app +Performing Streamed Install +Success +------ Giving rights to experiment app +----- Starting experiment app +Starting: Intent { cmp=com.opportunistask.scheduling.benchmarking_app_to_test_big_cores/.MainActivity } +adb command : ps -A | grep com.opportunistask.scheduling.benchmarking_app_to_test_big_cores + ----- Experiment app started with pid: 19287 +---- waiting for benchmarking app thread to be pinned and to be ready +--- frequency level of core 0 is 1 +--- frequency level of core 1 is 0 +--- frequency level of core 2 is 0 +--- frequency level of core 3 is 0 +--- frequency level of core 4 is 0 +--- frequency level of core 5 is 1 +--- frequency level of core 6 is 0 +--- frequency level of core 7 is 0 +--- Number of cores to occupy = 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 1 +--- The current number of thread ready to be sambled : 1, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 2 +--- Now threads are running and the phone is ready to be sampled with the power meter \n--- Threads pids +Thread_0_ready_for_sampling +Thread_1_ready_for_sampling +--- Printing cc_info beginning datas (for the samsung galaxy s8) + --- Starting power meter sampling for about 600 seconds +--- Sampling with the Monsoon power meter +powermeter script : --- Inside the monsoon_power_meter, arg function: 2 +powermeter script : Experiment duration = 600 +powermeter script : Creating the Monsoon engine +powermeter script : Creating the Monsoon engine +powermeter script : Configuring channels the Monsoon engine +powermeter script : Configuring output to : C:\Users\lavoi\opportunist_task_on_android\scripts_valuable_files\experiment_automatization\last_tmp_expermiment_folder\configuration_mesurement.csv +powermeter script : Starting sampling; number of sample = 3000000 + returning 3000000 samples after experiments +powermeter script : Total nomber of sample measured : 3000000 +powermeter script : Computing powermeter summary result + Number of samples = 3000000 +powermeter script : We computed the energy on 600 samples +powermeter script : average_power = 725.0266611494385 +powermeter script : average_power with numpy arrays = 725.0266611493158 +powermeter script : Summary Result = time (s): 602.1997585296631 +Ins Current (mA):147.3581444783488 +Samples: 3000000 +Consumed Energy (mAs): 86579.02836063453 +Consumed Energy (mAh): 24.04973010017626 +Consumed Energy (mWs): 436349.10878689046 +Consumed Energy (mWh): 121.20808577413624 +Avg power (mW): 725.0266611494385 +Avg Current (mA): 143.8183972059938 +Avg Voltage (V): 5.041265062292199 +Exp Batt Life (hrs for 1000mAh battery): NOT COMPUTED +--- Monsoon power meter sampling is finished ! + --- experiment folder path /mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/last_tmp_expermiment_folder +--- frequency level of core 0 is 1 +--- frequency level of core 1 is 0 +--- frequency level of core 2 is 0 +--- frequency level of core 3 is 0 +--- frequency level of core 4 is 0 +--- frequency level of core 5 is 1 +--- frequency level of core 6 is 0 +--- frequency level of core 7 is 0 +--- Number of threads normally started = 2 +--- Number of thread ended: 2 +--- Now threads are stopped, getting the cc_info_level for samsung +--- Copying thread results locally +command /mnt/c/Program Files/Android/platform-tools_r33.0.1-windows/platform-tools/adb.exe pull /sdcard/experiments_automatization/app_output_folder C:\Users\lavoi\opportunist_task_on_android\scripts_valuable_files\experiment_automatization\last_tmp_expermiment_folder </dev/null +/sdcard/experiments_automatization/app_output_folder/: 4 files pulled, 0 skipped. 0.0 MB/s (908 bytes in 0.030s) +saving the logcat file to /mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/last_tmp_expermiment_folder -/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/last_tmp_expermiment_folder- +--- Parsing result from /mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/last_tmp_expermiment_folder to /mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/output_folder/raw_result.txt +--- Getting exact configuration with frequency +--- Configuration with frequencies = [576000- 0- 0- 0- 0- 576000- 0- 0] +--- Getting the powermeter summary +--- Powermeter summary: +time (s): 602.1997585296631 +Ins Current (mA):147.3581444783488 +Samples: 3000000 +Consumed Energy (mAs): 86579.02836063453 +Consumed Energy (mAh): 24.04973010017626 +Consumed Energy (mWs): 436349.10878689046 +Consumed Energy (mWh): 121.20808577413624 +Avg power (mW): 725.0266611494385 +Avg Current (mA): 143.8183972059938 +Avg Voltage (V): 5.041265062292199 + +--- Getting the total energy consumed of the google pixel +--- Energy consumed = 24.04973010017626 +--- Starting cc_info = 0 +--- Ending cc_info = 0 +--- Getting the average power +--- Avg Power = 725.0266611494385 +--- Printing the total threads summary +--- Thread results +Thread : 0 - ThreadProcess id: 19312 +---------------------------------------- +Starting time: Sat, 18 Dec 2021 14:11:18 +0100 +Core id: 0 +Ending time: Sat, 18 Dec 2021 14:21:18 +0100 - Duration: 600010 seconds +Real workload: 4.700730240369411E10 - Integer reached: 129172 - Number of reset = 0 +Battery stats: 0 mAH +Computed Drain: Null +Start: 50 % - End: 50 +Cc_info at the beginning: 0 mAh +Cc_info at the end: 0 mAh +Cc_info variation: 0.0 mAh + +Thread : 1 - ThreadProcess id: 19313 +---------------------------------------- +Starting time: Sat, 18 Dec 2021 14:11:17 +0100 +Core id: 5 +Ending time: Sat, 18 Dec 2021 14:21:18 +0100 - Duration: 600004 seconds +Real workload: 4.703391025637053E10 - Integer reached: 129207 - Number of reset = 0 +Battery stats: 0 mAH +Computed Drain: Null +Start: 50 % - End: 50 +Cc_info at the beginning: 0 mAh +Cc_info at the end: 0 mAh +Cc_info variation: 0.0 mAh + + +--- Counting the total workload command : print_total_workload /mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/last_tmp_expermiment_folder app_output_folder 1,0,0,0,0,1,0,0 /mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first +--- Total workload : 9.40412e+10 +--- Getting energy efficiency +--- Energy efficiency: 2.55736e-10 +--- Building what we will add to the total result file command +------ + (build_configuration_raw_result 100001-0-0 1,0,0,0,0,1,0,0 [576000- 0- 0- 0- 0- 576000- 0- 0] time (s): 602.1997585296631 +Ins Current (mA):147.3581444783488 +Samples: 3000000 +Consumed Energy (mAs): 86579.02836063453 +Consumed Energy (mAh): 24.04973010017626 +Consumed Energy (mWs): 436349.10878689046 +Consumed Energy (mWh): 121.20808577413624 +Avg power (mW): 725.0266611494385 +Avg Current (mA): 143.8183972059938 +Avg Voltage (V): 5.041265062292199 + Thread : 0 - ThreadProcess id: 19312 +---------------------------------------- +Starting time: Sat, 18 Dec 2021 14:11:18 +0100 +Core id: 0 +Ending time: Sat, 18 Dec 2021 14:21:18 +0100 - Duration: 600010 seconds +Real workload: 4.700730240369411E10 - Integer reached: 129172 - Number of reset = 0 +Battery stats: 0 mAH +Computed Drain: Null +Start: 50 % - End: 50 +Cc_info at the beginning: 0 mAh +Cc_info at the end: 0 mAh +Cc_info variation: 0.0 mAh + +Thread : 1 - ThreadProcess id: 19313 +---------------------------------------- +Starting time: Sat, 18 Dec 2021 14:11:17 +0100 +Core id: 5 +Ending time: Sat, 18 Dec 2021 14:21:18 +0100 - Duration: 600004 seconds +Real workload: 4.703391025637053E10 - Integer reached: 129207 - Number of reset = 0 +Battery stats: 0 mAH +Computed Drain: Null +Start: 50 % - End: 50 +Cc_info at the beginning: 0 mAh +Cc_info at the end: 0 mAh +Cc_info variation: 0.0 mAh + + 24.04973010017626 9.40412e+10 2.55736e-10 0 0 +------ + +--- Final result to print to File + -------------------------------------------------------------------------------- + +++++ +++++ +++++ Configuration Description +-------------------------------------------------------------------------------- +Configuration: 100001-0-0 +phone format: 1,0,0,0,0,1,0,0 +Exact values of frequencies: [576000- 0- 0- 0- 0- 576000- 0- 0] + +Power meter results +------------------------------------------------------------ +time (s): 602.1997585296631 +Ins Current (mA):147.3581444783488 +Samples: 3000000 +Consumed Energy (mAs): 86579.02836063453 +Consumed Energy (mAh): 24.04973010017626 +Consumed Energy (mWs): 436349.10878689046 +Consumed Energy (mWh): 121.20808577413624 +Avg power (mW): 725.0266611494385 +Avg Current (mA): 143.8183972059938 +Avg Voltage (V): 5.041265062292199 + +Threads results +------------------------------------------------------------ +Thread : 0 - ThreadProcess id: 19312 +---------------------------------------- +Starting time: Sat, 18 Dec 2021 14:11:18 +0100 +Core id: 0 +Ending time: Sat, 18 Dec 2021 14:21:18 +0100 - Duration: 600010 seconds +Real workload: 4.700730240369411E10 - Integer reached: 129172 - Number of reset = 0 +Battery stats: 0 mAH +Computed Drain: Null +Start: 50 % - End: 50 +Cc_info at the beginning: 0 mAh +Cc_info at the end: 0 mAh +Cc_info variation: 0.0 mAh + +Thread : 1 - ThreadProcess id: 19313 +---------------------------------------- +Starting time: Sat, 18 Dec 2021 14:11:17 +0100 +Core id: 5 +Ending time: Sat, 18 Dec 2021 14:21:18 +0100 - Duration: 600004 seconds +Real workload: 4.703391025637053E10 - Integer reached: 129207 - Number of reset = 0 +Battery stats: 0 mAH +Computed Drain: Null +Start: 50 % - End: 50 +Cc_info at the beginning: 0 mAh +Cc_info at the end: 0 mAh +Cc_info variation: 0.0 mAh + + +Expermiment results +------------------------------------------------------------ +Energy Consumed (mAh): 24.04973010017626 +Workload: 9.40412e+10 +Energy efficiency: 2.55736e-10 +-------------------------------------------------------------------------------- + + +--- Writing to the total result file +--- Removing previous tested configuration tmp_output folder +removed '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__03Oct22_15_54_35/app_output_folder/all_workloads.txt' +removed '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__03Oct22_15_54_35/app_output_folder/Thread_0_ended' +removed '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__03Oct22_15_54_35/app_output_folder/Thread_0_ready_for_sampling' +removed '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__03Oct22_15_54_35/app_output_folder/Thread_1_ended' +removed '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__03Oct22_15_54_35/app_output_folder/Thread_1_ready_for_sampling' +removed directory '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__03Oct22_15_54_35/app_output_folder' +removed '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__03Oct22_15_54_35/configuration_mesurement.csv' +removed '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__03Oct22_15_54_35/energy_power_workload_energyByWorkload_ccInfo' +removed '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__03Oct22_15_54_35/logcat_output' +removed '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__03Oct22_15_54_35/powermeter_summary.txt' +removed directory '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__03Oct22_15_54_35' +--- Moving the current experiment tmp_folder to the output result folder +writing a temporary file for the main script with format energy_power_workload_energyByWorkload_ccInfo +--- Obtaining experiment summary result to add to result folder +--- Experiment result, Energy consumed = 24.04973010017626 +--- Experiment result, Avg Power = 725.0266611494385 +--- Experiment result, Total Workload = 9.40412e+10 +--- Experiment result, Energy Efficiency = 2.55736e-10 +--- Adding result to summary file +--- Starting cc information : 0 +--- Ending cc information : 0 +--- The file /mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/output_folder/summary.csv exists we just appending the result to the file +--- Experiments performed on configuration 100001-0-0. +--- Observing a pause betwenn experiment; pause duration : 180 seconds; starting at 03Oct22_16_07_23 +--- Performing experiments on configuration 100010-0-0 +--- Cleaning the tmp expermiment folder : /mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/last_tmp_expermiment_folder +--- Second step : verifying the battery level +--- Verifying the battery level +--- Getting current battery level, adb command path: /mnt/c/Program Files/Android/platform-tools_r33.0.1-windows/platform-tools/adb.exe +--- Current battery level : 50 +Current battery level: OKAY +--- Third step calibrating phone core frequency +--- Resetting all frequency configurations + -- Command used : echo schedutil > /sys/devices/system/cpu/cpu1/cpufreq/scaling_governor + -- Command used : echo schedutil > /sys/devices/system/cpu/cpu2/cpufreq/scaling_governor + -- Command used : echo schedutil > /sys/devices/system/cpu/cpu3/cpufreq/scaling_governor + -- Command used : echo schedutil > /sys/devices/system/cpu/cpu4/cpufreq/scaling_governor + -- Command used : echo schedutil > /sys/devices/system/cpu/cpu5/cpufreq/scaling_governor + -- Command used : echo schedutil > /sys/devices/system/cpu/cpu6/cpufreq/scaling_governor + -- Command used : echo schedutil > /sys/devices/system/cpu/cpu7/cpufreq/scaling_governor +--- Frequency level of core 0 is 1 +--- Exact frequency of core 0: 576000 +--- Modifying the governor of core 0 +--- Modifying the the current frequency of core 0 with frequency 576000 +--- Frequency level of core 1 is 0 +--- Exact frequency of core 1: 0 +--- Modifying the governor of core 1 +--- Modifying the the current frequency of core 1 with frequency 0 +--- Frequency level of core 2 is 0 +--- Exact frequency of core 2: 0 +--- Modifying the governor of core 2 +--- Modifying the the current frequency of core 2 with frequency 0 +--- Frequency level of core 3 is 0 +--- Exact frequency of core 3: 0 +--- Modifying the governor of core 3 +--- Modifying the the current frequency of core 3 with frequency 0 +--- Frequency level of core 4 is 1 +--- Exact frequency of core 4: 576000 +--- Modifying the governor of core 4 +--- Modifying the the current frequency of core 4 with frequency 576000 +--- Frequency level of core 5 is 0 +--- Exact frequency of core 5: 0 +--- Modifying the governor of core 5 +--- Modifying the the current frequency of core 5 with frequency 0 +--- Frequency level of core 6 is 0 +--- Exact frequency of core 6: 0 +--- Modifying the governor of core 6 +--- Modifying the the current frequency of core 6 with frequency 0 +--- Frequency level of core 7 is 0 +--- Exact frequency of core 7: 0 +--- Modifying the governor of core 7 +--- Modifying the the current frequency of core 7 with frequency 0 +--- Calibrating Monsoon power meter, please wait for 10 seconds... +powermeter script : --- Inside the monsoon_power_meter, arg function: 1 +powermeter script : calibration duration = 10 +powermeter script : Creating the Monsoon engine +powermeter script : Creating the Monsoon engine +powermeter script : Configuring channels the Monsoon engine +powermeter script : Configuring output to : C:\Users\lavoi\opportunist_task_on_android\scripts_valuable_files\experiment_automatization\last_tmp_expermiment_folder\configuration_mesurement.csv +powermeter script : Starting sampling; number of sample = 50000 + returning 50000 samples after experiments +powermeter script : Power meter calibration okay +--- Monsoon power meter Calibrated +--- starting the benchmarking app +## writing the configuration inside the phone file + --- Removing file /sdcard/experiments_automatization +rm '/sdcard/experiments_automatization/current_configuration.txt' +rm '/sdcard/experiments_automatization/experiment_duration.txt' +rm '/sdcard/experiments_automatization/app_output_folder/Thread_1_ready_for_sampling' +rm '/sdcard/experiments_automatization/app_output_folder/Thread_0_ready_for_sampling' +rm '/sdcard/experiments_automatization/app_output_folder/Thread_1_ended' +rm '/sdcard/experiments_automatization/app_output_folder/Thread_0_ended' +rmdir '/sdcard/experiments_automatization/app_output_folder' +rmdir '/sdcard/experiments_automatization' + --- Clearing the logcat + --- Creating file /sdcard/experiments_automatization +----- Uninstalling experiment app +Success +----- Installing experiment app +Performing Streamed Install +Success +------ Giving rights to experiment app +----- Starting experiment app +Starting: Intent { cmp=com.opportunistask.scheduling.benchmarking_app_to_test_big_cores/.MainActivity } +adb command : ps -A | grep com.opportunistask.scheduling.benchmarking_app_to_test_big_cores + ----- Experiment app started with pid: 20119 +---- waiting for benchmarking app thread to be pinned and to be ready +--- frequency level of core 0 is 1 +--- frequency level of core 1 is 0 +--- frequency level of core 2 is 0 +--- frequency level of core 3 is 0 +--- frequency level of core 4 is 1 +--- frequency level of core 5 is 0 +--- frequency level of core 6 is 0 +--- frequency level of core 7 is 0 +--- Number of cores to occupy = 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 2 +--- Now threads are running and the phone is ready to be sampled with the power meter \n--- Threads pids +Thread_0_ready_for_sampling +Thread_1_ready_for_sampling +--- Printing cc_info beginning datas (for the samsung galaxy s8) + --- Starting power meter sampling for about 600 seconds +--- Sampling with the Monsoon power meter +powermeter script : --- Inside the monsoon_power_meter, arg function: 2 +powermeter script : Experiment duration = 600 +powermeter script : Creating the Monsoon engine +powermeter script : Creating the Monsoon engine +powermeter script : Configuring channels the Monsoon engine +powermeter script : Configuring output to : C:\Users\lavoi\opportunist_task_on_android\scripts_valuable_files\experiment_automatization\last_tmp_expermiment_folder\configuration_mesurement.csv +powermeter script : Starting sampling; number of sample = 3000000 + returning 3000000 samples after experiments +powermeter script : Total nomber of sample measured : 3000000 +powermeter script : Computing powermeter summary result + Number of samples = 3000000 +powermeter script : We computed the energy on 600 samples +powermeter script : average_power = 721.9359233930851 +powermeter script : average_power with numpy arrays = 721.9359233929434 +powermeter script : Summary Result = time (s): 602.167617559433 +Ins Current (mA):143.69582130039547 +Samples: 3000000 +Consumed Energy (mAs): 85566.99500337984 +Consumed Energy (mAh): 23.768609723161067 +Consumed Energy (mWs): 431336.6690840349 +Consumed Energy (mWh): 119.81574141223192 +Avg power (mW): 721.9359233930851 +Avg Current (mA): 143.17973149216047 +Avg Voltage (V): 5.042165646417722 +Exp Batt Life (hrs for 1000mAh battery): NOT COMPUTED +--- Monsoon power meter sampling is finished ! + --- experiment folder path /mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/last_tmp_expermiment_folder +--- frequency level of core 0 is 1 +--- frequency level of core 1 is 0 +--- frequency level of core 2 is 0 +--- frequency level of core 3 is 0 +--- frequency level of core 4 is 1 +--- frequency level of core 5 is 0 +--- frequency level of core 6 is 0 +--- frequency level of core 7 is 0 +--- Number of threads normally started = 2 +--- Number of thread ended: 2 +--- Now threads are stopped, getting the cc_info_level for samsung +--- Copying thread results locally +command /mnt/c/Program Files/Android/platform-tools_r33.0.1-windows/platform-tools/adb.exe pull /sdcard/experiments_automatization/app_output_folder C:\Users\lavoi\opportunist_task_on_android\scripts_valuable_files\experiment_automatization\last_tmp_expermiment_folder </dev/null +/sdcard/experiments_automatization/app_output_folder/: 4 files pulled, 0 skipped. 0.0 MB/s (909 bytes in 0.030s) +saving the logcat file to /mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/last_tmp_expermiment_folder -/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/last_tmp_expermiment_folder- +--- Parsing result from /mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/last_tmp_expermiment_folder to /mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/output_folder/raw_result.txt +--- Getting exact configuration with frequency +--- Configuration with frequencies = [576000- 0- 0- 0- 576000- 0- 0- 0] +--- Getting the powermeter summary +--- Powermeter summary: +time (s): 602.167617559433 +Ins Current (mA):143.69582130039547 +Samples: 3000000 +Consumed Energy (mAs): 85566.99500337984 +Consumed Energy (mAh): 23.768609723161067 +Consumed Energy (mWs): 431336.6690840349 +Consumed Energy (mWh): 119.81574141223192 +Avg power (mW): 721.9359233930851 +Avg Current (mA): 143.17973149216047 +Avg Voltage (V): 5.042165646417722 + +--- Getting the total energy consumed of the google pixel +--- Energy consumed = 23.768609723161067 +--- Starting cc_info = 0 +--- Ending cc_info = 0 +--- Getting the average power +--- Avg Power = 721.9359233930851 +--- Printing the total threads summary +--- Thread results +Thread : 0 - ThreadProcess id: 20144 +---------------------------------------- +Starting time: Sat, 18 Dec 2021 14:27:08 +0100 +Core id: 0 +Ending time: Sat, 18 Dec 2021 14:37:08 +0100 - Duration: 600004 seconds +Real workload: 4.679623780445485E10 - Integer reached: 128894 - Number of reset = 0 +Battery stats: 0 mAH +Computed Drain: Null +Start: 50 % - End: 50 +Cc_info at the beginning: 0 mAh +Cc_info at the end: 0 mAh +Cc_info variation: 0.0 mAh + +Thread : 1 - ThreadProcess id: 20145 +---------------------------------------- +Starting time: Sat, 18 Dec 2021 14:27:08 +0100 +Core id: 4 +Ending time: Sat, 18 Dec 2021 14:37:08 +0100 - Duration: 600002 seconds +Real workload: 4.7006542296339874E10 - Integer reached: 129171 - Number of reset = 0 +Battery stats: 0 mAH +Computed Drain: Null +Start: 50 % - End: 50 +Cc_info at the beginning: 0 mAh +Cc_info at the end: 0 mAh +Cc_info variation: 0.0 mAh + + +--- Counting the total workload command : print_total_workload /mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/last_tmp_expermiment_folder app_output_folder 1,0,0,0,1,0,0,0 /mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first +--- Total workload : 9.38028e+10 +--- Getting energy efficiency +--- Energy efficiency: 2.53389e-10 +--- Building what we will add to the total result file command +------ + (build_configuration_raw_result 100010-0-0 1,0,0,0,1,0,0,0 [576000- 0- 0- 0- 576000- 0- 0- 0] time (s): 602.167617559433 +Ins Current (mA):143.69582130039547 +Samples: 3000000 +Consumed Energy (mAs): 85566.99500337984 +Consumed Energy (mAh): 23.768609723161067 +Consumed Energy (mWs): 431336.6690840349 +Consumed Energy (mWh): 119.81574141223192 +Avg power (mW): 721.9359233930851 +Avg Current (mA): 143.17973149216047 +Avg Voltage (V): 5.042165646417722 + Thread : 0 - ThreadProcess id: 20144 +---------------------------------------- +Starting time: Sat, 18 Dec 2021 14:27:08 +0100 +Core id: 0 +Ending time: Sat, 18 Dec 2021 14:37:08 +0100 - Duration: 600004 seconds +Real workload: 4.679623780445485E10 - Integer reached: 128894 - Number of reset = 0 +Battery stats: 0 mAH +Computed Drain: Null +Start: 50 % - End: 50 +Cc_info at the beginning: 0 mAh +Cc_info at the end: 0 mAh +Cc_info variation: 0.0 mAh + +Thread : 1 - ThreadProcess id: 20145 +---------------------------------------- +Starting time: Sat, 18 Dec 2021 14:27:08 +0100 +Core id: 4 +Ending time: Sat, 18 Dec 2021 14:37:08 +0100 - Duration: 600002 seconds +Real workload: 4.7006542296339874E10 - Integer reached: 129171 - Number of reset = 0 +Battery stats: 0 mAH +Computed Drain: Null +Start: 50 % - End: 50 +Cc_info at the beginning: 0 mAh +Cc_info at the end: 0 mAh +Cc_info variation: 0.0 mAh + + 23.768609723161067 9.38028e+10 2.53389e-10 0 0 +------ + +--- Final result to print to File + -------------------------------------------------------------------------------- + +++++ +++++ +++++ Configuration Description +-------------------------------------------------------------------------------- +Configuration: 100010-0-0 +phone format: 1,0,0,0,1,0,0,0 +Exact values of frequencies: [576000- 0- 0- 0- 576000- 0- 0- 0] + +Power meter results +------------------------------------------------------------ +time (s): 602.167617559433 +Ins Current (mA):143.69582130039547 +Samples: 3000000 +Consumed Energy (mAs): 85566.99500337984 +Consumed Energy (mAh): 23.768609723161067 +Consumed Energy (mWs): 431336.6690840349 +Consumed Energy (mWh): 119.81574141223192 +Avg power (mW): 721.9359233930851 +Avg Current (mA): 143.17973149216047 +Avg Voltage (V): 5.042165646417722 + +Threads results +------------------------------------------------------------ +Thread : 0 - ThreadProcess id: 20144 +---------------------------------------- +Starting time: Sat, 18 Dec 2021 14:27:08 +0100 +Core id: 0 +Ending time: Sat, 18 Dec 2021 14:37:08 +0100 - Duration: 600004 seconds +Real workload: 4.679623780445485E10 - Integer reached: 128894 - Number of reset = 0 +Battery stats: 0 mAH +Computed Drain: Null +Start: 50 % - End: 50 +Cc_info at the beginning: 0 mAh +Cc_info at the end: 0 mAh +Cc_info variation: 0.0 mAh + +Thread : 1 - ThreadProcess id: 20145 +---------------------------------------- +Starting time: Sat, 18 Dec 2021 14:27:08 +0100 +Core id: 4 +Ending time: Sat, 18 Dec 2021 14:37:08 +0100 - Duration: 600002 seconds +Real workload: 4.7006542296339874E10 - Integer reached: 129171 - Number of reset = 0 +Battery stats: 0 mAH +Computed Drain: Null +Start: 50 % - End: 50 +Cc_info at the beginning: 0 mAh +Cc_info at the end: 0 mAh +Cc_info variation: 0.0 mAh + + +Expermiment results +------------------------------------------------------------ +Energy Consumed (mAh): 23.768609723161067 +Workload: 9.38028e+10 +Energy efficiency: 2.53389e-10 +-------------------------------------------------------------------------------- + + +--- Writing to the total result file +--- Removing previous tested configuration tmp_output folder +removed '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__03Oct22_16_10_25/app_output_folder/all_workloads.txt' +removed '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__03Oct22_16_10_25/app_output_folder/Thread_0_ended' +removed '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__03Oct22_16_10_25/app_output_folder/Thread_0_ready_for_sampling' +removed '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__03Oct22_16_10_25/app_output_folder/Thread_1_ended' +removed '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__03Oct22_16_10_25/app_output_folder/Thread_1_ready_for_sampling' +removed directory '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__03Oct22_16_10_25/app_output_folder' +removed '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__03Oct22_16_10_25/configuration_mesurement.csv' +removed '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__03Oct22_16_10_25/energy_power_workload_energyByWorkload_ccInfo' +removed '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__03Oct22_16_10_25/logcat_output' +removed '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__03Oct22_16_10_25/powermeter_summary.txt' +removed directory '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__03Oct22_16_10_25' +--- Moving the current experiment tmp_folder to the output result folder +writing a temporary file for the main script with format energy_power_workload_energyByWorkload_ccInfo +--- Obtaining experiment summary result to add to result folder +--- Experiment result, Energy consumed = 23.768609723161067 +--- Experiment result, Avg Power = 721.9359233930851 +--- Experiment result, Total Workload = 9.38028e+10 +--- Experiment result, Energy Efficiency = 2.53389e-10 +--- Adding result to summary file +--- Starting cc information : 0 +--- Ending cc information : 0 +--- The file /mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/output_folder/summary.csv exists we just appending the result to the file +--- Experiments performed on configuration 100010-0-0. +--- Observing a pause betwenn experiment; pause duration : 180 seconds; starting at 03Oct22_16_23_14 +--- Performing experiments on configuration 100010-0-0 +--- Cleaning the tmp expermiment folder : /mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/last_tmp_expermiment_folder +--- Second step : verifying the battery level +--- Verifying the battery level +--- Getting current battery level, adb command path: /mnt/c/Program Files/Android/platform-tools_r33.0.1-windows/platform-tools/adb.exe +--- Current battery level : 50 +Current battery level: OKAY +--- Third step calibrating phone core frequency +--- Resetting all frequency configurations + -- Command used : echo schedutil > /sys/devices/system/cpu/cpu1/cpufreq/scaling_governor + -- Command used : echo schedutil > /sys/devices/system/cpu/cpu2/cpufreq/scaling_governor + -- Command used : echo schedutil > /sys/devices/system/cpu/cpu3/cpufreq/scaling_governor + -- Command used : echo schedutil > /sys/devices/system/cpu/cpu4/cpufreq/scaling_governor + -- Command used : echo schedutil > /sys/devices/system/cpu/cpu5/cpufreq/scaling_governor + -- Command used : echo schedutil > /sys/devices/system/cpu/cpu6/cpufreq/scaling_governor + -- Command used : echo schedutil > /sys/devices/system/cpu/cpu7/cpufreq/scaling_governor +--- Frequency level of core 0 is 1 +--- Exact frequency of core 0: 576000 +--- Modifying the governor of core 0 +--- Modifying the the current frequency of core 0 with frequency 576000 +--- Frequency level of core 1 is 0 +--- Exact frequency of core 1: 0 +--- Modifying the governor of core 1 +--- Modifying the the current frequency of core 1 with frequency 0 +--- Frequency level of core 2 is 0 +--- Exact frequency of core 2: 0 +--- Modifying the governor of core 2 +--- Modifying the the current frequency of core 2 with frequency 0 +--- Frequency level of core 3 is 0 +--- Exact frequency of core 3: 0 +--- Modifying the governor of core 3 +--- Modifying the the current frequency of core 3 with frequency 0 +--- Frequency level of core 4 is 1 +--- Exact frequency of core 4: 576000 +--- Modifying the governor of core 4 +--- Modifying the the current frequency of core 4 with frequency 576000 +--- Frequency level of core 5 is 0 +--- Exact frequency of core 5: 0 +--- Modifying the governor of core 5 +--- Modifying the the current frequency of core 5 with frequency 0 +--- Frequency level of core 6 is 0 +--- Exact frequency of core 6: 0 +--- Modifying the governor of core 6 +--- Modifying the the current frequency of core 6 with frequency 0 +--- Frequency level of core 7 is 0 +--- Exact frequency of core 7: 0 +--- Modifying the governor of core 7 +--- Modifying the the current frequency of core 7 with frequency 0 +--- Calibrating Monsoon power meter, please wait for 10 seconds... +powermeter script : --- Inside the monsoon_power_meter, arg function: 1 +powermeter script : calibration duration = 10 +powermeter script : Creating the Monsoon engine +powermeter script : Creating the Monsoon engine +powermeter script : Configuring channels the Monsoon engine +powermeter script : Configuring output to : C:\Users\lavoi\opportunist_task_on_android\scripts_valuable_files\experiment_automatization\last_tmp_expermiment_folder\configuration_mesurement.csv +powermeter script : Starting sampling; number of sample = 50000 + returning 50000 samples after experiments +powermeter script : Power meter calibration okay +--- Monsoon power meter Calibrated +--- starting the benchmarking app +## writing the configuration inside the phone file + --- Removing file /sdcard/experiments_automatization +rm '/sdcard/experiments_automatization/current_configuration.txt' +rm '/sdcard/experiments_automatization/experiment_duration.txt' +rm '/sdcard/experiments_automatization/app_output_folder/Thread_1_ready_for_sampling' +rm '/sdcard/experiments_automatization/app_output_folder/Thread_0_ready_for_sampling' +rm '/sdcard/experiments_automatization/app_output_folder/Thread_1_ended' +rm '/sdcard/experiments_automatization/app_output_folder/Thread_0_ended' +rmdir '/sdcard/experiments_automatization/app_output_folder' +rmdir '/sdcard/experiments_automatization' + --- Clearing the logcat + --- Creating file /sdcard/experiments_automatization +----- Uninstalling experiment app +Success +----- Installing experiment app +Performing Streamed Install +Success +------ Giving rights to experiment app +----- Starting experiment app +Starting: Intent { cmp=com.opportunistask.scheduling.benchmarking_app_to_test_big_cores/.MainActivity } +adb command : ps -A | grep com.opportunistask.scheduling.benchmarking_app_to_test_big_cores + ----- Experiment app started with pid: 20949 +---- waiting for benchmarking app thread to be pinned and to be ready +--- frequency level of core 0 is 1 +--- frequency level of core 1 is 0 +--- frequency level of core 2 is 0 +--- frequency level of core 3 is 0 +--- frequency level of core 4 is 1 +--- frequency level of core 5 is 0 +--- frequency level of core 6 is 0 +--- frequency level of core 7 is 0 +--- Number of cores to occupy = 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 2 +--- Now threads are running and the phone is ready to be sampled with the power meter \n--- Threads pids +Thread_0_ready_for_sampling +Thread_1_ready_for_sampling +--- Printing cc_info beginning datas (for the samsung galaxy s8) + --- Starting power meter sampling for about 600 seconds +--- Sampling with the Monsoon power meter +powermeter script : --- Inside the monsoon_power_meter, arg function: 2 +powermeter script : Experiment duration = 600 +powermeter script : Creating the Monsoon engine +powermeter script : Creating the Monsoon engine +powermeter script : Configuring channels the Monsoon engine +powermeter script : Configuring output to : C:\Users\lavoi\opportunist_task_on_android\scripts_valuable_files\experiment_automatization\last_tmp_expermiment_folder\configuration_mesurement.csv +powermeter script : Starting sampling; number of sample = 3000000 + returning 3000000 samples after experiments +powermeter script : Total nomber of sample measured : 3000000 +powermeter script : Computing powermeter summary result + Number of samples = 3000000 +powermeter script : We computed the energy on 600 samples +powermeter script : average_power = 719.5124735980693 +powermeter script : average_power with numpy arrays = 719.5124735980265 +powermeter script : Summary Result = time (s): 602.0668823719025 +Ins Current (mA):149.9947421160316 +Samples: 3000000 +Consumed Energy (mAs): 86067.9036229734 +Consumed Energy (mAh): 23.907751006381503 +Consumed Energy (mWs): 433514.27371904306 +Consumed Energy (mWh): 120.42063158862307 +Avg power (mW): 719.5124735980693 +Avg Current (mA): 142.8007021634355 +Avg Voltage (V): 5.038577981042326 +Exp Batt Life (hrs for 1000mAh battery): NOT COMPUTED +--- Monsoon power meter sampling is finished ! + --- experiment folder path /mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/last_tmp_expermiment_folder +--- frequency level of core 0 is 1 +--- frequency level of core 1 is 0 +--- frequency level of core 2 is 0 +--- frequency level of core 3 is 0 +--- frequency level of core 4 is 1 +--- frequency level of core 5 is 0 +--- frequency level of core 6 is 0 +--- frequency level of core 7 is 0 +--- Number of threads normally started = 2 +--- Number of thread ended: 2 +--- Now threads are stopped, getting the cc_info_level for samsung +--- Copying thread results locally +command /mnt/c/Program Files/Android/platform-tools_r33.0.1-windows/platform-tools/adb.exe pull /sdcard/experiments_automatization/app_output_folder C:\Users\lavoi\opportunist_task_on_android\scripts_valuable_files\experiment_automatization\last_tmp_expermiment_folder </dev/null +/sdcard/experiments_automatization/app_output_folder/: 4 files pulled, 0 skipped. 0.0 MB/s (909 bytes in 0.031s) +saving the logcat file to /mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/last_tmp_expermiment_folder -/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/last_tmp_expermiment_folder- +--- Parsing result from /mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/last_tmp_expermiment_folder to /mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/output_folder/raw_result.txt +--- Getting exact configuration with frequency +--- Configuration with frequencies = [576000- 0- 0- 0- 576000- 0- 0- 0] +--- Getting the powermeter summary +--- Powermeter summary: +time (s): 602.0668823719025 +Ins Current (mA):149.9947421160316 +Samples: 3000000 +Consumed Energy (mAs): 86067.9036229734 +Consumed Energy (mAh): 23.907751006381503 +Consumed Energy (mWs): 433514.27371904306 +Consumed Energy (mWh): 120.42063158862307 +Avg power (mW): 719.5124735980693 +Avg Current (mA): 142.8007021634355 +Avg Voltage (V): 5.038577981042326 + +--- Getting the total energy consumed of the google pixel +--- Energy consumed = 23.907751006381503 +--- Starting cc_info = 0 +--- Ending cc_info = 0 +--- Getting the average power +--- Avg Power = 719.5124735980693 +--- Printing the total threads summary +--- Thread results +Thread : 0 - ThreadProcess id: 20974 +---------------------------------------- +Starting time: Sat, 18 Dec 2021 14:42:59 +0100 +Core id: 0 +Ending time: Sat, 18 Dec 2021 14:52:59 +0100 - Duration: 600017 seconds +Real workload: 4.704075353838658E10 - Integer reached: 129216 - Number of reset = 0 +Battery stats: 0 mAH +Computed Drain: Null +Start: 50 % - End: 50 +Cc_info at the beginning: 0 mAh +Cc_info at the end: 0 mAh +Cc_info variation: 0.0 mAh + +Thread : 1 - ThreadProcess id: 20975 +---------------------------------------- +Starting time: Sat, 18 Dec 2021 14:42:59 +0100 +Core id: 4 +Ending time: Sat, 18 Dec 2021 14:52:59 +0100 - Duration: 600018 seconds +Real workload: 4.7128241005714005E10 - Integer reached: 129331 - Number of reset = 0 +Battery stats: 0 mAH +Computed Drain: Null +Start: 50 % - End: 50 +Cc_info at the beginning: 0 mAh +Cc_info at the end: 0 mAh +Cc_info variation: 0.0 mAh + + +--- Counting the total workload command : print_total_workload /mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/last_tmp_expermiment_folder app_output_folder 1,0,0,0,1,0,0,0 /mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first +--- Total workload : 9.4169e+10 +--- Getting energy efficiency +--- Energy efficiency: 2.53881e-10 +--- Building what we will add to the total result file command +------ + (build_configuration_raw_result 100010-0-0 1,0,0,0,1,0,0,0 [576000- 0- 0- 0- 576000- 0- 0- 0] time (s): 602.0668823719025 +Ins Current (mA):149.9947421160316 +Samples: 3000000 +Consumed Energy (mAs): 86067.9036229734 +Consumed Energy (mAh): 23.907751006381503 +Consumed Energy (mWs): 433514.27371904306 +Consumed Energy (mWh): 120.42063158862307 +Avg power (mW): 719.5124735980693 +Avg Current (mA): 142.8007021634355 +Avg Voltage (V): 5.038577981042326 + Thread : 0 - ThreadProcess id: 20974 +---------------------------------------- +Starting time: Sat, 18 Dec 2021 14:42:59 +0100 +Core id: 0 +Ending time: Sat, 18 Dec 2021 14:52:59 +0100 - Duration: 600017 seconds +Real workload: 4.704075353838658E10 - Integer reached: 129216 - Number of reset = 0 +Battery stats: 0 mAH +Computed Drain: Null +Start: 50 % - End: 50 +Cc_info at the beginning: 0 mAh +Cc_info at the end: 0 mAh +Cc_info variation: 0.0 mAh + +Thread : 1 - ThreadProcess id: 20975 +---------------------------------------- +Starting time: Sat, 18 Dec 2021 14:42:59 +0100 +Core id: 4 +Ending time: Sat, 18 Dec 2021 14:52:59 +0100 - Duration: 600018 seconds +Real workload: 4.7128241005714005E10 - Integer reached: 129331 - Number of reset = 0 +Battery stats: 0 mAH +Computed Drain: Null +Start: 50 % - End: 50 +Cc_info at the beginning: 0 mAh +Cc_info at the end: 0 mAh +Cc_info variation: 0.0 mAh + + 23.907751006381503 9.4169e+10 2.53881e-10 0 0 +------ + +--- Final result to print to File + -------------------------------------------------------------------------------- + +++++ +++++ +++++ Configuration Description +-------------------------------------------------------------------------------- +Configuration: 100010-0-0 +phone format: 1,0,0,0,1,0,0,0 +Exact values of frequencies: [576000- 0- 0- 0- 576000- 0- 0- 0] + +Power meter results +------------------------------------------------------------ +time (s): 602.0668823719025 +Ins Current (mA):149.9947421160316 +Samples: 3000000 +Consumed Energy (mAs): 86067.9036229734 +Consumed Energy (mAh): 23.907751006381503 +Consumed Energy (mWs): 433514.27371904306 +Consumed Energy (mWh): 120.42063158862307 +Avg power (mW): 719.5124735980693 +Avg Current (mA): 142.8007021634355 +Avg Voltage (V): 5.038577981042326 + +Threads results +------------------------------------------------------------ +Thread : 0 - ThreadProcess id: 20974 +---------------------------------------- +Starting time: Sat, 18 Dec 2021 14:42:59 +0100 +Core id: 0 +Ending time: Sat, 18 Dec 2021 14:52:59 +0100 - Duration: 600017 seconds +Real workload: 4.704075353838658E10 - Integer reached: 129216 - Number of reset = 0 +Battery stats: 0 mAH +Computed Drain: Null +Start: 50 % - End: 50 +Cc_info at the beginning: 0 mAh +Cc_info at the end: 0 mAh +Cc_info variation: 0.0 mAh + +Thread : 1 - ThreadProcess id: 20975 +---------------------------------------- +Starting time: Sat, 18 Dec 2021 14:42:59 +0100 +Core id: 4 +Ending time: Sat, 18 Dec 2021 14:52:59 +0100 - Duration: 600018 seconds +Real workload: 4.7128241005714005E10 - Integer reached: 129331 - Number of reset = 0 +Battery stats: 0 mAH +Computed Drain: Null +Start: 50 % - End: 50 +Cc_info at the beginning: 0 mAh +Cc_info at the end: 0 mAh +Cc_info variation: 0.0 mAh + + +Expermiment results +------------------------------------------------------------ +Energy Consumed (mAh): 23.907751006381503 +Workload: 9.4169e+10 +Energy efficiency: 2.53881e-10 +-------------------------------------------------------------------------------- + + +--- Writing to the total result file +--- Removing previous tested configuration tmp_output folder +removed '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__03Oct22_16_26_16/app_output_folder/all_workloads.txt' +removed '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__03Oct22_16_26_16/app_output_folder/Thread_0_ended' +removed '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__03Oct22_16_26_16/app_output_folder/Thread_0_ready_for_sampling' +removed '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__03Oct22_16_26_16/app_output_folder/Thread_1_ended' +removed '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__03Oct22_16_26_16/app_output_folder/Thread_1_ready_for_sampling' +removed directory '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__03Oct22_16_26_16/app_output_folder' +removed '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__03Oct22_16_26_16/configuration_mesurement.csv' +removed '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__03Oct22_16_26_16/energy_power_workload_energyByWorkload_ccInfo' +removed '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__03Oct22_16_26_16/logcat_output' +removed '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__03Oct22_16_26_16/powermeter_summary.txt' +removed directory '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__03Oct22_16_26_16' +--- Moving the current experiment tmp_folder to the output result folder +writing a temporary file for the main script with format energy_power_workload_energyByWorkload_ccInfo +--- Obtaining experiment summary result to add to result folder +--- Experiment result, Energy consumed = 23.907751006381503 +--- Experiment result, Avg Power = 719.5124735980693 +--- Experiment result, Total Workload = 9.4169e+10 +--- Experiment result, Energy Efficiency = 2.53881e-10 +--- Adding result to summary file +--- Starting cc information : 0 +--- Ending cc information : 0 +--- The file /mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/output_folder/summary.csv exists we just appending the result to the file +--- Experiments performed on configuration 100010-0-0. +--- Observing a pause betwenn experiment; pause duration : 180 seconds; starting at 03Oct22_16_39_05 +--- Performing experiments on configuration 100010-0-0 +--- Cleaning the tmp expermiment folder : /mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/last_tmp_expermiment_folder +--- Second step : verifying the battery level +--- Verifying the battery level +--- Getting current battery level, adb command path: /mnt/c/Program Files/Android/platform-tools_r33.0.1-windows/platform-tools/adb.exe +--- Current battery level : 50 +Current battery level: OKAY +--- Third step calibrating phone core frequency +--- Resetting all frequency configurations + -- Command used : echo schedutil > /sys/devices/system/cpu/cpu1/cpufreq/scaling_governor + -- Command used : echo schedutil > /sys/devices/system/cpu/cpu2/cpufreq/scaling_governor + -- Command used : echo schedutil > /sys/devices/system/cpu/cpu3/cpufreq/scaling_governor + -- Command used : echo schedutil > /sys/devices/system/cpu/cpu4/cpufreq/scaling_governor + -- Command used : echo schedutil > /sys/devices/system/cpu/cpu5/cpufreq/scaling_governor + -- Command used : echo schedutil > /sys/devices/system/cpu/cpu6/cpufreq/scaling_governor + -- Command used : echo schedutil > /sys/devices/system/cpu/cpu7/cpufreq/scaling_governor +--- Frequency level of core 0 is 1 +--- Exact frequency of core 0: 576000 +--- Modifying the governor of core 0 +--- Modifying the the current frequency of core 0 with frequency 576000 +--- Frequency level of core 1 is 0 +--- Exact frequency of core 1: 0 +--- Modifying the governor of core 1 +--- Modifying the the current frequency of core 1 with frequency 0 +--- Frequency level of core 2 is 0 +--- Exact frequency of core 2: 0 +--- Modifying the governor of core 2 +--- Modifying the the current frequency of core 2 with frequency 0 +--- Frequency level of core 3 is 0 +--- Exact frequency of core 3: 0 +--- Modifying the governor of core 3 +--- Modifying the the current frequency of core 3 with frequency 0 +--- Frequency level of core 4 is 1 +--- Exact frequency of core 4: 576000 +--- Modifying the governor of core 4 +--- Modifying the the current frequency of core 4 with frequency 576000 +--- Frequency level of core 5 is 0 +--- Exact frequency of core 5: 0 +--- Modifying the governor of core 5 +--- Modifying the the current frequency of core 5 with frequency 0 +--- Frequency level of core 6 is 0 +--- Exact frequency of core 6: 0 +--- Modifying the governor of core 6 +--- Modifying the the current frequency of core 6 with frequency 0 +--- Frequency level of core 7 is 0 +--- Exact frequency of core 7: 0 +--- Modifying the governor of core 7 +--- Modifying the the current frequency of core 7 with frequency 0 +--- Calibrating Monsoon power meter, please wait for 10 seconds... +powermeter script : --- Inside the monsoon_power_meter, arg function: 1 +powermeter script : calibration duration = 10 +powermeter script : Creating the Monsoon engine +powermeter script : Creating the Monsoon engine +powermeter script : Configuring channels the Monsoon engine +powermeter script : Configuring output to : C:\Users\lavoi\opportunist_task_on_android\scripts_valuable_files\experiment_automatization\last_tmp_expermiment_folder\configuration_mesurement.csv +powermeter script : Starting sampling; number of sample = 50000 + returning 50000 samples after experiments +powermeter script : Power meter calibration okay +--- Monsoon power meter Calibrated +--- starting the benchmarking app +## writing the configuration inside the phone file + --- Removing file /sdcard/experiments_automatization +rm '/sdcard/experiments_automatization/current_configuration.txt' +rm '/sdcard/experiments_automatization/experiment_duration.txt' +rm '/sdcard/experiments_automatization/app_output_folder/Thread_1_ready_for_sampling' +rm '/sdcard/experiments_automatization/app_output_folder/Thread_0_ready_for_sampling' +rm '/sdcard/experiments_automatization/app_output_folder/Thread_1_ended' +rm '/sdcard/experiments_automatization/app_output_folder/Thread_0_ended' +rmdir '/sdcard/experiments_automatization/app_output_folder' +rmdir '/sdcard/experiments_automatization' + --- Clearing the logcat + --- Creating file /sdcard/experiments_automatization +----- Uninstalling experiment app +Success +----- Installing experiment app +Performing Streamed Install +Success +------ Giving rights to experiment app +----- Starting experiment app +Starting: Intent { cmp=com.opportunistask.scheduling.benchmarking_app_to_test_big_cores/.MainActivity } +adb command : ps -A | grep com.opportunistask.scheduling.benchmarking_app_to_test_big_cores + ----- Experiment app started with pid: 21783 +---- waiting for benchmarking app thread to be pinned and to be ready +--- frequency level of core 0 is 1 +--- frequency level of core 1 is 0 +--- frequency level of core 2 is 0 +--- frequency level of core 3 is 0 +--- frequency level of core 4 is 1 +--- frequency level of core 5 is 0 +--- frequency level of core 6 is 0 +--- frequency level of core 7 is 0 +--- Number of cores to occupy = 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 2 +--- Now threads are running and the phone is ready to be sampled with the power meter \n--- Threads pids +Thread_0_ready_for_sampling +Thread_1_ready_for_sampling +--- Printing cc_info beginning datas (for the samsung galaxy s8) + --- Starting power meter sampling for about 600 seconds +--- Sampling with the Monsoon power meter +powermeter script : --- Inside the monsoon_power_meter, arg function: 2 +powermeter script : Experiment duration = 600 +powermeter script : Creating the Monsoon engine +powermeter script : Creating the Monsoon engine +powermeter script : Configuring channels the Monsoon engine +powermeter script : Configuring output to : C:\Users\lavoi\opportunist_task_on_android\scripts_valuable_files\experiment_automatization\last_tmp_expermiment_folder\configuration_mesurement.csv +powermeter script : Starting sampling; number of sample = 3000000 + returning 3000000 samples after experiments +powermeter script : Total nomber of sample measured : 3000000 +powermeter script : Computing powermeter summary result + Number of samples = 3000000 +powermeter script : We computed the energy on 600 samples +powermeter script : average_power = 717.3536897466823 +powermeter script : average_power with numpy arrays = 717.3536897465129 +powermeter script : Summary Result = time (s): 602.0066151618958 +Ins Current (mA):153.9190390747323 +Samples: 3000000 +Consumed Energy (mAs): 85129.35392255154 +Consumed Energy (mAh): 23.647042756264316 +Consumed Energy (mWs): 429183.0355542303 +Consumed Energy (mWh): 119.21750987617507 +Avg power (mW): 717.3536897466823 +Avg Current (mA): 142.2497656919197 +Avg Voltage (V): 5.042916494500987 +Exp Batt Life (hrs for 1000mAh battery): NOT COMPUTED +--- Monsoon power meter sampling is finished ! + --- experiment folder path /mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/last_tmp_expermiment_folder +--- frequency level of core 0 is 1 +--- frequency level of core 1 is 0 +--- frequency level of core 2 is 0 +--- frequency level of core 3 is 0 +--- frequency level of core 4 is 1 +--- frequency level of core 5 is 0 +--- frequency level of core 6 is 0 +--- frequency level of core 7 is 0 +--- Number of threads normally started = 2 +--- Number of thread ended: 2 +--- Now threads are stopped, getting the cc_info_level for samsung +--- Copying thread results locally +command /mnt/c/Program Files/Android/platform-tools_r33.0.1-windows/platform-tools/adb.exe pull /sdcard/experiments_automatization/app_output_folder C:\Users\lavoi\opportunist_task_on_android\scripts_valuable_files\experiment_automatization\last_tmp_expermiment_folder </dev/null +/sdcard/experiments_automatization/app_output_folder/: 4 files pulled, 0 skipped. 0.0 MB/s (908 bytes in 0.044s) +saving the logcat file to /mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/last_tmp_expermiment_folder -/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/last_tmp_expermiment_folder- +--- Parsing result from /mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/last_tmp_expermiment_folder to /mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/output_folder/raw_result.txt +--- Getting exact configuration with frequency +--- Configuration with frequencies = [576000- 0- 0- 0- 576000- 0- 0- 0] +--- Getting the powermeter summary +--- Powermeter summary: +time (s): 602.0066151618958 +Ins Current (mA):153.9190390747323 +Samples: 3000000 +Consumed Energy (mAs): 85129.35392255154 +Consumed Energy (mAh): 23.647042756264316 +Consumed Energy (mWs): 429183.0355542303 +Consumed Energy (mWh): 119.21750987617507 +Avg power (mW): 717.3536897466823 +Avg Current (mA): 142.2497656919197 +Avg Voltage (V): 5.042916494500987 + +--- Getting the total energy consumed of the google pixel +--- Energy consumed = 23.647042756264316 +--- Starting cc_info = 0 +--- Ending cc_info = 0 +--- Getting the average power +--- Avg Power = 717.3536897466823 +--- Printing the total threads summary +--- Thread results +Thread : 0 - ThreadProcess id: 21808 +---------------------------------------- +Starting time: Sat, 18 Dec 2021 14:58:49 +0100 +Core id: 0 +Ending time: Sat, 18 Dec 2021 15:08:50 +0100 - Duration: 600015 seconds +Real workload: 4.706508939642369E10 - Integer reached: 129248 - Number of reset = 0 +Battery stats: 0 mAH +Computed Drain: Null +Start: 50 % - End: 50 +Cc_info at the beginning: 0 mAh +Cc_info at the end: 0 mAh +Cc_info variation: 0.0 mAh + +Thread : 1 - ThreadProcess id: 21809 +---------------------------------------- +Starting time: Sat, 18 Dec 2021 14:58:50 +0100 +Core id: 4 +Ending time: Sat, 18 Dec 2021 15:08:50 +0100 - Duration: 600023 seconds +Real workload: 4.680154632774304E10 - Integer reached: 128901 - Number of reset = 0 +Battery stats: 0 mAH +Computed Drain: Null +Start: 50 % - End: 50 +Cc_info at the beginning: 0 mAh +Cc_info at the end: 0 mAh +Cc_info variation: 0.0 mAh + + +--- Counting the total workload command : print_total_workload /mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/last_tmp_expermiment_folder app_output_folder 1,0,0,0,1,0,0,0 /mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first +--- Total workload : 9.38666e+10 +--- Getting energy efficiency +--- Energy efficiency: 2.51922e-10 +--- Building what we will add to the total result file command +------ + (build_configuration_raw_result 100010-0-0 1,0,0,0,1,0,0,0 [576000- 0- 0- 0- 576000- 0- 0- 0] time (s): 602.0066151618958 +Ins Current (mA):153.9190390747323 +Samples: 3000000 +Consumed Energy (mAs): 85129.35392255154 +Consumed Energy (mAh): 23.647042756264316 +Consumed Energy (mWs): 429183.0355542303 +Consumed Energy (mWh): 119.21750987617507 +Avg power (mW): 717.3536897466823 +Avg Current (mA): 142.2497656919197 +Avg Voltage (V): 5.042916494500987 + Thread : 0 - ThreadProcess id: 21808 +---------------------------------------- +Starting time: Sat, 18 Dec 2021 14:58:49 +0100 +Core id: 0 +Ending time: Sat, 18 Dec 2021 15:08:50 +0100 - Duration: 600015 seconds +Real workload: 4.706508939642369E10 - Integer reached: 129248 - Number of reset = 0 +Battery stats: 0 mAH +Computed Drain: Null +Start: 50 % - End: 50 +Cc_info at the beginning: 0 mAh +Cc_info at the end: 0 mAh +Cc_info variation: 0.0 mAh + +Thread : 1 - ThreadProcess id: 21809 +---------------------------------------- +Starting time: Sat, 18 Dec 2021 14:58:50 +0100 +Core id: 4 +Ending time: Sat, 18 Dec 2021 15:08:50 +0100 - Duration: 600023 seconds +Real workload: 4.680154632774304E10 - Integer reached: 128901 - Number of reset = 0 +Battery stats: 0 mAH +Computed Drain: Null +Start: 50 % - End: 50 +Cc_info at the beginning: 0 mAh +Cc_info at the end: 0 mAh +Cc_info variation: 0.0 mAh + + 23.647042756264316 9.38666e+10 2.51922e-10 0 0 +------ + +--- Final result to print to File + -------------------------------------------------------------------------------- + +++++ +++++ +++++ Configuration Description +-------------------------------------------------------------------------------- +Configuration: 100010-0-0 +phone format: 1,0,0,0,1,0,0,0 +Exact values of frequencies: [576000- 0- 0- 0- 576000- 0- 0- 0] + +Power meter results +------------------------------------------------------------ +time (s): 602.0066151618958 +Ins Current (mA):153.9190390747323 +Samples: 3000000 +Consumed Energy (mAs): 85129.35392255154 +Consumed Energy (mAh): 23.647042756264316 +Consumed Energy (mWs): 429183.0355542303 +Consumed Energy (mWh): 119.21750987617507 +Avg power (mW): 717.3536897466823 +Avg Current (mA): 142.2497656919197 +Avg Voltage (V): 5.042916494500987 + +Threads results +------------------------------------------------------------ +Thread : 0 - ThreadProcess id: 21808 +---------------------------------------- +Starting time: Sat, 18 Dec 2021 14:58:49 +0100 +Core id: 0 +Ending time: Sat, 18 Dec 2021 15:08:50 +0100 - Duration: 600015 seconds +Real workload: 4.706508939642369E10 - Integer reached: 129248 - Number of reset = 0 +Battery stats: 0 mAH +Computed Drain: Null +Start: 50 % - End: 50 +Cc_info at the beginning: 0 mAh +Cc_info at the end: 0 mAh +Cc_info variation: 0.0 mAh + +Thread : 1 - ThreadProcess id: 21809 +---------------------------------------- +Starting time: Sat, 18 Dec 2021 14:58:50 +0100 +Core id: 4 +Ending time: Sat, 18 Dec 2021 15:08:50 +0100 - Duration: 600023 seconds +Real workload: 4.680154632774304E10 - Integer reached: 128901 - Number of reset = 0 +Battery stats: 0 mAH +Computed Drain: Null +Start: 50 % - End: 50 +Cc_info at the beginning: 0 mAh +Cc_info at the end: 0 mAh +Cc_info variation: 0.0 mAh + + +Expermiment results +------------------------------------------------------------ +Energy Consumed (mAh): 23.647042756264316 +Workload: 9.38666e+10 +Energy efficiency: 2.51922e-10 +-------------------------------------------------------------------------------- + + +--- Writing to the total result file +--- Removing previous tested configuration tmp_output folder +removed '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__03Oct22_16_42_07/app_output_folder/all_workloads.txt' +removed '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__03Oct22_16_42_07/app_output_folder/Thread_0_ended' +removed '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__03Oct22_16_42_07/app_output_folder/Thread_0_ready_for_sampling' +removed '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__03Oct22_16_42_07/app_output_folder/Thread_1_ended' +removed '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__03Oct22_16_42_07/app_output_folder/Thread_1_ready_for_sampling' +removed directory '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__03Oct22_16_42_07/app_output_folder' +removed '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__03Oct22_16_42_07/configuration_mesurement.csv' +removed '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__03Oct22_16_42_07/energy_power_workload_energyByWorkload_ccInfo' +removed '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__03Oct22_16_42_07/logcat_output' +removed '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__03Oct22_16_42_07/powermeter_summary.txt' +removed directory '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__03Oct22_16_42_07' +--- Moving the current experiment tmp_folder to the output result folder +writing a temporary file for the main script with format energy_power_workload_energyByWorkload_ccInfo +--- Obtaining experiment summary result to add to result folder +--- Experiment result, Energy consumed = 23.647042756264316 +--- Experiment result, Avg Power = 717.3536897466823 +--- Experiment result, Total Workload = 9.38666e+10 +--- Experiment result, Energy Efficiency = 2.51922e-10 +--- Adding result to summary file +--- Starting cc information : 0 +--- Ending cc information : 0 +--- The file /mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/output_folder/summary.csv exists we just appending the result to the file +--- Experiments performed on configuration 100010-0-0. +--- Observing a pause betwenn experiment; pause duration : 180 seconds; starting at 03Oct22_16_54_56 +--- Performing experiments on configuration 100100-0-0 +--- Cleaning the tmp expermiment folder : /mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/last_tmp_expermiment_folder +--- Second step : verifying the battery level +--- Verifying the battery level +--- Getting current battery level, adb command path: /mnt/c/Program Files/Android/platform-tools_r33.0.1-windows/platform-tools/adb.exe +--- Current battery level : 50 +Current battery level: OKAY +--- Third step calibrating phone core frequency +--- Resetting all frequency configurations + -- Command used : echo schedutil > /sys/devices/system/cpu/cpu1/cpufreq/scaling_governor + -- Command used : echo schedutil > /sys/devices/system/cpu/cpu2/cpufreq/scaling_governor + -- Command used : echo schedutil > /sys/devices/system/cpu/cpu3/cpufreq/scaling_governor + -- Command used : echo schedutil > /sys/devices/system/cpu/cpu4/cpufreq/scaling_governor + -- Command used : echo schedutil > /sys/devices/system/cpu/cpu5/cpufreq/scaling_governor + -- Command used : echo schedutil > /sys/devices/system/cpu/cpu6/cpufreq/scaling_governor + -- Command used : echo schedutil > /sys/devices/system/cpu/cpu7/cpufreq/scaling_governor +--- Frequency level of core 0 is 1 +--- Exact frequency of core 0: 576000 +--- Modifying the governor of core 0 +--- Modifying the the current frequency of core 0 with frequency 576000 +--- Frequency level of core 1 is 0 +--- Exact frequency of core 1: 0 +--- Modifying the governor of core 1 +--- Modifying the the current frequency of core 1 with frequency 0 +--- Frequency level of core 2 is 0 +--- Exact frequency of core 2: 0 +--- Modifying the governor of core 2 +--- Modifying the the current frequency of core 2 with frequency 0 +--- Frequency level of core 3 is 1 +--- Exact frequency of core 3: 576000 +--- Modifying the governor of core 3 +--- Modifying the the current frequency of core 3 with frequency 576000 +--- Frequency level of core 4 is 0 +--- Exact frequency of core 4: 0 +--- Modifying the governor of core 4 +--- Modifying the the current frequency of core 4 with frequency 0 +--- Frequency level of core 5 is 0 +--- Exact frequency of core 5: 0 +--- Modifying the governor of core 5 +--- Modifying the the current frequency of core 5 with frequency 0 +--- Frequency level of core 6 is 0 +--- Exact frequency of core 6: 0 +--- Modifying the governor of core 6 +--- Modifying the the current frequency of core 6 with frequency 0 +--- Frequency level of core 7 is 0 +--- Exact frequency of core 7: 0 +--- Modifying the governor of core 7 +--- Modifying the the current frequency of core 7 with frequency 0 +--- Calibrating Monsoon power meter, please wait for 10 seconds... +powermeter script : --- Inside the monsoon_power_meter, arg function: 1 +powermeter script : calibration duration = 10 +powermeter script : Creating the Monsoon engine +powermeter script : Creating the Monsoon engine +powermeter script : Configuring channels the Monsoon engine +powermeter script : Configuring output to : C:\Users\lavoi\opportunist_task_on_android\scripts_valuable_files\experiment_automatization\last_tmp_expermiment_folder\configuration_mesurement.csv +powermeter script : Starting sampling; number of sample = 50000 + returning 50000 samples after experiments +powermeter script : Power meter calibration okay +--- Monsoon power meter Calibrated +--- starting the benchmarking app +## writing the configuration inside the phone file + --- Removing file /sdcard/experiments_automatization +rm '/sdcard/experiments_automatization/current_configuration.txt' +rm '/sdcard/experiments_automatization/experiment_duration.txt' +rm '/sdcard/experiments_automatization/app_output_folder/Thread_0_ready_for_sampling' +rm '/sdcard/experiments_automatization/app_output_folder/Thread_1_ready_for_sampling' +rm '/sdcard/experiments_automatization/app_output_folder/Thread_0_ended' +rm '/sdcard/experiments_automatization/app_output_folder/Thread_1_ended' +rmdir '/sdcard/experiments_automatization/app_output_folder' +rmdir '/sdcard/experiments_automatization' + --- Clearing the logcat + --- Creating file /sdcard/experiments_automatization +----- Uninstalling experiment app +Success +----- Installing experiment app +Performing Streamed Install +Success +------ Giving rights to experiment app +----- Starting experiment app +Starting: Intent { cmp=com.opportunistask.scheduling.benchmarking_app_to_test_big_cores/.MainActivity } +adb command : ps -A | grep com.opportunistask.scheduling.benchmarking_app_to_test_big_cores + ----- Experiment app started with pid: 22641 +---- waiting for benchmarking app thread to be pinned and to be ready +--- frequency level of core 0 is 1 +--- frequency level of core 1 is 0 +--- frequency level of core 2 is 0 +--- frequency level of core 3 is 1 +--- frequency level of core 4 is 0 +--- frequency level of core 5 is 0 +--- frequency level of core 6 is 0 +--- frequency level of core 7 is 0 +--- Number of cores to occupy = 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 2 +--- Now threads are running and the phone is ready to be sampled with the power meter \n--- Threads pids +Thread_0_ready_for_sampling +Thread_1_ready_for_sampling +--- Printing cc_info beginning datas (for the samsung galaxy s8) + --- Starting power meter sampling for about 600 seconds +--- Sampling with the Monsoon power meter +powermeter script : --- Inside the monsoon_power_meter, arg function: 2 +powermeter script : Experiment duration = 600 +powermeter script : Creating the Monsoon engine +powermeter script : Creating the Monsoon engine +powermeter script : Configuring channels the Monsoon engine +powermeter script : Configuring output to : C:\Users\lavoi\opportunist_task_on_android\scripts_valuable_files\experiment_automatization\last_tmp_expermiment_folder\configuration_mesurement.csv +powermeter script : Starting sampling; number of sample = 3000000 + returning 3000000 samples after experiments +powermeter script : Total nomber of sample measured : 3000000 +powermeter script : Computing powermeter summary result + Number of samples = 3000000 +powermeter script : We computed the energy on 600 samples +powermeter script : average_power = 731.1453068380349 +powermeter script : average_power with numpy arrays = 731.1453068378843 +powermeter script : Summary Result = time (s): 601.8607213497162 +Ins Current (mA):200.62458284442954 +Samples: 3000000 +Consumed Energy (mAs): 87635.56144087145 +Consumed Energy (mAh): 24.34321151135318 +Consumed Energy (mWs): 441640.4789062961 +Consumed Energy (mWh): 122.67791080730447 +Avg power (mW): 731.1453068380349 +Avg Current (mA): 145.02964356409595 +Avg Voltage (V): 5.041350780917453 +Exp Batt Life (hrs for 1000mAh battery): NOT COMPUTED +--- Monsoon power meter sampling is finished ! + --- experiment folder path /mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/last_tmp_expermiment_folder +--- frequency level of core 0 is 1 +--- frequency level of core 1 is 0 +--- frequency level of core 2 is 0 +--- frequency level of core 3 is 1 +--- frequency level of core 4 is 0 +--- frequency level of core 5 is 0 +--- frequency level of core 6 is 0 +--- frequency level of core 7 is 0 +--- Number of threads normally started = 2 +--- Number of thread ended: 2 +--- Now threads are stopped, getting the cc_info_level for samsung +--- Copying thread results locally +command /mnt/c/Program Files/Android/platform-tools_r33.0.1-windows/platform-tools/adb.exe pull /sdcard/experiments_automatization/app_output_folder C:\Users\lavoi\opportunist_task_on_android\scripts_valuable_files\experiment_automatization\last_tmp_expermiment_folder </dev/null +/sdcard/experiments_automatization/app_output_folder/: 4 files pulled, 0 skipped. 0.0 MB/s (909 bytes in 0.037s) +saving the logcat file to /mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/last_tmp_expermiment_folder -/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/last_tmp_expermiment_folder- +--- Parsing result from /mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/last_tmp_expermiment_folder to /mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/output_folder/raw_result.txt +--- Getting exact configuration with frequency +--- Configuration with frequencies = [576000- 0- 0- 576000- 0- 0- 0- 0] +--- Getting the powermeter summary +--- Powermeter summary: +time (s): 601.8607213497162 +Ins Current (mA):200.62458284442954 +Samples: 3000000 +Consumed Energy (mAs): 87635.56144087145 +Consumed Energy (mAh): 24.34321151135318 +Consumed Energy (mWs): 441640.4789062961 +Consumed Energy (mWh): 122.67791080730447 +Avg power (mW): 731.1453068380349 +Avg Current (mA): 145.02964356409595 +Avg Voltage (V): 5.041350780917453 + +--- Getting the total energy consumed of the google pixel +--- Energy consumed = 24.34321151135318 +--- Starting cc_info = 0 +--- Ending cc_info = 0 +--- Getting the average power +--- Avg Power = 731.1453068380349 +--- Printing the total threads summary +--- Thread results +Thread : 0 - ThreadProcess id: 22666 +---------------------------------------- +Starting time: Sat, 18 Dec 2021 15:14:45 +0100 +Core id: 0 +Ending time: Sat, 18 Dec 2021 15:24:45 +0100 - Duration: 600002 seconds +Real workload: 4.7854961381414215E10 - Integer reached: 130282 - Number of reset = 0 +Battery stats: 0 mAH +Computed Drain: Null +Start: 50 % - End: 50 +Cc_info at the beginning: 0 mAh +Cc_info at the end: 0 mAh +Cc_info variation: 0.0 mAh + +Thread : 1 - ThreadProcess id: 22667 +---------------------------------------- +Starting time: Sat, 18 Dec 2021 15:14:45 +0100 +Core id: 3 +Ending time: Sat, 18 Dec 2021 15:24:45 +0100 - Duration: 600002 seconds +Real workload: 4.744389512451621E10 - Integer reached: 129745 - Number of reset = 0 +Battery stats: 0 mAH +Computed Drain: Null +Start: 50 % - End: 50 +Cc_info at the beginning: 0 mAh +Cc_info at the end: 0 mAh +Cc_info variation: 0.0 mAh + + +--- Counting the total workload command : print_total_workload /mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/last_tmp_expermiment_folder app_output_folder 1,0,0,1,0,0,0,0 /mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first +--- Total workload : 9.52989e+10 +--- Getting energy efficiency +--- Energy efficiency: 2.55441e-10 +--- Building what we will add to the total result file command +------ + (build_configuration_raw_result 100100-0-0 1,0,0,1,0,0,0,0 [576000- 0- 0- 576000- 0- 0- 0- 0] time (s): 601.8607213497162 +Ins Current (mA):200.62458284442954 +Samples: 3000000 +Consumed Energy (mAs): 87635.56144087145 +Consumed Energy (mAh): 24.34321151135318 +Consumed Energy (mWs): 441640.4789062961 +Consumed Energy (mWh): 122.67791080730447 +Avg power (mW): 731.1453068380349 +Avg Current (mA): 145.02964356409595 +Avg Voltage (V): 5.041350780917453 + Thread : 0 - ThreadProcess id: 22666 +---------------------------------------- +Starting time: Sat, 18 Dec 2021 15:14:45 +0100 +Core id: 0 +Ending time: Sat, 18 Dec 2021 15:24:45 +0100 - Duration: 600002 seconds +Real workload: 4.7854961381414215E10 - Integer reached: 130282 - Number of reset = 0 +Battery stats: 0 mAH +Computed Drain: Null +Start: 50 % - End: 50 +Cc_info at the beginning: 0 mAh +Cc_info at the end: 0 mAh +Cc_info variation: 0.0 mAh + +Thread : 1 - ThreadProcess id: 22667 +---------------------------------------- +Starting time: Sat, 18 Dec 2021 15:14:45 +0100 +Core id: 3 +Ending time: Sat, 18 Dec 2021 15:24:45 +0100 - Duration: 600002 seconds +Real workload: 4.744389512451621E10 - Integer reached: 129745 - Number of reset = 0 +Battery stats: 0 mAH +Computed Drain: Null +Start: 50 % - End: 50 +Cc_info at the beginning: 0 mAh +Cc_info at the end: 0 mAh +Cc_info variation: 0.0 mAh + + 24.34321151135318 9.52989e+10 2.55441e-10 0 0 +------ + +--- Final result to print to File + -------------------------------------------------------------------------------- + +++++ +++++ +++++ Configuration Description +-------------------------------------------------------------------------------- +Configuration: 100100-0-0 +phone format: 1,0,0,1,0,0,0,0 +Exact values of frequencies: [576000- 0- 0- 576000- 0- 0- 0- 0] + +Power meter results +------------------------------------------------------------ +time (s): 601.8607213497162 +Ins Current (mA):200.62458284442954 +Samples: 3000000 +Consumed Energy (mAs): 87635.56144087145 +Consumed Energy (mAh): 24.34321151135318 +Consumed Energy (mWs): 441640.4789062961 +Consumed Energy (mWh): 122.67791080730447 +Avg power (mW): 731.1453068380349 +Avg Current (mA): 145.02964356409595 +Avg Voltage (V): 5.041350780917453 + +Threads results +------------------------------------------------------------ +Thread : 0 - ThreadProcess id: 22666 +---------------------------------------- +Starting time: Sat, 18 Dec 2021 15:14:45 +0100 +Core id: 0 +Ending time: Sat, 18 Dec 2021 15:24:45 +0100 - Duration: 600002 seconds +Real workload: 4.7854961381414215E10 - Integer reached: 130282 - Number of reset = 0 +Battery stats: 0 mAH +Computed Drain: Null +Start: 50 % - End: 50 +Cc_info at the beginning: 0 mAh +Cc_info at the end: 0 mAh +Cc_info variation: 0.0 mAh + +Thread : 1 - ThreadProcess id: 22667 +---------------------------------------- +Starting time: Sat, 18 Dec 2021 15:14:45 +0100 +Core id: 3 +Ending time: Sat, 18 Dec 2021 15:24:45 +0100 - Duration: 600002 seconds +Real workload: 4.744389512451621E10 - Integer reached: 129745 - Number of reset = 0 +Battery stats: 0 mAH +Computed Drain: Null +Start: 50 % - End: 50 +Cc_info at the beginning: 0 mAh +Cc_info at the end: 0 mAh +Cc_info variation: 0.0 mAh + + +Expermiment results +------------------------------------------------------------ +Energy Consumed (mAh): 24.34321151135318 +Workload: 9.52989e+10 +Energy efficiency: 2.55441e-10 +-------------------------------------------------------------------------------- + + +--- Writing to the total result file +--- Removing previous tested configuration tmp_output folder +removed '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__03Oct22_16_57_58/app_output_folder/all_workloads.txt' +removed '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__03Oct22_16_57_58/app_output_folder/Thread_0_ended' +removed '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__03Oct22_16_57_58/app_output_folder/Thread_0_ready_for_sampling' +removed '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__03Oct22_16_57_58/app_output_folder/Thread_1_ended' +removed '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__03Oct22_16_57_58/app_output_folder/Thread_1_ready_for_sampling' +removed directory '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__03Oct22_16_57_58/app_output_folder' +removed '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__03Oct22_16_57_58/configuration_mesurement.csv' +removed '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__03Oct22_16_57_58/energy_power_workload_energyByWorkload_ccInfo' +removed '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__03Oct22_16_57_58/logcat_output' +removed '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__03Oct22_16_57_58/powermeter_summary.txt' +removed directory '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__03Oct22_16_57_58' +--- Moving the current experiment tmp_folder to the output result folder +writing a temporary file for the main script with format energy_power_workload_energyByWorkload_ccInfo +--- Obtaining experiment summary result to add to result folder +--- Experiment result, Energy consumed = 24.34321151135318 +--- Experiment result, Avg Power = 731.1453068380349 +--- Experiment result, Total Workload = 9.52989e+10 +--- Experiment result, Energy Efficiency = 2.55441e-10 +--- Adding result to summary file +--- Starting cc information : 0 +--- Ending cc information : 0 +--- The file /mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/output_folder/summary.csv exists we just appending the result to the file +--- Experiments performed on configuration 100100-0-0. +--- Observing a pause betwenn experiment; pause duration : 180 seconds; starting at 03Oct22_17_10_52 +--- Performing experiments on configuration 100100-0-0 +--- Cleaning the tmp expermiment folder : /mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/last_tmp_expermiment_folder +--- Second step : verifying the battery level +--- Verifying the battery level +--- Getting current battery level, adb command path: /mnt/c/Program Files/Android/platform-tools_r33.0.1-windows/platform-tools/adb.exe +--- Current battery level : 50 +Current battery level: OKAY +--- Third step calibrating phone core frequency +--- Resetting all frequency configurations + -- Command used : echo schedutil > /sys/devices/system/cpu/cpu1/cpufreq/scaling_governor + -- Command used : echo schedutil > /sys/devices/system/cpu/cpu2/cpufreq/scaling_governor + -- Command used : echo schedutil > /sys/devices/system/cpu/cpu3/cpufreq/scaling_governor + -- Command used : echo schedutil > /sys/devices/system/cpu/cpu4/cpufreq/scaling_governor + -- Command used : echo schedutil > /sys/devices/system/cpu/cpu5/cpufreq/scaling_governor + -- Command used : echo schedutil > /sys/devices/system/cpu/cpu6/cpufreq/scaling_governor + -- Command used : echo schedutil > /sys/devices/system/cpu/cpu7/cpufreq/scaling_governor +--- Frequency level of core 0 is 1 +--- Exact frequency of core 0: 576000 +--- Modifying the governor of core 0 +--- Modifying the the current frequency of core 0 with frequency 576000 +--- Frequency level of core 1 is 0 +--- Exact frequency of core 1: 0 +--- Modifying the governor of core 1 +--- Modifying the the current frequency of core 1 with frequency 0 +--- Frequency level of core 2 is 0 +--- Exact frequency of core 2: 0 +--- Modifying the governor of core 2 +--- Modifying the the current frequency of core 2 with frequency 0 +--- Frequency level of core 3 is 1 +--- Exact frequency of core 3: 576000 +--- Modifying the governor of core 3 +--- Modifying the the current frequency of core 3 with frequency 576000 +--- Frequency level of core 4 is 0 +--- Exact frequency of core 4: 0 +--- Modifying the governor of core 4 +--- Modifying the the current frequency of core 4 with frequency 0 +--- Frequency level of core 5 is 0 +--- Exact frequency of core 5: 0 +--- Modifying the governor of core 5 +--- Modifying the the current frequency of core 5 with frequency 0 +--- Frequency level of core 6 is 0 +--- Exact frequency of core 6: 0 +--- Modifying the governor of core 6 +--- Modifying the the current frequency of core 6 with frequency 0 +--- Frequency level of core 7 is 0 +--- Exact frequency of core 7: 0 +--- Modifying the governor of core 7 +--- Modifying the the current frequency of core 7 with frequency 0 +--- Calibrating Monsoon power meter, please wait for 10 seconds... +powermeter script : --- Inside the monsoon_power_meter, arg function: 1 +powermeter script : calibration duration = 10 +powermeter script : Creating the Monsoon engine +powermeter script : Creating the Monsoon engine +powermeter script : Configuring channels the Monsoon engine +powermeter script : Configuring output to : C:\Users\lavoi\opportunist_task_on_android\scripts_valuable_files\experiment_automatization\last_tmp_expermiment_folder\configuration_mesurement.csv +powermeter script : Starting sampling; number of sample = 50000 + returning 50000 samples after experiments +powermeter script : Power meter calibration okay +--- Monsoon power meter Calibrated +--- starting the benchmarking app +## writing the configuration inside the phone file + --- Removing file /sdcard/experiments_automatization +rm '/sdcard/experiments_automatization/current_configuration.txt' +rm '/sdcard/experiments_automatization/experiment_duration.txt' +rm '/sdcard/experiments_automatization/app_output_folder/Thread_0_ready_for_sampling' +rm '/sdcard/experiments_automatization/app_output_folder/Thread_1_ready_for_sampling' +rm '/sdcard/experiments_automatization/app_output_folder/Thread_0_ended' +rm '/sdcard/experiments_automatization/app_output_folder/Thread_1_ended' +rmdir '/sdcard/experiments_automatization/app_output_folder' +rmdir '/sdcard/experiments_automatization' + --- Clearing the logcat + --- Creating file /sdcard/experiments_automatization +----- Uninstalling experiment app +Success +----- Installing experiment app +Performing Streamed Install +Success +------ Giving rights to experiment app +----- Starting experiment app +Starting: Intent { cmp=com.opportunistask.scheduling.benchmarking_app_to_test_big_cores/.MainActivity } +adb command : ps -A | grep com.opportunistask.scheduling.benchmarking_app_to_test_big_cores + ----- Experiment app started with pid: 23478 +---- waiting for benchmarking app thread to be pinned and to be ready +--- frequency level of core 0 is 1 +--- frequency level of core 1 is 0 +--- frequency level of core 2 is 0 +--- frequency level of core 3 is 1 +--- frequency level of core 4 is 0 +--- frequency level of core 5 is 0 +--- frequency level of core 6 is 0 +--- frequency level of core 7 is 0 +--- Number of cores to occupy = 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 2 +--- Now threads are running and the phone is ready to be sampled with the power meter \n--- Threads pids +Thread_0_ready_for_sampling +Thread_1_ready_for_sampling +--- Printing cc_info beginning datas (for the samsung galaxy s8) + --- Starting power meter sampling for about 600 seconds +--- Sampling with the Monsoon power meter +powermeter script : --- Inside the monsoon_power_meter, arg function: 2 +powermeter script : Experiment duration = 600 +powermeter script : Creating the Monsoon engine +powermeter script : Creating the Monsoon engine +powermeter script : Configuring channels the Monsoon engine +powermeter script : Configuring output to : C:\Users\lavoi\opportunist_task_on_android\scripts_valuable_files\experiment_automatization\last_tmp_expermiment_folder\configuration_mesurement.csv +powermeter script : Starting sampling; number of sample = 3000000 + returning 3000000 samples after experiments +powermeter script : Total nomber of sample measured : 3000000 +powermeter script : Computing powermeter summary result + Number of samples = 3000000 +powermeter script : We computed the energy on 600 samples +powermeter script : average_power = 723.4942902904883 +powermeter script : average_power with numpy arrays = 723.4942902904157 +powermeter script : Summary Result = time (s): 601.6696803569794 +Ins Current (mA):128.1345610953852 +Samples: 3000000 +Consumed Energy (mAs): 85184.50119378332 +Consumed Energy (mAh): 23.66236144271759 +Consumed Energy (mWs): 429389.46759674646 +Consumed Energy (mWh): 119.27485211020735 +Avg power (mW): 723.4942902904883 +Avg Current (mA): 143.50321617137928 +Avg Voltage (V): 5.041659062375664 +Exp Batt Life (hrs for 1000mAh battery): NOT COMPUTED +--- Monsoon power meter sampling is finished ! + --- experiment folder path /mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/last_tmp_expermiment_folder +--- frequency level of core 0 is 1 +--- frequency level of core 1 is 0 +--- frequency level of core 2 is 0 +--- frequency level of core 3 is 1 +--- frequency level of core 4 is 0 +--- frequency level of core 5 is 0 +--- frequency level of core 6 is 0 +--- frequency level of core 7 is 0 +--- Number of threads normally started = 2 +--- Number of thread ended: 2 +--- Now threads are stopped, getting the cc_info_level for samsung +--- Copying thread results locally +command /mnt/c/Program Files/Android/platform-tools_r33.0.1-windows/platform-tools/adb.exe pull /sdcard/experiments_automatization/app_output_folder C:\Users\lavoi\opportunist_task_on_android\scripts_valuable_files\experiment_automatization\last_tmp_expermiment_folder </dev/null +/sdcard/experiments_automatization/app_output_folder/: 4 files pulled, 0 skipped. 0.0 MB/s (908 bytes in 0.029s) +saving the logcat file to /mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/last_tmp_expermiment_folder -/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/last_tmp_expermiment_folder- +--- Parsing result from /mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/last_tmp_expermiment_folder to /mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/output_folder/raw_result.txt +--- Getting exact configuration with frequency +--- Configuration with frequencies = [576000- 0- 0- 576000- 0- 0- 0- 0] +--- Getting the powermeter summary +--- Powermeter summary: +time (s): 601.6696803569794 +Ins Current (mA):128.1345610953852 +Samples: 3000000 +Consumed Energy (mAs): 85184.50119378332 +Consumed Energy (mAh): 23.66236144271759 +Consumed Energy (mWs): 429389.46759674646 +Consumed Energy (mWh): 119.27485211020735 +Avg power (mW): 723.4942902904883 +Avg Current (mA): 143.50321617137928 +Avg Voltage (V): 5.041659062375664 + +--- Getting the total energy consumed of the google pixel +--- Energy consumed = 23.66236144271759 +--- Starting cc_info = 0 +--- Ending cc_info = 0 +--- Getting the average power +--- Avg Power = 723.4942902904883 +--- Printing the total threads summary +--- Thread results +Thread : 0 - ThreadProcess id: 23503 +---------------------------------------- +Starting time: Sat, 18 Dec 2021 15:30:36 +0100 +Core id: 0 +Ending time: Sat, 18 Dec 2021 15:40:37 +0100 - Duration: 600008 seconds +Real workload: 4.701642421194446E10 - Integer reached: 129184 - Number of reset = 0 +Battery stats: 0 mAH +Computed Drain: Null +Start: 50 % - End: 50 +Cc_info at the beginning: 0 mAh +Cc_info at the end: 0 mAh +Cc_info variation: 0.0 mAh + +Thread : 1 - ThreadProcess id: 23504 +---------------------------------------- +Starting time: Sat, 18 Dec 2021 15:30:36 +0100 +Core id: 3 +Ending time: Sat, 18 Dec 2021 15:40:37 +0100 - Duration: 600008 seconds +Real workload: 4.709323588874346E10 - Integer reached: 129285 - Number of reset = 0 +Battery stats: 0 mAH +Computed Drain: Null +Start: 50 % - End: 50 +Cc_info at the beginning: 0 mAh +Cc_info at the end: 0 mAh +Cc_info variation: 0.0 mAh + + +--- Counting the total workload command : print_total_workload /mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/last_tmp_expermiment_folder app_output_folder 1,0,0,1,0,0,0,0 /mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first +--- Total workload : 9.41097e+10 +--- Getting energy efficiency +--- Energy efficiency: 2.51434e-10 +--- Building what we will add to the total result file command +------ + (build_configuration_raw_result 100100-0-0 1,0,0,1,0,0,0,0 [576000- 0- 0- 576000- 0- 0- 0- 0] time (s): 601.6696803569794 +Ins Current (mA):128.1345610953852 +Samples: 3000000 +Consumed Energy (mAs): 85184.50119378332 +Consumed Energy (mAh): 23.66236144271759 +Consumed Energy (mWs): 429389.46759674646 +Consumed Energy (mWh): 119.27485211020735 +Avg power (mW): 723.4942902904883 +Avg Current (mA): 143.50321617137928 +Avg Voltage (V): 5.041659062375664 + Thread : 0 - ThreadProcess id: 23503 +---------------------------------------- +Starting time: Sat, 18 Dec 2021 15:30:36 +0100 +Core id: 0 +Ending time: Sat, 18 Dec 2021 15:40:37 +0100 - Duration: 600008 seconds +Real workload: 4.701642421194446E10 - Integer reached: 129184 - Number of reset = 0 +Battery stats: 0 mAH +Computed Drain: Null +Start: 50 % - End: 50 +Cc_info at the beginning: 0 mAh +Cc_info at the end: 0 mAh +Cc_info variation: 0.0 mAh + +Thread : 1 - ThreadProcess id: 23504 +---------------------------------------- +Starting time: Sat, 18 Dec 2021 15:30:36 +0100 +Core id: 3 +Ending time: Sat, 18 Dec 2021 15:40:37 +0100 - Duration: 600008 seconds +Real workload: 4.709323588874346E10 - Integer reached: 129285 - Number of reset = 0 +Battery stats: 0 mAH +Computed Drain: Null +Start: 50 % - End: 50 +Cc_info at the beginning: 0 mAh +Cc_info at the end: 0 mAh +Cc_info variation: 0.0 mAh + + 23.66236144271759 9.41097e+10 2.51434e-10 0 0 +------ + +--- Final result to print to File + -------------------------------------------------------------------------------- + +++++ +++++ +++++ Configuration Description +-------------------------------------------------------------------------------- +Configuration: 100100-0-0 +phone format: 1,0,0,1,0,0,0,0 +Exact values of frequencies: [576000- 0- 0- 576000- 0- 0- 0- 0] + +Power meter results +------------------------------------------------------------ +time (s): 601.6696803569794 +Ins Current (mA):128.1345610953852 +Samples: 3000000 +Consumed Energy (mAs): 85184.50119378332 +Consumed Energy (mAh): 23.66236144271759 +Consumed Energy (mWs): 429389.46759674646 +Consumed Energy (mWh): 119.27485211020735 +Avg power (mW): 723.4942902904883 +Avg Current (mA): 143.50321617137928 +Avg Voltage (V): 5.041659062375664 + +Threads results +------------------------------------------------------------ +Thread : 0 - ThreadProcess id: 23503 +---------------------------------------- +Starting time: Sat, 18 Dec 2021 15:30:36 +0100 +Core id: 0 +Ending time: Sat, 18 Dec 2021 15:40:37 +0100 - Duration: 600008 seconds +Real workload: 4.701642421194446E10 - Integer reached: 129184 - Number of reset = 0 +Battery stats: 0 mAH +Computed Drain: Null +Start: 50 % - End: 50 +Cc_info at the beginning: 0 mAh +Cc_info at the end: 0 mAh +Cc_info variation: 0.0 mAh + +Thread : 1 - ThreadProcess id: 23504 +---------------------------------------- +Starting time: Sat, 18 Dec 2021 15:30:36 +0100 +Core id: 3 +Ending time: Sat, 18 Dec 2021 15:40:37 +0100 - Duration: 600008 seconds +Real workload: 4.709323588874346E10 - Integer reached: 129285 - Number of reset = 0 +Battery stats: 0 mAH +Computed Drain: Null +Start: 50 % - End: 50 +Cc_info at the beginning: 0 mAh +Cc_info at the end: 0 mAh +Cc_info variation: 0.0 mAh + + +Expermiment results +------------------------------------------------------------ +Energy Consumed (mAh): 23.66236144271759 +Workload: 9.41097e+10 +Energy efficiency: 2.51434e-10 +-------------------------------------------------------------------------------- + + +--- Writing to the total result file +--- Removing previous tested configuration tmp_output folder +removed '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__03Oct22_17_13_54/app_output_folder/all_workloads.txt' +removed '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__03Oct22_17_13_54/app_output_folder/Thread_0_ended' +removed '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__03Oct22_17_13_54/app_output_folder/Thread_0_ready_for_sampling' +removed '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__03Oct22_17_13_54/app_output_folder/Thread_1_ended' +removed '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__03Oct22_17_13_54/app_output_folder/Thread_1_ready_for_sampling' +removed directory '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__03Oct22_17_13_54/app_output_folder' +removed '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__03Oct22_17_13_54/configuration_mesurement.csv' +removed '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__03Oct22_17_13_54/energy_power_workload_energyByWorkload_ccInfo' +removed '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__03Oct22_17_13_54/logcat_output' +removed '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__03Oct22_17_13_54/powermeter_summary.txt' +removed directory '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__03Oct22_17_13_54' +--- Moving the current experiment tmp_folder to the output result folder +writing a temporary file for the main script with format energy_power_workload_energyByWorkload_ccInfo +--- Obtaining experiment summary result to add to result folder +--- Experiment result, Energy consumed = 23.66236144271759 +--- Experiment result, Avg Power = 723.4942902904883 +--- Experiment result, Total Workload = 9.41097e+10 +--- Experiment result, Energy Efficiency = 2.51434e-10 +--- Adding result to summary file +--- Starting cc information : 0 +--- Ending cc information : 0 +--- The file /mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/output_folder/summary.csv exists we just appending the result to the file +--- Experiments performed on configuration 100100-0-0. +--- Observing a pause betwenn experiment; pause duration : 180 seconds; starting at 03Oct22_17_26_42 +--- Performing experiments on configuration 100100-0-0 +--- Cleaning the tmp expermiment folder : /mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/last_tmp_expermiment_folder +--- Second step : verifying the battery level +--- Verifying the battery level +--- Getting current battery level, adb command path: /mnt/c/Program Files/Android/platform-tools_r33.0.1-windows/platform-tools/adb.exe +--- Current battery level : 50 +Current battery level: OKAY +--- Third step calibrating phone core frequency +--- Resetting all frequency configurations + -- Command used : echo schedutil > /sys/devices/system/cpu/cpu1/cpufreq/scaling_governor + -- Command used : echo schedutil > /sys/devices/system/cpu/cpu2/cpufreq/scaling_governor + -- Command used : echo schedutil > /sys/devices/system/cpu/cpu3/cpufreq/scaling_governor + -- Command used : echo schedutil > /sys/devices/system/cpu/cpu4/cpufreq/scaling_governor + -- Command used : echo schedutil > /sys/devices/system/cpu/cpu5/cpufreq/scaling_governor + -- Command used : echo schedutil > /sys/devices/system/cpu/cpu6/cpufreq/scaling_governor + -- Command used : echo schedutil > /sys/devices/system/cpu/cpu7/cpufreq/scaling_governor +--- Frequency level of core 0 is 1 +--- Exact frequency of core 0: 576000 +--- Modifying the governor of core 0 +--- Modifying the the current frequency of core 0 with frequency 576000 +--- Frequency level of core 1 is 0 +--- Exact frequency of core 1: 0 +--- Modifying the governor of core 1 +--- Modifying the the current frequency of core 1 with frequency 0 +--- Frequency level of core 2 is 0 +--- Exact frequency of core 2: 0 +--- Modifying the governor of core 2 +--- Modifying the the current frequency of core 2 with frequency 0 +--- Frequency level of core 3 is 1 +--- Exact frequency of core 3: 576000 +--- Modifying the governor of core 3 +--- Modifying the the current frequency of core 3 with frequency 576000 +--- Frequency level of core 4 is 0 +--- Exact frequency of core 4: 0 +--- Modifying the governor of core 4 +--- Modifying the the current frequency of core 4 with frequency 0 +--- Frequency level of core 5 is 0 +--- Exact frequency of core 5: 0 +--- Modifying the governor of core 5 +--- Modifying the the current frequency of core 5 with frequency 0 +--- Frequency level of core 6 is 0 +--- Exact frequency of core 6: 0 +--- Modifying the governor of core 6 +--- Modifying the the current frequency of core 6 with frequency 0 +--- Frequency level of core 7 is 0 +--- Exact frequency of core 7: 0 +--- Modifying the governor of core 7 +--- Modifying the the current frequency of core 7 with frequency 0 +--- Calibrating Monsoon power meter, please wait for 10 seconds... +powermeter script : --- Inside the monsoon_power_meter, arg function: 1 +powermeter script : calibration duration = 10 +powermeter script : Creating the Monsoon engine +powermeter script : Creating the Monsoon engine +powermeter script : Configuring channels the Monsoon engine +powermeter script : Configuring output to : C:\Users\lavoi\opportunist_task_on_android\scripts_valuable_files\experiment_automatization\last_tmp_expermiment_folder\configuration_mesurement.csv +powermeter script : Starting sampling; number of sample = 50000 + returning 50000 samples after experiments +powermeter script : Power meter calibration okay +--- Monsoon power meter Calibrated +--- starting the benchmarking app +## writing the configuration inside the phone file + --- Removing file /sdcard/experiments_automatization +rm '/sdcard/experiments_automatization/current_configuration.txt' +rm '/sdcard/experiments_automatization/experiment_duration.txt' +rm '/sdcard/experiments_automatization/app_output_folder/Thread_0_ready_for_sampling' +rm '/sdcard/experiments_automatization/app_output_folder/Thread_1_ready_for_sampling' +rm '/sdcard/experiments_automatization/app_output_folder/Thread_0_ended' +rm '/sdcard/experiments_automatization/app_output_folder/Thread_1_ended' +rmdir '/sdcard/experiments_automatization/app_output_folder' +rmdir '/sdcard/experiments_automatization' + --- Clearing the logcat + --- Creating file /sdcard/experiments_automatization +----- Uninstalling experiment app +Success +----- Installing experiment app +Performing Streamed Install +Success +------ Giving rights to experiment app +----- Starting experiment app +Starting: Intent { cmp=com.opportunistask.scheduling.benchmarking_app_to_test_big_cores/.MainActivity } +adb command : ps -A | grep com.opportunistask.scheduling.benchmarking_app_to_test_big_cores + ----- Experiment app started with pid: 24309 +---- waiting for benchmarking app thread to be pinned and to be ready +--- frequency level of core 0 is 1 +--- frequency level of core 1 is 0 +--- frequency level of core 2 is 0 +--- frequency level of core 3 is 1 +--- frequency level of core 4 is 0 +--- frequency level of core 5 is 0 +--- frequency level of core 6 is 0 +--- frequency level of core 7 is 0 +--- Number of cores to occupy = 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 2 +--- Now threads are running and the phone is ready to be sampled with the power meter \n--- Threads pids +Thread_0_ready_for_sampling +Thread_1_ready_for_sampling +--- Printing cc_info beginning datas (for the samsung galaxy s8) + --- Starting power meter sampling for about 600 seconds +--- Sampling with the Monsoon power meter +powermeter script : --- Inside the monsoon_power_meter, arg function: 2 +powermeter script : Experiment duration = 600 +powermeter script : Creating the Monsoon engine +powermeter script : Creating the Monsoon engine +powermeter script : Configuring channels the Monsoon engine +powermeter script : Configuring output to : C:\Users\lavoi\opportunist_task_on_android\scripts_valuable_files\experiment_automatization\last_tmp_expermiment_folder\configuration_mesurement.csv +powermeter script : Starting sampling; number of sample = 3000000 + returning 3000000 samples after experiments +powermeter script : Total nomber of sample measured : 3000000 +powermeter script : Computing powermeter summary result + Number of samples = 3000000 +powermeter script : We computed the energy on 600 samples +powermeter script : average_power = 728.7494068467691 +powermeter script : average_power with numpy arrays = 728.7494068466605 +powermeter script : Summary Result = time (s): 601.594318151474 +Ins Current (mA):149.91089504985197 +Samples: 3000000 +Consumed Energy (mAs): 87418.57091877563 +Consumed Energy (mAh): 24.282936366326563 +Consumed Energy (mWs): 440421.7190243694 +Consumed Energy (mWh): 122.33936639565816 +Avg power (mW): 728.7494068467691 +Avg Current (mA): 144.57438942582954 +Avg Voltage (V): 5.040653533042494 +Exp Batt Life (hrs for 1000mAh battery): NOT COMPUTED +--- Monsoon power meter sampling is finished ! + --- experiment folder path /mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/last_tmp_expermiment_folder +--- frequency level of core 0 is 1 +--- frequency level of core 1 is 0 +--- frequency level of core 2 is 0 +--- frequency level of core 3 is 1 +--- frequency level of core 4 is 0 +--- frequency level of core 5 is 0 +--- frequency level of core 6 is 0 +--- frequency level of core 7 is 0 +--- Number of threads normally started = 2 +--- Number of thread ended: 2 +--- Now threads are stopped, getting the cc_info_level for samsung +--- Copying thread results locally +command /mnt/c/Program Files/Android/platform-tools_r33.0.1-windows/platform-tools/adb.exe pull /sdcard/experiments_automatization/app_output_folder C:\Users\lavoi\opportunist_task_on_android\scripts_valuable_files\experiment_automatization\last_tmp_expermiment_folder </dev/null +/sdcard/experiments_automatization/app_output_folder/: 4 files pulled, 0 skipped. 0.0 MB/s (909 bytes in 0.032s) +saving the logcat file to /mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/last_tmp_expermiment_folder -/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/last_tmp_expermiment_folder- +--- Parsing result from /mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/last_tmp_expermiment_folder to /mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/output_folder/raw_result.txt +--- Getting exact configuration with frequency +--- Configuration with frequencies = [576000- 0- 0- 576000- 0- 0- 0- 0] +--- Getting the powermeter summary +--- Powermeter summary: +time (s): 601.594318151474 +Ins Current (mA):149.91089504985197 +Samples: 3000000 +Consumed Energy (mAs): 87418.57091877563 +Consumed Energy (mAh): 24.282936366326563 +Consumed Energy (mWs): 440421.7190243694 +Consumed Energy (mWh): 122.33936639565816 +Avg power (mW): 728.7494068467691 +Avg Current (mA): 144.57438942582954 +Avg Voltage (V): 5.040653533042494 + +--- Getting the total energy consumed of the google pixel +--- Energy consumed = 24.282936366326563 +--- Starting cc_info = 0 +--- Ending cc_info = 0 +--- Getting the average power +--- Avg Power = 728.7494068467691 +--- Printing the total threads summary +--- Thread results +Thread : 0 - ThreadProcess id: 24334 +---------------------------------------- +Starting time: Sat, 18 Dec 2021 15:46:27 +0100 +Core id: 0 +Ending time: Sat, 18 Dec 2021 15:56:28 +0100 - Duration: 600019 seconds +Real workload: 4.6938918130023285E10 - Integer reached: 129082 - Number of reset = 0 +Battery stats: 0 mAH +Computed Drain: Null +Start: 50 % - End: 50 +Cc_info at the beginning: 0 mAh +Cc_info at the end: 0 mAh +Cc_info variation: 0.0 mAh + +Thread : 1 - ThreadProcess id: 24335 +---------------------------------------- +Starting time: Sat, 18 Dec 2021 15:46:27 +0100 +Core id: 3 +Ending time: Sat, 18 Dec 2021 15:56:28 +0100 - Duration: 600012 seconds +Real workload: 4.675150698418623E10 - Integer reached: 128835 - Number of reset = 0 +Battery stats: 0 mAH +Computed Drain: Null +Start: 50 % - End: 50 +Cc_info at the beginning: 0 mAh +Cc_info at the end: 0 mAh +Cc_info variation: 0.0 mAh + + +--- Counting the total workload command : print_total_workload /mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/last_tmp_expermiment_folder app_output_folder 1,0,0,1,0,0,0,0 /mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first +--- Total workload : 9.36904e+10 +--- Getting energy efficiency +--- Energy efficiency: 2.59183e-10 +--- Building what we will add to the total result file command +------ + (build_configuration_raw_result 100100-0-0 1,0,0,1,0,0,0,0 [576000- 0- 0- 576000- 0- 0- 0- 0] time (s): 601.594318151474 +Ins Current (mA):149.91089504985197 +Samples: 3000000 +Consumed Energy (mAs): 87418.57091877563 +Consumed Energy (mAh): 24.282936366326563 +Consumed Energy (mWs): 440421.7190243694 +Consumed Energy (mWh): 122.33936639565816 +Avg power (mW): 728.7494068467691 +Avg Current (mA): 144.57438942582954 +Avg Voltage (V): 5.040653533042494 + Thread : 0 - ThreadProcess id: 24334 +---------------------------------------- +Starting time: Sat, 18 Dec 2021 15:46:27 +0100 +Core id: 0 +Ending time: Sat, 18 Dec 2021 15:56:28 +0100 - Duration: 600019 seconds +Real workload: 4.6938918130023285E10 - Integer reached: 129082 - Number of reset = 0 +Battery stats: 0 mAH +Computed Drain: Null +Start: 50 % - End: 50 +Cc_info at the beginning: 0 mAh +Cc_info at the end: 0 mAh +Cc_info variation: 0.0 mAh + +Thread : 1 - ThreadProcess id: 24335 +---------------------------------------- +Starting time: Sat, 18 Dec 2021 15:46:27 +0100 +Core id: 3 +Ending time: Sat, 18 Dec 2021 15:56:28 +0100 - Duration: 600012 seconds +Real workload: 4.675150698418623E10 - Integer reached: 128835 - Number of reset = 0 +Battery stats: 0 mAH +Computed Drain: Null +Start: 50 % - End: 50 +Cc_info at the beginning: 0 mAh +Cc_info at the end: 0 mAh +Cc_info variation: 0.0 mAh + + 24.282936366326563 9.36904e+10 2.59183e-10 0 0 +------ + +--- Final result to print to File + -------------------------------------------------------------------------------- + +++++ +++++ +++++ Configuration Description +-------------------------------------------------------------------------------- +Configuration: 100100-0-0 +phone format: 1,0,0,1,0,0,0,0 +Exact values of frequencies: [576000- 0- 0- 576000- 0- 0- 0- 0] + +Power meter results +------------------------------------------------------------ +time (s): 601.594318151474 +Ins Current (mA):149.91089504985197 +Samples: 3000000 +Consumed Energy (mAs): 87418.57091877563 +Consumed Energy (mAh): 24.282936366326563 +Consumed Energy (mWs): 440421.7190243694 +Consumed Energy (mWh): 122.33936639565816 +Avg power (mW): 728.7494068467691 +Avg Current (mA): 144.57438942582954 +Avg Voltage (V): 5.040653533042494 + +Threads results +------------------------------------------------------------ +Thread : 0 - ThreadProcess id: 24334 +---------------------------------------- +Starting time: Sat, 18 Dec 2021 15:46:27 +0100 +Core id: 0 +Ending time: Sat, 18 Dec 2021 15:56:28 +0100 - Duration: 600019 seconds +Real workload: 4.6938918130023285E10 - Integer reached: 129082 - Number of reset = 0 +Battery stats: 0 mAH +Computed Drain: Null +Start: 50 % - End: 50 +Cc_info at the beginning: 0 mAh +Cc_info at the end: 0 mAh +Cc_info variation: 0.0 mAh + +Thread : 1 - ThreadProcess id: 24335 +---------------------------------------- +Starting time: Sat, 18 Dec 2021 15:46:27 +0100 +Core id: 3 +Ending time: Sat, 18 Dec 2021 15:56:28 +0100 - Duration: 600012 seconds +Real workload: 4.675150698418623E10 - Integer reached: 128835 - Number of reset = 0 +Battery stats: 0 mAH +Computed Drain: Null +Start: 50 % - End: 50 +Cc_info at the beginning: 0 mAh +Cc_info at the end: 0 mAh +Cc_info variation: 0.0 mAh + + +Expermiment results +------------------------------------------------------------ +Energy Consumed (mAh): 24.282936366326563 +Workload: 9.36904e+10 +Energy efficiency: 2.59183e-10 +-------------------------------------------------------------------------------- + + +--- Writing to the total result file +--- Removing previous tested configuration tmp_output folder +removed '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__03Oct22_17_29_44/app_output_folder/all_workloads.txt' +removed '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__03Oct22_17_29_44/app_output_folder/Thread_0_ended' +removed '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__03Oct22_17_29_44/app_output_folder/Thread_0_ready_for_sampling' +removed '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__03Oct22_17_29_44/app_output_folder/Thread_1_ended' +removed '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__03Oct22_17_29_44/app_output_folder/Thread_1_ready_for_sampling' +removed directory '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__03Oct22_17_29_44/app_output_folder' +removed '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__03Oct22_17_29_44/configuration_mesurement.csv' +removed '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__03Oct22_17_29_44/energy_power_workload_energyByWorkload_ccInfo' +removed '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__03Oct22_17_29_44/logcat_output' +removed '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__03Oct22_17_29_44/powermeter_summary.txt' +removed directory '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__03Oct22_17_29_44' +--- Moving the current experiment tmp_folder to the output result folder +writing a temporary file for the main script with format energy_power_workload_energyByWorkload_ccInfo +--- Obtaining experiment summary result to add to result folder +--- Experiment result, Energy consumed = 24.282936366326563 +--- Experiment result, Avg Power = 728.7494068467691 +--- Experiment result, Total Workload = 9.36904e+10 +--- Experiment result, Energy Efficiency = 2.59183e-10 +--- Adding result to summary file +--- Starting cc information : 0 +--- Ending cc information : 0 +--- The file /mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/output_folder/summary.csv exists we just appending the result to the file +--- Experiments performed on configuration 100100-0-0. +--- Observing a pause betwenn experiment; pause duration : 180 seconds; starting at 03Oct22_17_42_31 +--- Performing experiments on configuration 101000-0-0 +--- Cleaning the tmp expermiment folder : /mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/last_tmp_expermiment_folder +--- Second step : verifying the battery level +--- Verifying the battery level +--- Getting current battery level, adb command path: /mnt/c/Program Files/Android/platform-tools_r33.0.1-windows/platform-tools/adb.exe +--- Current battery level : 50 +Current battery level: OKAY +--- Third step calibrating phone core frequency +--- Resetting all frequency configurations + -- Command used : echo schedutil > /sys/devices/system/cpu/cpu1/cpufreq/scaling_governor + -- Command used : echo schedutil > /sys/devices/system/cpu/cpu2/cpufreq/scaling_governor + -- Command used : echo schedutil > /sys/devices/system/cpu/cpu3/cpufreq/scaling_governor + -- Command used : echo schedutil > /sys/devices/system/cpu/cpu4/cpufreq/scaling_governor + -- Command used : echo schedutil > /sys/devices/system/cpu/cpu5/cpufreq/scaling_governor + -- Command used : echo schedutil > /sys/devices/system/cpu/cpu6/cpufreq/scaling_governor + -- Command used : echo schedutil > /sys/devices/system/cpu/cpu7/cpufreq/scaling_governor +--- Frequency level of core 0 is 1 +--- Exact frequency of core 0: 576000 +--- Modifying the governor of core 0 +--- Modifying the the current frequency of core 0 with frequency 576000 +--- Frequency level of core 1 is 0 +--- Exact frequency of core 1: 0 +--- Modifying the governor of core 1 +--- Modifying the the current frequency of core 1 with frequency 0 +--- Frequency level of core 2 is 1 +--- Exact frequency of core 2: 576000 +--- Modifying the governor of core 2 +--- Modifying the the current frequency of core 2 with frequency 576000 +--- Frequency level of core 3 is 0 +--- Exact frequency of core 3: 0 +--- Modifying the governor of core 3 +--- Modifying the the current frequency of core 3 with frequency 0 +--- Frequency level of core 4 is 0 +--- Exact frequency of core 4: 0 +--- Modifying the governor of core 4 +--- Modifying the the current frequency of core 4 with frequency 0 +--- Frequency level of core 5 is 0 +--- Exact frequency of core 5: 0 +--- Modifying the governor of core 5 +--- Modifying the the current frequency of core 5 with frequency 0 +--- Frequency level of core 6 is 0 +--- Exact frequency of core 6: 0 +--- Modifying the governor of core 6 +--- Modifying the the current frequency of core 6 with frequency 0 +--- Frequency level of core 7 is 0 +--- Exact frequency of core 7: 0 +--- Modifying the governor of core 7 +--- Modifying the the current frequency of core 7 with frequency 0 +--- Calibrating Monsoon power meter, please wait for 10 seconds... +powermeter script : --- Inside the monsoon_power_meter, arg function: 1 +powermeter script : calibration duration = 10 +powermeter script : Creating the Monsoon engine +powermeter script : Creating the Monsoon engine +powermeter script : Configuring channels the Monsoon engine +powermeter script : Configuring output to : C:\Users\lavoi\opportunist_task_on_android\scripts_valuable_files\experiment_automatization\last_tmp_expermiment_folder\configuration_mesurement.csv +powermeter script : Starting sampling; number of sample = 50000 + returning 50000 samples after experiments +powermeter script : Power meter calibration okay +--- Monsoon power meter Calibrated +--- starting the benchmarking app +## writing the configuration inside the phone file + --- Removing file /sdcard/experiments_automatization +rm '/sdcard/experiments_automatization/current_configuration.txt' +rm '/sdcard/experiments_automatization/experiment_duration.txt' +rm '/sdcard/experiments_automatization/app_output_folder/Thread_0_ready_for_sampling' +rm '/sdcard/experiments_automatization/app_output_folder/Thread_1_ready_for_sampling' +rm '/sdcard/experiments_automatization/app_output_folder/Thread_0_ended' +rm '/sdcard/experiments_automatization/app_output_folder/Thread_1_ended' +rmdir '/sdcard/experiments_automatization/app_output_folder' +rmdir '/sdcard/experiments_automatization' + --- Clearing the logcat + --- Creating file /sdcard/experiments_automatization +----- Uninstalling experiment app +Success +----- Installing experiment app +Performing Streamed Install +Success +------ Giving rights to experiment app +----- Starting experiment app +Starting: Intent { cmp=com.opportunistask.scheduling.benchmarking_app_to_test_big_cores/.MainActivity } +adb command : ps -A | grep com.opportunistask.scheduling.benchmarking_app_to_test_big_cores + ----- Experiment app started with pid: 25136 +---- waiting for benchmarking app thread to be pinned and to be ready +--- frequency level of core 0 is 1 +--- frequency level of core 1 is 0 +--- frequency level of core 2 is 1 +--- frequency level of core 3 is 0 +--- frequency level of core 4 is 0 +--- frequency level of core 5 is 0 +--- frequency level of core 6 is 0 +--- frequency level of core 7 is 0 +--- Number of cores to occupy = 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 2 +--- Now threads are running and the phone is ready to be sampled with the power meter \n--- Threads pids +Thread_0_ready_for_sampling +Thread_1_ready_for_sampling +--- Printing cc_info beginning datas (for the samsung galaxy s8) + --- Starting power meter sampling for about 600 seconds +--- Sampling with the Monsoon power meter +powermeter script : --- Inside the monsoon_power_meter, arg function: 2 +powermeter script : Experiment duration = 600 +powermeter script : Creating the Monsoon engine +powermeter script : Creating the Monsoon engine +powermeter script : Configuring channels the Monsoon engine +powermeter script : Configuring output to : C:\Users\lavoi\opportunist_task_on_android\scripts_valuable_files\experiment_automatization\last_tmp_expermiment_folder\configuration_mesurement.csv +powermeter script : Starting sampling; number of sample = 3000000 + returning 3000000 samples after experiments +powermeter script : Total nomber of sample measured : 3000000 +powermeter script : Computing powermeter summary result + Number of samples = 3000000 +powermeter script : We computed the energy on 600 samples +powermeter script : average_power = 723.5133808912915 +powermeter script : average_power with numpy arrays = 723.5133808911352 +powermeter script : Summary Result = time (s): 601.528993844986 +Ins Current (mA):144.30946757283922 +Samples: 3000000 +Consumed Energy (mAs): 85779.47928352332 +Consumed Energy (mAh): 23.827633134312034 +Consumed Energy (mWs): 432299.84159345663 +Consumed Energy (mWh): 120.08328933151573 +Avg power (mW): 723.5133808912915 +Avg Current (mA): 143.5114500504767 +Avg Voltage (V): 5.0415028252924285 +Exp Batt Life (hrs for 1000mAh battery): NOT COMPUTED +--- Monsoon power meter sampling is finished ! + --- experiment folder path /mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/last_tmp_expermiment_folder +--- frequency level of core 0 is 1 +--- frequency level of core 1 is 0 +--- frequency level of core 2 is 1 +--- frequency level of core 3 is 0 +--- frequency level of core 4 is 0 +--- frequency level of core 5 is 0 +--- frequency level of core 6 is 0 +--- frequency level of core 7 is 0 +--- Number of threads normally started = 2 +--- Number of thread ended: 2 +--- Now threads are stopped, getting the cc_info_level for samsung +--- Copying thread results locally +command /mnt/c/Program Files/Android/platform-tools_r33.0.1-windows/platform-tools/adb.exe pull /sdcard/experiments_automatization/app_output_folder C:\Users\lavoi\opportunist_task_on_android\scripts_valuable_files\experiment_automatization\last_tmp_expermiment_folder </dev/null +/sdcard/experiments_automatization/app_output_folder/: 4 files pulled, 0 skipped. 0.0 MB/s (910 bytes in 0.034s) +saving the logcat file to /mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/last_tmp_expermiment_folder -/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/last_tmp_expermiment_folder- +--- Parsing result from /mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/last_tmp_expermiment_folder to /mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/output_folder/raw_result.txt +--- Getting exact configuration with frequency +--- Configuration with frequencies = [576000- 0- 576000- 0- 0- 0- 0- 0] +--- Getting the powermeter summary +--- Powermeter summary: +time (s): 601.528993844986 +Ins Current (mA):144.30946757283922 +Samples: 3000000 +Consumed Energy (mAs): 85779.47928352332 +Consumed Energy (mAh): 23.827633134312034 +Consumed Energy (mWs): 432299.84159345663 +Consumed Energy (mWh): 120.08328933151573 +Avg power (mW): 723.5133808912915 +Avg Current (mA): 143.5114500504767 +Avg Voltage (V): 5.0415028252924285 + +--- Getting the total energy consumed of the google pixel +--- Energy consumed = 23.827633134312034 +--- Starting cc_info = 0 +--- Ending cc_info = 0 +--- Getting the average power +--- Avg Power = 723.5133808912915 +--- Printing the total threads summary +--- Thread results +Thread : 0 - ThreadProcess id: 25161 +---------------------------------------- +Starting time: Sat, 18 Dec 2021 16:02:16 +0100 +Core id: 0 +Ending time: Sat, 18 Dec 2021 16:12:17 +0100 - Duration: 600001 seconds +Real workload: 4.6862996249335815E10 - Integer reached: 128982 - Number of reset = 0 +Battery stats: 0 mAH +Computed Drain: Null +Start: 50 % - End: 50 +Cc_info at the beginning: 0 mAh +Cc_info at the end: 0 mAh +Cc_info variation: 0.0 mAh + +Thread : 1 - ThreadProcess id: 25162 +---------------------------------------- +Starting time: Sat, 18 Dec 2021 16:02:17 +0100 +Core id: 2 +Ending time: Sat, 18 Dec 2021 16:12:17 +0100 - Duration: 600014 seconds +Real workload: 4.6830369471096596E10 - Integer reached: 128939 - Number of reset = 0 +Battery stats: 0 mAH +Computed Drain: Null +Start: 50 % - End: 50 +Cc_info at the beginning: 0 mAh +Cc_info at the end: 0 mAh +Cc_info variation: 0.0 mAh + + +--- Counting the total workload command : print_total_workload /mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/last_tmp_expermiment_folder app_output_folder 1,0,1,0,0,0,0,0 /mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first +--- Total workload : 9.36934e+10 +--- Getting energy efficiency +--- Energy efficiency: 2.54315e-10 +--- Building what we will add to the total result file command +------ + (build_configuration_raw_result 101000-0-0 1,0,1,0,0,0,0,0 [576000- 0- 576000- 0- 0- 0- 0- 0] time (s): 601.528993844986 +Ins Current (mA):144.30946757283922 +Samples: 3000000 +Consumed Energy (mAs): 85779.47928352332 +Consumed Energy (mAh): 23.827633134312034 +Consumed Energy (mWs): 432299.84159345663 +Consumed Energy (mWh): 120.08328933151573 +Avg power (mW): 723.5133808912915 +Avg Current (mA): 143.5114500504767 +Avg Voltage (V): 5.0415028252924285 + Thread : 0 - ThreadProcess id: 25161 +---------------------------------------- +Starting time: Sat, 18 Dec 2021 16:02:16 +0100 +Core id: 0 +Ending time: Sat, 18 Dec 2021 16:12:17 +0100 - Duration: 600001 seconds +Real workload: 4.6862996249335815E10 - Integer reached: 128982 - Number of reset = 0 +Battery stats: 0 mAH +Computed Drain: Null +Start: 50 % - End: 50 +Cc_info at the beginning: 0 mAh +Cc_info at the end: 0 mAh +Cc_info variation: 0.0 mAh + +Thread : 1 - ThreadProcess id: 25162 +---------------------------------------- +Starting time: Sat, 18 Dec 2021 16:02:17 +0100 +Core id: 2 +Ending time: Sat, 18 Dec 2021 16:12:17 +0100 - Duration: 600014 seconds +Real workload: 4.6830369471096596E10 - Integer reached: 128939 - Number of reset = 0 +Battery stats: 0 mAH +Computed Drain: Null +Start: 50 % - End: 50 +Cc_info at the beginning: 0 mAh +Cc_info at the end: 0 mAh +Cc_info variation: 0.0 mAh + + 23.827633134312034 9.36934e+10 2.54315e-10 0 0 +------ + +--- Final result to print to File + -------------------------------------------------------------------------------- + +++++ +++++ +++++ Configuration Description +-------------------------------------------------------------------------------- +Configuration: 101000-0-0 +phone format: 1,0,1,0,0,0,0,0 +Exact values of frequencies: [576000- 0- 576000- 0- 0- 0- 0- 0] + +Power meter results +------------------------------------------------------------ +time (s): 601.528993844986 +Ins Current (mA):144.30946757283922 +Samples: 3000000 +Consumed Energy (mAs): 85779.47928352332 +Consumed Energy (mAh): 23.827633134312034 +Consumed Energy (mWs): 432299.84159345663 +Consumed Energy (mWh): 120.08328933151573 +Avg power (mW): 723.5133808912915 +Avg Current (mA): 143.5114500504767 +Avg Voltage (V): 5.0415028252924285 + +Threads results +------------------------------------------------------------ +Thread : 0 - ThreadProcess id: 25161 +---------------------------------------- +Starting time: Sat, 18 Dec 2021 16:02:16 +0100 +Core id: 0 +Ending time: Sat, 18 Dec 2021 16:12:17 +0100 - Duration: 600001 seconds +Real workload: 4.6862996249335815E10 - Integer reached: 128982 - Number of reset = 0 +Battery stats: 0 mAH +Computed Drain: Null +Start: 50 % - End: 50 +Cc_info at the beginning: 0 mAh +Cc_info at the end: 0 mAh +Cc_info variation: 0.0 mAh + +Thread : 1 - ThreadProcess id: 25162 +---------------------------------------- +Starting time: Sat, 18 Dec 2021 16:02:17 +0100 +Core id: 2 +Ending time: Sat, 18 Dec 2021 16:12:17 +0100 - Duration: 600014 seconds +Real workload: 4.6830369471096596E10 - Integer reached: 128939 - Number of reset = 0 +Battery stats: 0 mAH +Computed Drain: Null +Start: 50 % - End: 50 +Cc_info at the beginning: 0 mAh +Cc_info at the end: 0 mAh +Cc_info variation: 0.0 mAh + + +Expermiment results +------------------------------------------------------------ +Energy Consumed (mAh): 23.827633134312034 +Workload: 9.36934e+10 +Energy efficiency: 2.54315e-10 +-------------------------------------------------------------------------------- + + +--- Writing to the total result file +--- Removing previous tested configuration tmp_output folder +removed '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__03Oct22_17_45_33/app_output_folder/all_workloads.txt' +removed '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__03Oct22_17_45_33/app_output_folder/Thread_0_ended' +removed '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__03Oct22_17_45_33/app_output_folder/Thread_0_ready_for_sampling' +removed '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__03Oct22_17_45_33/app_output_folder/Thread_1_ended' +removed '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__03Oct22_17_45_33/app_output_folder/Thread_1_ready_for_sampling' +removed directory '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__03Oct22_17_45_33/app_output_folder' +removed '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__03Oct22_17_45_33/configuration_mesurement.csv' +removed '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__03Oct22_17_45_33/energy_power_workload_energyByWorkload_ccInfo' +removed '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__03Oct22_17_45_33/logcat_output' +removed '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__03Oct22_17_45_33/powermeter_summary.txt' +removed directory '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__03Oct22_17_45_33' +--- Moving the current experiment tmp_folder to the output result folder +writing a temporary file for the main script with format energy_power_workload_energyByWorkload_ccInfo +--- Obtaining experiment summary result to add to result folder +--- Experiment result, Energy consumed = 23.827633134312034 +--- Experiment result, Avg Power = 723.5133808912915 +--- Experiment result, Total Workload = 9.36934e+10 +--- Experiment result, Energy Efficiency = 2.54315e-10 +--- Adding result to summary file +--- Starting cc information : 0 +--- Ending cc information : 0 +--- The file /mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/output_folder/summary.csv exists we just appending the result to the file +--- Experiments performed on configuration 101000-0-0. +--- Observing a pause betwenn experiment; pause duration : 180 seconds; starting at 03Oct22_17_58_19 +--- Performing experiments on configuration 101000-0-0 +--- Cleaning the tmp expermiment folder : /mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/last_tmp_expermiment_folder +--- Second step : verifying the battery level +--- Verifying the battery level +--- Getting current battery level, adb command path: /mnt/c/Program Files/Android/platform-tools_r33.0.1-windows/platform-tools/adb.exe +--- Current battery level : 50 +Current battery level: OKAY +--- Third step calibrating phone core frequency +--- Resetting all frequency configurations + -- Command used : echo schedutil > /sys/devices/system/cpu/cpu1/cpufreq/scaling_governor + -- Command used : echo schedutil > /sys/devices/system/cpu/cpu2/cpufreq/scaling_governor + -- Command used : echo schedutil > /sys/devices/system/cpu/cpu3/cpufreq/scaling_governor + -- Command used : echo schedutil > /sys/devices/system/cpu/cpu4/cpufreq/scaling_governor + -- Command used : echo schedutil > /sys/devices/system/cpu/cpu5/cpufreq/scaling_governor + -- Command used : echo schedutil > /sys/devices/system/cpu/cpu6/cpufreq/scaling_governor + -- Command used : echo schedutil > /sys/devices/system/cpu/cpu7/cpufreq/scaling_governor +--- Frequency level of core 0 is 1 +--- Exact frequency of core 0: 576000 +--- Modifying the governor of core 0 +--- Modifying the the current frequency of core 0 with frequency 576000 +--- Frequency level of core 1 is 0 +--- Exact frequency of core 1: 0 +--- Modifying the governor of core 1 +--- Modifying the the current frequency of core 1 with frequency 0 +--- Frequency level of core 2 is 1 +--- Exact frequency of core 2: 576000 +--- Modifying the governor of core 2 +--- Modifying the the current frequency of core 2 with frequency 576000 +--- Frequency level of core 3 is 0 +--- Exact frequency of core 3: 0 +--- Modifying the governor of core 3 +--- Modifying the the current frequency of core 3 with frequency 0 +--- Frequency level of core 4 is 0 +--- Exact frequency of core 4: 0 +--- Modifying the governor of core 4 +--- Modifying the the current frequency of core 4 with frequency 0 +--- Frequency level of core 5 is 0 +--- Exact frequency of core 5: 0 +--- Modifying the governor of core 5 +--- Modifying the the current frequency of core 5 with frequency 0 +--- Frequency level of core 6 is 0 +--- Exact frequency of core 6: 0 +--- Modifying the governor of core 6 +--- Modifying the the current frequency of core 6 with frequency 0 +--- Frequency level of core 7 is 0 +--- Exact frequency of core 7: 0 +--- Modifying the governor of core 7 +--- Modifying the the current frequency of core 7 with frequency 0 +--- Calibrating Monsoon power meter, please wait for 10 seconds... +powermeter script : --- Inside the monsoon_power_meter, arg function: 1 +powermeter script : calibration duration = 10 +powermeter script : Creating the Monsoon engine +powermeter script : Creating the Monsoon engine +powermeter script : Configuring channels the Monsoon engine +powermeter script : Configuring output to : C:\Users\lavoi\opportunist_task_on_android\scripts_valuable_files\experiment_automatization\last_tmp_expermiment_folder\configuration_mesurement.csv +powermeter script : Starting sampling; number of sample = 50000 + returning 50000 samples after experiments +powermeter script : Power meter calibration okay +--- Monsoon power meter Calibrated +--- starting the benchmarking app +## writing the configuration inside the phone file + --- Removing file /sdcard/experiments_automatization +rm '/sdcard/experiments_automatization/current_configuration.txt' +rm '/sdcard/experiments_automatization/experiment_duration.txt' +rm '/sdcard/experiments_automatization/app_output_folder/Thread_0_ready_for_sampling' +rm '/sdcard/experiments_automatization/app_output_folder/Thread_1_ready_for_sampling' +rm '/sdcard/experiments_automatization/app_output_folder/Thread_0_ended' +rm '/sdcard/experiments_automatization/app_output_folder/Thread_1_ended' +rmdir '/sdcard/experiments_automatization/app_output_folder' +rmdir '/sdcard/experiments_automatization' + --- Clearing the logcat + --- Creating file /sdcard/experiments_automatization +----- Uninstalling experiment app +Success +----- Installing experiment app +Performing Streamed Install +Success +------ Giving rights to experiment app +----- Starting experiment app +Starting: Intent { cmp=com.opportunistask.scheduling.benchmarking_app_to_test_big_cores/.MainActivity } +adb command : ps -A | grep com.opportunistask.scheduling.benchmarking_app_to_test_big_cores + ----- Experiment app started with pid: 25965 +---- waiting for benchmarking app thread to be pinned and to be ready +--- frequency level of core 0 is 1 +--- frequency level of core 1 is 0 +--- frequency level of core 2 is 1 +--- frequency level of core 3 is 0 +--- frequency level of core 4 is 0 +--- frequency level of core 5 is 0 +--- frequency level of core 6 is 0 +--- frequency level of core 7 is 0 +--- Number of cores to occupy = 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 1 +--- The current number of thread ready to be sambled : 1, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 2 +--- Now threads are running and the phone is ready to be sampled with the power meter \n--- Threads pids +Thread_0_ready_for_sampling +Thread_1_ready_for_sampling +--- Printing cc_info beginning datas (for the samsung galaxy s8) + --- Starting power meter sampling for about 600 seconds +--- Sampling with the Monsoon power meter +powermeter script : --- Inside the monsoon_power_meter, arg function: 2 +powermeter script : Experiment duration = 600 +powermeter script : Creating the Monsoon engine +powermeter script : Creating the Monsoon engine +powermeter script : Configuring channels the Monsoon engine +powermeter script : Configuring output to : C:\Users\lavoi\opportunist_task_on_android\scripts_valuable_files\experiment_automatization\last_tmp_expermiment_folder\configuration_mesurement.csv +powermeter script : Starting sampling; number of sample = 3000000 + returning 3000000 samples after experiments +powermeter script : Total nomber of sample measured : 3000000 +powermeter script : Computing powermeter summary result + Number of samples = 3000000 +powermeter script : We computed the energy on 600 samples +powermeter script : average_power = 723.732867677299 +powermeter script : average_power with numpy arrays = 723.7328676771959 +powermeter script : Summary Result = time (s): 601.5276546478271 +Ins Current (mA):132.3879285711564 +Samples: 3000000 +Consumed Energy (mAs): 85775.98216515913 +Consumed Energy (mAh): 23.826661712544205 +Consumed Energy (mWs): 432273.52302959596 +Consumed Energy (mWh): 120.07597861933222 +Avg power (mW): 723.732867677299 +Avg Current (mA): 143.5536967320101 +Avg Voltage (V): 5.041548104667642 +Exp Batt Life (hrs for 1000mAh battery): NOT COMPUTED +--- Monsoon power meter sampling is finished ! + --- experiment folder path /mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/last_tmp_expermiment_folder +--- frequency level of core 0 is 1 +--- frequency level of core 1 is 0 +--- frequency level of core 2 is 1 +--- frequency level of core 3 is 0 +--- frequency level of core 4 is 0 +--- frequency level of core 5 is 0 +--- frequency level of core 6 is 0 +--- frequency level of core 7 is 0 +--- Number of threads normally started = 2 +--- Number of thread ended: 2 +--- Now threads are stopped, getting the cc_info_level for samsung +--- Copying thread results locally +command /mnt/c/Program Files/Android/platform-tools_r33.0.1-windows/platform-tools/adb.exe pull /sdcard/experiments_automatization/app_output_folder C:\Users\lavoi\opportunist_task_on_android\scripts_valuable_files\experiment_automatization\last_tmp_expermiment_folder </dev/null +/sdcard/experiments_automatization/app_output_folder/: 4 files pulled, 0 skipped. 0.0 MB/s (908 bytes in 0.030s) +saving the logcat file to /mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/last_tmp_expermiment_folder -/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/last_tmp_expermiment_folder- +--- Parsing result from /mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/last_tmp_expermiment_folder to /mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/output_folder/raw_result.txt +--- Getting exact configuration with frequency +--- Configuration with frequencies = [576000- 0- 576000- 0- 0- 0- 0- 0] +--- Getting the powermeter summary +--- Powermeter summary: +time (s): 601.5276546478271 +Ins Current (mA):132.3879285711564 +Samples: 3000000 +Consumed Energy (mAs): 85775.98216515913 +Consumed Energy (mAh): 23.826661712544205 +Consumed Energy (mWs): 432273.52302959596 +Consumed Energy (mWh): 120.07597861933222 +Avg power (mW): 723.732867677299 +Avg Current (mA): 143.5536967320101 +Avg Voltage (V): 5.041548104667642 + +--- Getting the total energy consumed of the google pixel +--- Energy consumed = 23.826661712544205 +--- Starting cc_info = 0 +--- Ending cc_info = 0 +--- Getting the average power +--- Avg Power = 723.732867677299 +--- Printing the total threads summary +--- Thread results +Thread : 0 - ThreadProcess id: 25990 +---------------------------------------- +Starting time: Sat, 18 Dec 2021 16:18:05 +0100 +Core id: 0 +Ending time: Sat, 18 Dec 2021 16:28:05 +0100 - Duration: 600019 seconds +Real workload: 4.689791238684032E10 - Integer reached: 129028 - Number of reset = 0 +Battery stats: 0 mAH +Computed Drain: Null +Start: 50 % - End: 50 +Cc_info at the beginning: 0 mAh +Cc_info at the end: 0 mAh +Cc_info variation: 0.0 mAh + +Thread : 1 - ThreadProcess id: 25991 +---------------------------------------- +Starting time: Sat, 18 Dec 2021 16:18:05 +0100 +Core id: 2 +Ending time: Sat, 18 Dec 2021 16:28:05 +0100 - Duration: 600004 seconds +Real workload: 4.707041373731773E10 - Integer reached: 129255 - Number of reset = 0 +Battery stats: 0 mAH +Computed Drain: Null +Start: 50 % - End: 50 +Cc_info at the beginning: 0 mAh +Cc_info at the end: 0 mAh +Cc_info variation: 0.0 mAh + + +--- Counting the total workload command : print_total_workload /mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/last_tmp_expermiment_folder app_output_folder 1,0,1,0,0,0,0,0 /mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first +--- Total workload : 9.39683e+10 +--- Getting energy efficiency +--- Energy efficiency: 2.53561e-10 +--- Building what we will add to the total result file command +------ + (build_configuration_raw_result 101000-0-0 1,0,1,0,0,0,0,0 [576000- 0- 576000- 0- 0- 0- 0- 0] time (s): 601.5276546478271 +Ins Current (mA):132.3879285711564 +Samples: 3000000 +Consumed Energy (mAs): 85775.98216515913 +Consumed Energy (mAh): 23.826661712544205 +Consumed Energy (mWs): 432273.52302959596 +Consumed Energy (mWh): 120.07597861933222 +Avg power (mW): 723.732867677299 +Avg Current (mA): 143.5536967320101 +Avg Voltage (V): 5.041548104667642 + Thread : 0 - ThreadProcess id: 25990 +---------------------------------------- +Starting time: Sat, 18 Dec 2021 16:18:05 +0100 +Core id: 0 +Ending time: Sat, 18 Dec 2021 16:28:05 +0100 - Duration: 600019 seconds +Real workload: 4.689791238684032E10 - Integer reached: 129028 - Number of reset = 0 +Battery stats: 0 mAH +Computed Drain: Null +Start: 50 % - End: 50 +Cc_info at the beginning: 0 mAh +Cc_info at the end: 0 mAh +Cc_info variation: 0.0 mAh + +Thread : 1 - ThreadProcess id: 25991 +---------------------------------------- +Starting time: Sat, 18 Dec 2021 16:18:05 +0100 +Core id: 2 +Ending time: Sat, 18 Dec 2021 16:28:05 +0100 - Duration: 600004 seconds +Real workload: 4.707041373731773E10 - Integer reached: 129255 - Number of reset = 0 +Battery stats: 0 mAH +Computed Drain: Null +Start: 50 % - End: 50 +Cc_info at the beginning: 0 mAh +Cc_info at the end: 0 mAh +Cc_info variation: 0.0 mAh + + 23.826661712544205 9.39683e+10 2.53561e-10 0 0 +------ + +--- Final result to print to File + -------------------------------------------------------------------------------- + +++++ +++++ +++++ Configuration Description +-------------------------------------------------------------------------------- +Configuration: 101000-0-0 +phone format: 1,0,1,0,0,0,0,0 +Exact values of frequencies: [576000- 0- 576000- 0- 0- 0- 0- 0] + +Power meter results +------------------------------------------------------------ +time (s): 601.5276546478271 +Ins Current (mA):132.3879285711564 +Samples: 3000000 +Consumed Energy (mAs): 85775.98216515913 +Consumed Energy (mAh): 23.826661712544205 +Consumed Energy (mWs): 432273.52302959596 +Consumed Energy (mWh): 120.07597861933222 +Avg power (mW): 723.732867677299 +Avg Current (mA): 143.5536967320101 +Avg Voltage (V): 5.041548104667642 + +Threads results +------------------------------------------------------------ +Thread : 0 - ThreadProcess id: 25990 +---------------------------------------- +Starting time: Sat, 18 Dec 2021 16:18:05 +0100 +Core id: 0 +Ending time: Sat, 18 Dec 2021 16:28:05 +0100 - Duration: 600019 seconds +Real workload: 4.689791238684032E10 - Integer reached: 129028 - Number of reset = 0 +Battery stats: 0 mAH +Computed Drain: Null +Start: 50 % - End: 50 +Cc_info at the beginning: 0 mAh +Cc_info at the end: 0 mAh +Cc_info variation: 0.0 mAh + +Thread : 1 - ThreadProcess id: 25991 +---------------------------------------- +Starting time: Sat, 18 Dec 2021 16:18:05 +0100 +Core id: 2 +Ending time: Sat, 18 Dec 2021 16:28:05 +0100 - Duration: 600004 seconds +Real workload: 4.707041373731773E10 - Integer reached: 129255 - Number of reset = 0 +Battery stats: 0 mAH +Computed Drain: Null +Start: 50 % - End: 50 +Cc_info at the beginning: 0 mAh +Cc_info at the end: 0 mAh +Cc_info variation: 0.0 mAh + + +Expermiment results +------------------------------------------------------------ +Energy Consumed (mAh): 23.826661712544205 +Workload: 9.39683e+10 +Energy efficiency: 2.53561e-10 +-------------------------------------------------------------------------------- + + +--- Writing to the total result file +--- Removing previous tested configuration tmp_output folder +removed '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__03Oct22_18_01_22/app_output_folder/all_workloads.txt' +removed '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__03Oct22_18_01_22/app_output_folder/Thread_0_ended' +removed '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__03Oct22_18_01_22/app_output_folder/Thread_0_ready_for_sampling' +removed '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__03Oct22_18_01_22/app_output_folder/Thread_1_ended' +removed '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__03Oct22_18_01_22/app_output_folder/Thread_1_ready_for_sampling' +removed directory '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__03Oct22_18_01_22/app_output_folder' +removed '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__03Oct22_18_01_22/configuration_mesurement.csv' +removed '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__03Oct22_18_01_22/energy_power_workload_energyByWorkload_ccInfo' +removed '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__03Oct22_18_01_22/logcat_output' +removed '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__03Oct22_18_01_22/powermeter_summary.txt' +removed directory '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__03Oct22_18_01_22' +--- Moving the current experiment tmp_folder to the output result folder +writing a temporary file for the main script with format energy_power_workload_energyByWorkload_ccInfo +--- Obtaining experiment summary result to add to result folder +--- Experiment result, Energy consumed = 23.826661712544205 +--- Experiment result, Avg Power = 723.732867677299 +--- Experiment result, Total Workload = 9.39683e+10 +--- Experiment result, Energy Efficiency = 2.53561e-10 +--- Adding result to summary file +--- Starting cc information : 0 +--- Ending cc information : 0 +--- The file /mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/output_folder/summary.csv exists we just appending the result to the file +--- Experiments performed on configuration 101000-0-0. +--- Observing a pause betwenn experiment; pause duration : 180 seconds; starting at 03Oct22_18_14_09 +--- Performing experiments on configuration 101000-0-0 +--- Cleaning the tmp expermiment folder : /mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/last_tmp_expermiment_folder +--- Second step : verifying the battery level +--- Verifying the battery level +--- Getting current battery level, adb command path: /mnt/c/Program Files/Android/platform-tools_r33.0.1-windows/platform-tools/adb.exe +--- Current battery level : 50 +Current battery level: OKAY +--- Third step calibrating phone core frequency +--- Resetting all frequency configurations + -- Command used : echo schedutil > /sys/devices/system/cpu/cpu1/cpufreq/scaling_governor + -- Command used : echo schedutil > /sys/devices/system/cpu/cpu2/cpufreq/scaling_governor + -- Command used : echo schedutil > /sys/devices/system/cpu/cpu3/cpufreq/scaling_governor + -- Command used : echo schedutil > /sys/devices/system/cpu/cpu4/cpufreq/scaling_governor + -- Command used : echo schedutil > /sys/devices/system/cpu/cpu5/cpufreq/scaling_governor + -- Command used : echo schedutil > /sys/devices/system/cpu/cpu6/cpufreq/scaling_governor + -- Command used : echo schedutil > /sys/devices/system/cpu/cpu7/cpufreq/scaling_governor +--- Frequency level of core 0 is 1 +--- Exact frequency of core 0: 576000 +--- Modifying the governor of core 0 +--- Modifying the the current frequency of core 0 with frequency 576000 +--- Frequency level of core 1 is 0 +--- Exact frequency of core 1: 0 +--- Modifying the governor of core 1 +--- Modifying the the current frequency of core 1 with frequency 0 +--- Frequency level of core 2 is 1 +--- Exact frequency of core 2: 576000 +--- Modifying the governor of core 2 +--- Modifying the the current frequency of core 2 with frequency 576000 +--- Frequency level of core 3 is 0 +--- Exact frequency of core 3: 0 +--- Modifying the governor of core 3 +--- Modifying the the current frequency of core 3 with frequency 0 +--- Frequency level of core 4 is 0 +--- Exact frequency of core 4: 0 +--- Modifying the governor of core 4 +--- Modifying the the current frequency of core 4 with frequency 0 +--- Frequency level of core 5 is 0 +--- Exact frequency of core 5: 0 +--- Modifying the governor of core 5 +--- Modifying the the current frequency of core 5 with frequency 0 +--- Frequency level of core 6 is 0 +--- Exact frequency of core 6: 0 +--- Modifying the governor of core 6 +--- Modifying the the current frequency of core 6 with frequency 0 +--- Frequency level of core 7 is 0 +--- Exact frequency of core 7: 0 +--- Modifying the governor of core 7 +--- Modifying the the current frequency of core 7 with frequency 0 +--- Calibrating Monsoon power meter, please wait for 10 seconds... +powermeter script : --- Inside the monsoon_power_meter, arg function: 1 +powermeter script : calibration duration = 10 +powermeter script : Creating the Monsoon engine +powermeter script : Creating the Monsoon engine +powermeter script : Configuring channels the Monsoon engine +powermeter script : Configuring output to : C:\Users\lavoi\opportunist_task_on_android\scripts_valuable_files\experiment_automatization\last_tmp_expermiment_folder\configuration_mesurement.csv +powermeter script : Starting sampling; number of sample = 50000 + returning 50000 samples after experiments +powermeter script : Power meter calibration okay +--- Monsoon power meter Calibrated +--- starting the benchmarking app +## writing the configuration inside the phone file + --- Removing file /sdcard/experiments_automatization +rm '/sdcard/experiments_automatization/current_configuration.txt' +rm '/sdcard/experiments_automatization/experiment_duration.txt' +rm '/sdcard/experiments_automatization/app_output_folder/Thread_0_ready_for_sampling' +rm '/sdcard/experiments_automatization/app_output_folder/Thread_1_ready_for_sampling' +rm '/sdcard/experiments_automatization/app_output_folder/Thread_0_ended' +rm '/sdcard/experiments_automatization/app_output_folder/Thread_1_ended' +rmdir '/sdcard/experiments_automatization/app_output_folder' +rmdir '/sdcard/experiments_automatization' + --- Clearing the logcat + --- Creating file /sdcard/experiments_automatization +----- Uninstalling experiment app +Success +----- Installing experiment app +Performing Streamed Install +Success +------ Giving rights to experiment app +----- Starting experiment app +Starting: Intent { cmp=com.opportunistask.scheduling.benchmarking_app_to_test_big_cores/.MainActivity } +adb command : ps -A | grep com.opportunistask.scheduling.benchmarking_app_to_test_big_cores + ----- Experiment app started with pid: 26801 +---- waiting for benchmarking app thread to be pinned and to be ready +--- frequency level of core 0 is 1 +--- frequency level of core 1 is 0 +--- frequency level of core 2 is 1 +--- frequency level of core 3 is 0 +--- frequency level of core 4 is 0 +--- frequency level of core 5 is 0 +--- frequency level of core 6 is 0 +--- frequency level of core 7 is 0 +--- Number of cores to occupy = 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 2 +--- Now threads are running and the phone is ready to be sampled with the power meter \n--- Threads pids +Thread_0_ready_for_sampling +Thread_1_ready_for_sampling +--- Printing cc_info beginning datas (for the samsung galaxy s8) + --- Starting power meter sampling for about 600 seconds +--- Sampling with the Monsoon power meter +powermeter script : --- Inside the monsoon_power_meter, arg function: 2 +powermeter script : Experiment duration = 600 +powermeter script : Creating the Monsoon engine +powermeter script : Creating the Monsoon engine +powermeter script : Configuring channels the Monsoon engine +powermeter script : Configuring output to : C:\Users\lavoi\opportunist_task_on_android\scripts_valuable_files\experiment_automatization\last_tmp_expermiment_folder\configuration_mesurement.csv +powermeter script : Starting sampling; number of sample = 3000000 + returning 3000000 samples after experiments +powermeter script : Total nomber of sample measured : 3000000 +powermeter script : Computing powermeter summary result + Number of samples = 3000000 +powermeter script : We computed the energy on 600 samples +powermeter script : average_power = 730.1044749181781 +powermeter script : average_power with numpy arrays = 730.1044749181117 +powermeter script : Summary Result = time (s): 601.4407029151917 +Ins Current (mA):149.2573690486622 +Samples: 3000000 +Consumed Energy (mAs): 86598.27822425251 +Consumed Energy (mAh): 24.05507728451459 +Consumed Energy (mWs): 436369.72044286615 +Consumed Energy (mWh): 121.21381123412948 +Avg power (mW): 730.1044749181781 +Avg Current (mA): 144.8433849869864 +Avg Voltage (V): 5.040647696708932 +Exp Batt Life (hrs for 1000mAh battery): NOT COMPUTED +--- Monsoon power meter sampling is finished ! + --- experiment folder path /mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/last_tmp_expermiment_folder +--- frequency level of core 0 is 1 +--- frequency level of core 1 is 0 +--- frequency level of core 2 is 1 +--- frequency level of core 3 is 0 +--- frequency level of core 4 is 0 +--- frequency level of core 5 is 0 +--- frequency level of core 6 is 0 +--- frequency level of core 7 is 0 +--- Number of threads normally started = 2 +--- Number of thread ended: 2 +--- Now threads are stopped, getting the cc_info_level for samsung +--- Copying thread results locally +command /mnt/c/Program Files/Android/platform-tools_r33.0.1-windows/platform-tools/adb.exe pull /sdcard/experiments_automatization/app_output_folder C:\Users\lavoi\opportunist_task_on_android\scripts_valuable_files\experiment_automatization\last_tmp_expermiment_folder </dev/null +/sdcard/experiments_automatization/app_output_folder/: 4 files pulled, 0 skipped. 0.0 MB/s (907 bytes in 0.036s) +saving the logcat file to /mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/last_tmp_expermiment_folder -/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/last_tmp_expermiment_folder- +--- Parsing result from /mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/last_tmp_expermiment_folder to /mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/output_folder/raw_result.txt +--- Getting exact configuration with frequency +--- Configuration with frequencies = [576000- 0- 576000- 0- 0- 0- 0- 0] +--- Getting the powermeter summary +--- Powermeter summary: +time (s): 601.4407029151917 +Ins Current (mA):149.2573690486622 +Samples: 3000000 +Consumed Energy (mAs): 86598.27822425251 +Consumed Energy (mAh): 24.05507728451459 +Consumed Energy (mWs): 436369.72044286615 +Consumed Energy (mWh): 121.21381123412948 +Avg power (mW): 730.1044749181781 +Avg Current (mA): 144.8433849869864 +Avg Voltage (V): 5.040647696708932 + +--- Getting the total energy consumed of the google pixel +--- Energy consumed = 24.05507728451459 +--- Starting cc_info = 0 +--- Ending cc_info = 0 +--- Getting the average power +--- Avg Power = 730.1044749181781 +--- Printing the total threads summary +--- Thread results +Thread : 0 - ThreadProcess id: 26826 +---------------------------------------- +Starting time: Sat, 18 Dec 2021 16:33:54 +0100 +Core id: 0 +Ending time: Sat, 18 Dec 2021 16:43:54 +0100 - Duration: 600023 seconds +Real workload: 4.691765356520422E10 - Integer reached: 129054 - Number of reset = 0 +Battery stats: 0 mAH +Computed Drain: Null +Start: 50 % - End: 50 +Cc_info at the beginning: 0 mAh +Cc_info at the end: 0 mAh +Cc_info variation: 0.0 mAh + +Thread : 1 - ThreadProcess id: 26827 +---------------------------------------- +Starting time: Sat, 18 Dec 2021 16:33:54 +0100 +Core id: 2 +Ending time: Sat, 18 Dec 2021 16:43:54 +0100 - Duration: 600013 seconds +Real workload: 4.73049944851893E10 - Integer reached: 129563 - Number of reset = 0 +Battery stats: 0 mAH +Computed Drain: Null +Start: 50 % - End: 50 +Cc_info at the beginning: 0 mAh +Cc_info at the end: 0 mAh +Cc_info variation: 0.0 mAh + + +--- Counting the total workload command : print_total_workload /mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/last_tmp_expermiment_folder app_output_folder 1,0,1,0,0,0,0,0 /mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first +--- Total workload : 9.42226e+10 +--- Getting energy efficiency +--- Energy efficiency: 2.55301e-10 +--- Building what we will add to the total result file command +------ + (build_configuration_raw_result 101000-0-0 1,0,1,0,0,0,0,0 [576000- 0- 576000- 0- 0- 0- 0- 0] time (s): 601.4407029151917 +Ins Current (mA):149.2573690486622 +Samples: 3000000 +Consumed Energy (mAs): 86598.27822425251 +Consumed Energy (mAh): 24.05507728451459 +Consumed Energy (mWs): 436369.72044286615 +Consumed Energy (mWh): 121.21381123412948 +Avg power (mW): 730.1044749181781 +Avg Current (mA): 144.8433849869864 +Avg Voltage (V): 5.040647696708932 + Thread : 0 - ThreadProcess id: 26826 +---------------------------------------- +Starting time: Sat, 18 Dec 2021 16:33:54 +0100 +Core id: 0 +Ending time: Sat, 18 Dec 2021 16:43:54 +0100 - Duration: 600023 seconds +Real workload: 4.691765356520422E10 - Integer reached: 129054 - Number of reset = 0 +Battery stats: 0 mAH +Computed Drain: Null +Start: 50 % - End: 50 +Cc_info at the beginning: 0 mAh +Cc_info at the end: 0 mAh +Cc_info variation: 0.0 mAh + +Thread : 1 - ThreadProcess id: 26827 +---------------------------------------- +Starting time: Sat, 18 Dec 2021 16:33:54 +0100 +Core id: 2 +Ending time: Sat, 18 Dec 2021 16:43:54 +0100 - Duration: 600013 seconds +Real workload: 4.73049944851893E10 - Integer reached: 129563 - Number of reset = 0 +Battery stats: 0 mAH +Computed Drain: Null +Start: 50 % - End: 50 +Cc_info at the beginning: 0 mAh +Cc_info at the end: 0 mAh +Cc_info variation: 0.0 mAh + + 24.05507728451459 9.42226e+10 2.55301e-10 0 0 +------ + +--- Final result to print to File + -------------------------------------------------------------------------------- + +++++ +++++ +++++ Configuration Description +-------------------------------------------------------------------------------- +Configuration: 101000-0-0 +phone format: 1,0,1,0,0,0,0,0 +Exact values of frequencies: [576000- 0- 576000- 0- 0- 0- 0- 0] + +Power meter results +------------------------------------------------------------ +time (s): 601.4407029151917 +Ins Current (mA):149.2573690486622 +Samples: 3000000 +Consumed Energy (mAs): 86598.27822425251 +Consumed Energy (mAh): 24.05507728451459 +Consumed Energy (mWs): 436369.72044286615 +Consumed Energy (mWh): 121.21381123412948 +Avg power (mW): 730.1044749181781 +Avg Current (mA): 144.8433849869864 +Avg Voltage (V): 5.040647696708932 + +Threads results +------------------------------------------------------------ +Thread : 0 - ThreadProcess id: 26826 +---------------------------------------- +Starting time: Sat, 18 Dec 2021 16:33:54 +0100 +Core id: 0 +Ending time: Sat, 18 Dec 2021 16:43:54 +0100 - Duration: 600023 seconds +Real workload: 4.691765356520422E10 - Integer reached: 129054 - Number of reset = 0 +Battery stats: 0 mAH +Computed Drain: Null +Start: 50 % - End: 50 +Cc_info at the beginning: 0 mAh +Cc_info at the end: 0 mAh +Cc_info variation: 0.0 mAh + +Thread : 1 - ThreadProcess id: 26827 +---------------------------------------- +Starting time: Sat, 18 Dec 2021 16:33:54 +0100 +Core id: 2 +Ending time: Sat, 18 Dec 2021 16:43:54 +0100 - Duration: 600013 seconds +Real workload: 4.73049944851893E10 - Integer reached: 129563 - Number of reset = 0 +Battery stats: 0 mAH +Computed Drain: Null +Start: 50 % - End: 50 +Cc_info at the beginning: 0 mAh +Cc_info at the end: 0 mAh +Cc_info variation: 0.0 mAh + + +Expermiment results +------------------------------------------------------------ +Energy Consumed (mAh): 24.05507728451459 +Workload: 9.42226e+10 +Energy efficiency: 2.55301e-10 +-------------------------------------------------------------------------------- + + +--- Writing to the total result file +--- Removing previous tested configuration tmp_output folder +removed '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__03Oct22_18_17_11/app_output_folder/all_workloads.txt' +removed '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__03Oct22_18_17_11/app_output_folder/Thread_0_ended' +removed '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__03Oct22_18_17_11/app_output_folder/Thread_0_ready_for_sampling' +removed '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__03Oct22_18_17_11/app_output_folder/Thread_1_ended' +removed '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__03Oct22_18_17_11/app_output_folder/Thread_1_ready_for_sampling' +removed directory '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__03Oct22_18_17_11/app_output_folder' +removed '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__03Oct22_18_17_11/configuration_mesurement.csv' +removed '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__03Oct22_18_17_11/energy_power_workload_energyByWorkload_ccInfo' +removed '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__03Oct22_18_17_11/logcat_output' +removed '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__03Oct22_18_17_11/powermeter_summary.txt' +removed directory '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__03Oct22_18_17_11' +--- Moving the current experiment tmp_folder to the output result folder +writing a temporary file for the main script with format energy_power_workload_energyByWorkload_ccInfo +--- Obtaining experiment summary result to add to result folder +--- Experiment result, Energy consumed = 24.05507728451459 +--- Experiment result, Avg Power = 730.1044749181781 +--- Experiment result, Total Workload = 9.42226e+10 +--- Experiment result, Energy Efficiency = 2.55301e-10 +--- Adding result to summary file +--- Starting cc information : 0 +--- Ending cc information : 0 +--- The file /mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/output_folder/summary.csv exists we just appending the result to the file +--- Experiments performed on configuration 101000-0-0. +--- Observing a pause betwenn experiment; pause duration : 180 seconds; starting at 03Oct22_18_29_58 +--- Performing experiments on configuration 110000-0-0 +--- Cleaning the tmp expermiment folder : /mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/last_tmp_expermiment_folder +--- Second step : verifying the battery level +--- Verifying the battery level +--- Getting current battery level, adb command path: /mnt/c/Program Files/Android/platform-tools_r33.0.1-windows/platform-tools/adb.exe +--- Current battery level : 50 +Current battery level: OKAY +--- Third step calibrating phone core frequency +--- Resetting all frequency configurations + -- Command used : echo schedutil > /sys/devices/system/cpu/cpu1/cpufreq/scaling_governor + -- Command used : echo schedutil > /sys/devices/system/cpu/cpu2/cpufreq/scaling_governor + -- Command used : echo schedutil > /sys/devices/system/cpu/cpu3/cpufreq/scaling_governor + -- Command used : echo schedutil > /sys/devices/system/cpu/cpu4/cpufreq/scaling_governor + -- Command used : echo schedutil > /sys/devices/system/cpu/cpu5/cpufreq/scaling_governor + -- Command used : echo schedutil > /sys/devices/system/cpu/cpu6/cpufreq/scaling_governor + -- Command used : echo schedutil > /sys/devices/system/cpu/cpu7/cpufreq/scaling_governor +--- Frequency level of core 0 is 1 +--- Exact frequency of core 0: 576000 +--- Modifying the governor of core 0 +--- Modifying the the current frequency of core 0 with frequency 576000 +--- Frequency level of core 1 is 1 +--- Exact frequency of core 1: 576000 +--- Modifying the governor of core 1 +--- Modifying the the current frequency of core 1 with frequency 576000 +--- Frequency level of core 2 is 0 +--- Exact frequency of core 2: 0 +--- Modifying the governor of core 2 +--- Modifying the the current frequency of core 2 with frequency 0 +--- Frequency level of core 3 is 0 +--- Exact frequency of core 3: 0 +--- Modifying the governor of core 3 +--- Modifying the the current frequency of core 3 with frequency 0 +--- Frequency level of core 4 is 0 +--- Exact frequency of core 4: 0 +--- Modifying the governor of core 4 +--- Modifying the the current frequency of core 4 with frequency 0 +--- Frequency level of core 5 is 0 +--- Exact frequency of core 5: 0 +--- Modifying the governor of core 5 +--- Modifying the the current frequency of core 5 with frequency 0 +--- Frequency level of core 6 is 0 +--- Exact frequency of core 6: 0 +--- Modifying the governor of core 6 +--- Modifying the the current frequency of core 6 with frequency 0 +--- Frequency level of core 7 is 0 +--- Exact frequency of core 7: 0 +--- Modifying the governor of core 7 +--- Modifying the the current frequency of core 7 with frequency 0 +--- Calibrating Monsoon power meter, please wait for 10 seconds... +powermeter script : --- Inside the monsoon_power_meter, arg function: 1 +powermeter script : calibration duration = 10 +powermeter script : Creating the Monsoon engine +powermeter script : Creating the Monsoon engine +powermeter script : Configuring channels the Monsoon engine +powermeter script : Configuring output to : C:\Users\lavoi\opportunist_task_on_android\scripts_valuable_files\experiment_automatization\last_tmp_expermiment_folder\configuration_mesurement.csv +powermeter script : Starting sampling; number of sample = 50000 + returning 50000 samples after experiments +powermeter script : Power meter calibration okay +--- Monsoon power meter Calibrated +--- starting the benchmarking app +## writing the configuration inside the phone file + --- Removing file /sdcard/experiments_automatization +rm '/sdcard/experiments_automatization/current_configuration.txt' +rm '/sdcard/experiments_automatization/experiment_duration.txt' +rm '/sdcard/experiments_automatization/app_output_folder/Thread_0_ready_for_sampling' +rm '/sdcard/experiments_automatization/app_output_folder/Thread_1_ready_for_sampling' +rm '/sdcard/experiments_automatization/app_output_folder/Thread_0_ended' +rm '/sdcard/experiments_automatization/app_output_folder/Thread_1_ended' +rmdir '/sdcard/experiments_automatization/app_output_folder' +rmdir '/sdcard/experiments_automatization' + --- Clearing the logcat + --- Creating file /sdcard/experiments_automatization +----- Uninstalling experiment app +Success +----- Installing experiment app +Performing Streamed Install +Success +------ Giving rights to experiment app +----- Starting experiment app +Starting: Intent { cmp=com.opportunistask.scheduling.benchmarking_app_to_test_big_cores/.MainActivity } +adb command : ps -A | grep com.opportunistask.scheduling.benchmarking_app_to_test_big_cores + ----- Experiment app started with pid: 27659 +---- waiting for benchmarking app thread to be pinned and to be ready +--- frequency level of core 0 is 1 +--- frequency level of core 1 is 1 +--- frequency level of core 2 is 0 +--- frequency level of core 3 is 0 +--- frequency level of core 4 is 0 +--- frequency level of core 5 is 0 +--- frequency level of core 6 is 0 +--- frequency level of core 7 is 0 +--- Number of cores to occupy = 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 2 +--- Now threads are running and the phone is ready to be sampled with the power meter \n--- Threads pids +Thread_0_ready_for_sampling +Thread_1_ready_for_sampling +--- Printing cc_info beginning datas (for the samsung galaxy s8) + --- Starting power meter sampling for about 600 seconds +--- Sampling with the Monsoon power meter +powermeter script : --- Inside the monsoon_power_meter, arg function: 2 +powermeter script : Experiment duration = 600 +powermeter script : Creating the Monsoon engine +powermeter script : Creating the Monsoon engine +powermeter script : Configuring channels the Monsoon engine +powermeter script : Configuring output to : C:\Users\lavoi\opportunist_task_on_android\scripts_valuable_files\experiment_automatization\last_tmp_expermiment_folder\configuration_mesurement.csv +powermeter script : Starting sampling; number of sample = 3000000 + returning 3000000 samples after experiments +powermeter script : Total nomber of sample measured : 3000000 +powermeter script : Computing powermeter summary result + Number of samples = 3000000 +powermeter script : We computed the energy on 600 samples +powermeter script : average_power = 729.2341965500051 +powermeter script : average_power with numpy arrays = 729.2341965499489 +powermeter script : Summary Result = time (s): 601.294896364212 +Ins Current (mA):141.0731269644728 +Samples: 3000000 +Consumed Energy (mAs): 87927.09363363586 +Consumed Energy (mAh): 24.42419267600996 +Consumed Energy (mWs): 442935.55367367703 +Consumed Energy (mWh): 123.03765379824362 +Avg power (mW): 729.2341965500051 +Avg Current (mA): 144.6663803217811 +Avg Voltage (V): 5.0407993545423 +Exp Batt Life (hrs for 1000mAh battery): NOT COMPUTED +--- Monsoon power meter sampling is finished ! + --- experiment folder path /mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/last_tmp_expermiment_folder +--- frequency level of core 0 is 1 +--- frequency level of core 1 is 1 +--- frequency level of core 2 is 0 +--- frequency level of core 3 is 0 +--- frequency level of core 4 is 0 +--- frequency level of core 5 is 0 +--- frequency level of core 6 is 0 +--- frequency level of core 7 is 0 +--- Number of threads normally started = 2 +--- Number of thread ended: 2 +--- Now threads are stopped, getting the cc_info_level for samsung +--- Copying thread results locally +command /mnt/c/Program Files/Android/platform-tools_r33.0.1-windows/platform-tools/adb.exe pull /sdcard/experiments_automatization/app_output_folder C:\Users\lavoi\opportunist_task_on_android\scripts_valuable_files\experiment_automatization\last_tmp_expermiment_folder </dev/null +/sdcard/experiments_automatization/app_output_folder/: 4 files pulled, 0 skipped. 0.0 MB/s (909 bytes in 0.046s) +saving the logcat file to /mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/last_tmp_expermiment_folder -/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/last_tmp_expermiment_folder- +--- Parsing result from /mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/last_tmp_expermiment_folder to /mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/output_folder/raw_result.txt +--- Getting exact configuration with frequency +--- Configuration with frequencies = [576000- 576000- 0- 0- 0- 0- 0- 0] +--- Getting the powermeter summary +--- Powermeter summary: +time (s): 601.294896364212 +Ins Current (mA):141.0731269644728 +Samples: 3000000 +Consumed Energy (mAs): 87927.09363363586 +Consumed Energy (mAh): 24.42419267600996 +Consumed Energy (mWs): 442935.55367367703 +Consumed Energy (mWh): 123.03765379824362 +Avg power (mW): 729.2341965500051 +Avg Current (mA): 144.6663803217811 +Avg Voltage (V): 5.0407993545423 + +--- Getting the total energy consumed of the google pixel +--- Energy consumed = 24.42419267600996 +--- Starting cc_info = 0 +--- Ending cc_info = 0 +--- Getting the average power +--- Avg Power = 729.2341965500051 +--- Printing the total threads summary +--- Thread results +Thread : 0 - ThreadProcess id: 27684 +---------------------------------------- +Starting time: Sat, 18 Dec 2021 16:49:43 +0100 +Core id: 0 +Ending time: Sat, 18 Dec 2021 16:59:43 +0100 - Duration: 600011 seconds +Real workload: 4.6655297379333176E10 - Integer reached: 128708 - Number of reset = 0 +Battery stats: 0 mAH +Computed Drain: Null +Start: 50 % - End: 50 +Cc_info at the beginning: 0 mAh +Cc_info at the end: 0 mAh +Cc_info variation: 0.0 mAh + +Thread : 1 - ThreadProcess id: 27685 +---------------------------------------- +Starting time: Sat, 18 Dec 2021 16:49:43 +0100 +Core id: 1 +Ending time: Sat, 18 Dec 2021 16:59:43 +0100 - Duration: 600009 seconds +Real workload: 4.663788460833303E10 - Integer reached: 128685 - Number of reset = 0 +Battery stats: 0 mAH +Computed Drain: Null +Start: 50 % - End: 50 +Cc_info at the beginning: 0 mAh +Cc_info at the end: 0 mAh +Cc_info variation: 0.0 mAh + + +--- Counting the total workload command : print_total_workload /mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/last_tmp_expermiment_folder app_output_folder 1,1,0,0,0,0,0,0 /mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first +--- Total workload : 9.32932e+10 +--- Getting energy efficiency +--- Energy efficiency: 2.618e-10 +--- Building what we will add to the total result file command +------ + (build_configuration_raw_result 110000-0-0 1,1,0,0,0,0,0,0 [576000- 576000- 0- 0- 0- 0- 0- 0] time (s): 601.294896364212 +Ins Current (mA):141.0731269644728 +Samples: 3000000 +Consumed Energy (mAs): 87927.09363363586 +Consumed Energy (mAh): 24.42419267600996 +Consumed Energy (mWs): 442935.55367367703 +Consumed Energy (mWh): 123.03765379824362 +Avg power (mW): 729.2341965500051 +Avg Current (mA): 144.6663803217811 +Avg Voltage (V): 5.0407993545423 + Thread : 0 - ThreadProcess id: 27684 +---------------------------------------- +Starting time: Sat, 18 Dec 2021 16:49:43 +0100 +Core id: 0 +Ending time: Sat, 18 Dec 2021 16:59:43 +0100 - Duration: 600011 seconds +Real workload: 4.6655297379333176E10 - Integer reached: 128708 - Number of reset = 0 +Battery stats: 0 mAH +Computed Drain: Null +Start: 50 % - End: 50 +Cc_info at the beginning: 0 mAh +Cc_info at the end: 0 mAh +Cc_info variation: 0.0 mAh + +Thread : 1 - ThreadProcess id: 27685 +---------------------------------------- +Starting time: Sat, 18 Dec 2021 16:49:43 +0100 +Core id: 1 +Ending time: Sat, 18 Dec 2021 16:59:43 +0100 - Duration: 600009 seconds +Real workload: 4.663788460833303E10 - Integer reached: 128685 - Number of reset = 0 +Battery stats: 0 mAH +Computed Drain: Null +Start: 50 % - End: 50 +Cc_info at the beginning: 0 mAh +Cc_info at the end: 0 mAh +Cc_info variation: 0.0 mAh + + 24.42419267600996 9.32932e+10 2.618e-10 0 0 +------ + +--- Final result to print to File + -------------------------------------------------------------------------------- + +++++ +++++ +++++ Configuration Description +-------------------------------------------------------------------------------- +Configuration: 110000-0-0 +phone format: 1,1,0,0,0,0,0,0 +Exact values of frequencies: [576000- 576000- 0- 0- 0- 0- 0- 0] + +Power meter results +------------------------------------------------------------ +time (s): 601.294896364212 +Ins Current (mA):141.0731269644728 +Samples: 3000000 +Consumed Energy (mAs): 87927.09363363586 +Consumed Energy (mAh): 24.42419267600996 +Consumed Energy (mWs): 442935.55367367703 +Consumed Energy (mWh): 123.03765379824362 +Avg power (mW): 729.2341965500051 +Avg Current (mA): 144.6663803217811 +Avg Voltage (V): 5.0407993545423 + +Threads results +------------------------------------------------------------ +Thread : 0 - ThreadProcess id: 27684 +---------------------------------------- +Starting time: Sat, 18 Dec 2021 16:49:43 +0100 +Core id: 0 +Ending time: Sat, 18 Dec 2021 16:59:43 +0100 - Duration: 600011 seconds +Real workload: 4.6655297379333176E10 - Integer reached: 128708 - Number of reset = 0 +Battery stats: 0 mAH +Computed Drain: Null +Start: 50 % - End: 50 +Cc_info at the beginning: 0 mAh +Cc_info at the end: 0 mAh +Cc_info variation: 0.0 mAh + +Thread : 1 - ThreadProcess id: 27685 +---------------------------------------- +Starting time: Sat, 18 Dec 2021 16:49:43 +0100 +Core id: 1 +Ending time: Sat, 18 Dec 2021 16:59:43 +0100 - Duration: 600009 seconds +Real workload: 4.663788460833303E10 - Integer reached: 128685 - Number of reset = 0 +Battery stats: 0 mAH +Computed Drain: Null +Start: 50 % - End: 50 +Cc_info at the beginning: 0 mAh +Cc_info at the end: 0 mAh +Cc_info variation: 0.0 mAh + + +Expermiment results +------------------------------------------------------------ +Energy Consumed (mAh): 24.42419267600996 +Workload: 9.32932e+10 +Energy efficiency: 2.618e-10 +-------------------------------------------------------------------------------- + + +--- Writing to the total result file +--- Removing previous tested configuration tmp_output folder +removed '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__03Oct22_18_33_00/app_output_folder/all_workloads.txt' +removed '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__03Oct22_18_33_00/app_output_folder/Thread_0_ended' +removed '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__03Oct22_18_33_00/app_output_folder/Thread_0_ready_for_sampling' +removed '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__03Oct22_18_33_00/app_output_folder/Thread_1_ended' +removed '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__03Oct22_18_33_00/app_output_folder/Thread_1_ready_for_sampling' +removed directory '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__03Oct22_18_33_00/app_output_folder' +removed '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__03Oct22_18_33_00/configuration_mesurement.csv' +removed '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__03Oct22_18_33_00/energy_power_workload_energyByWorkload_ccInfo' +removed '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__03Oct22_18_33_00/logcat_output' +removed '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__03Oct22_18_33_00/powermeter_summary.txt' +removed directory '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__03Oct22_18_33_00' +--- Moving the current experiment tmp_folder to the output result folder +writing a temporary file for the main script with format energy_power_workload_energyByWorkload_ccInfo +--- Obtaining experiment summary result to add to result folder +--- Experiment result, Energy consumed = 24.42419267600996 +--- Experiment result, Avg Power = 729.2341965500051 +--- Experiment result, Total Workload = 9.32932e+10 +--- Experiment result, Energy Efficiency = 2.618e-10 +--- Adding result to summary file +--- Starting cc information : 0 +--- Ending cc information : 0 +--- The file /mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/output_folder/summary.csv exists we just appending the result to the file +--- Experiments performed on configuration 110000-0-0. +--- Observing a pause betwenn experiment; pause duration : 180 seconds; starting at 03Oct22_18_45_46 +--- Performing experiments on configuration 110000-0-0 +--- Cleaning the tmp expermiment folder : /mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/last_tmp_expermiment_folder +--- Second step : verifying the battery level +--- Verifying the battery level +--- Getting current battery level, adb command path: /mnt/c/Program Files/Android/platform-tools_r33.0.1-windows/platform-tools/adb.exe +--- Current battery level : 50 +Current battery level: OKAY +--- Third step calibrating phone core frequency +--- Resetting all frequency configurations + -- Command used : echo schedutil > /sys/devices/system/cpu/cpu1/cpufreq/scaling_governor + -- Command used : echo schedutil > /sys/devices/system/cpu/cpu2/cpufreq/scaling_governor + -- Command used : echo schedutil > /sys/devices/system/cpu/cpu3/cpufreq/scaling_governor + -- Command used : echo schedutil > /sys/devices/system/cpu/cpu4/cpufreq/scaling_governor + -- Command used : echo schedutil > /sys/devices/system/cpu/cpu5/cpufreq/scaling_governor + -- Command used : echo schedutil > /sys/devices/system/cpu/cpu6/cpufreq/scaling_governor + -- Command used : echo schedutil > /sys/devices/system/cpu/cpu7/cpufreq/scaling_governor +--- Frequency level of core 0 is 1 +--- Exact frequency of core 0: 576000 +--- Modifying the governor of core 0 +--- Modifying the the current frequency of core 0 with frequency 576000 +--- Frequency level of core 1 is 1 +--- Exact frequency of core 1: 576000 +--- Modifying the governor of core 1 +--- Modifying the the current frequency of core 1 with frequency 576000 +--- Frequency level of core 2 is 0 +--- Exact frequency of core 2: 0 +--- Modifying the governor of core 2 +--- Modifying the the current frequency of core 2 with frequency 0 +--- Frequency level of core 3 is 0 +--- Exact frequency of core 3: 0 +--- Modifying the governor of core 3 +--- Modifying the the current frequency of core 3 with frequency 0 +--- Frequency level of core 4 is 0 +--- Exact frequency of core 4: 0 +--- Modifying the governor of core 4 +--- Modifying the the current frequency of core 4 with frequency 0 +--- Frequency level of core 5 is 0 +--- Exact frequency of core 5: 0 +--- Modifying the governor of core 5 +--- Modifying the the current frequency of core 5 with frequency 0 +--- Frequency level of core 6 is 0 +--- Exact frequency of core 6: 0 +--- Modifying the governor of core 6 +--- Modifying the the current frequency of core 6 with frequency 0 +--- Frequency level of core 7 is 0 +--- Exact frequency of core 7: 0 +--- Modifying the governor of core 7 +--- Modifying the the current frequency of core 7 with frequency 0 +--- Calibrating Monsoon power meter, please wait for 10 seconds... +powermeter script : --- Inside the monsoon_power_meter, arg function: 1 +powermeter script : calibration duration = 10 +powermeter script : Creating the Monsoon engine +powermeter script : Creating the Monsoon engine +powermeter script : Configuring channels the Monsoon engine +powermeter script : Configuring output to : C:\Users\lavoi\opportunist_task_on_android\scripts_valuable_files\experiment_automatization\last_tmp_expermiment_folder\configuration_mesurement.csv +powermeter script : Starting sampling; number of sample = 50000 + returning 50000 samples after experiments +powermeter script : Power meter calibration okay +--- Monsoon power meter Calibrated +--- starting the benchmarking app +## writing the configuration inside the phone file + --- Removing file /sdcard/experiments_automatization +rm '/sdcard/experiments_automatization/current_configuration.txt' +rm '/sdcard/experiments_automatization/experiment_duration.txt' +rm '/sdcard/experiments_automatization/app_output_folder/Thread_0_ready_for_sampling' +rm '/sdcard/experiments_automatization/app_output_folder/Thread_1_ready_for_sampling' +rm '/sdcard/experiments_automatization/app_output_folder/Thread_0_ended' +rm '/sdcard/experiments_automatization/app_output_folder/Thread_1_ended' +rmdir '/sdcard/experiments_automatization/app_output_folder' +rmdir '/sdcard/experiments_automatization' + --- Clearing the logcat + --- Creating file /sdcard/experiments_automatization +----- Uninstalling experiment app +Success +----- Installing experiment app +Performing Streamed Install +Success +------ Giving rights to experiment app +----- Starting experiment app +Starting: Intent { cmp=com.opportunistask.scheduling.benchmarking_app_to_test_big_cores/.MainActivity } +adb command : ps -A | grep com.opportunistask.scheduling.benchmarking_app_to_test_big_cores + ----- Experiment app started with pid: 28488 +---- waiting for benchmarking app thread to be pinned and to be ready +--- frequency level of core 0 is 1 +--- frequency level of core 1 is 1 +--- frequency level of core 2 is 0 +--- frequency level of core 3 is 0 +--- frequency level of core 4 is 0 +--- frequency level of core 5 is 0 +--- frequency level of core 6 is 0 +--- frequency level of core 7 is 0 +--- Number of cores to occupy = 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 2 +--- Now threads are running and the phone is ready to be sampled with the power meter \n--- Threads pids +Thread_0_ready_for_sampling +Thread_1_ready_for_sampling +--- Printing cc_info beginning datas (for the samsung galaxy s8) + --- Starting power meter sampling for about 600 seconds +--- Sampling with the Monsoon power meter +powermeter script : --- Inside the monsoon_power_meter, arg function: 2 +powermeter script : Experiment duration = 600 +powermeter script : Creating the Monsoon engine +powermeter script : Creating the Monsoon engine +powermeter script : Configuring channels the Monsoon engine +powermeter script : Configuring output to : C:\Users\lavoi\opportunist_task_on_android\scripts_valuable_files\experiment_automatization\last_tmp_expermiment_folder\configuration_mesurement.csv +powermeter script : Starting sampling; number of sample = 3000000 + returning 3000000 samples after experiments +powermeter script : Total nomber of sample measured : 3000000 +powermeter script : Computing powermeter summary result + Number of samples = 3000000 +powermeter script : We computed the energy on 600 samples +powermeter script : average_power = 733.4804599940842 +powermeter script : average_power with numpy arrays = 733.4804599939645 +powermeter script : Summary Result = time (s): 601.4140269756317 +Ins Current (mA):135.8995028287331 +Samples: 3000000 +Consumed Energy (mAs): 86375.62317988437 +Consumed Energy (mAh): 23.99322866107899 +Consumed Energy (mWs): 435197.2996275151 +Consumed Energy (mWh): 120.88813878542085 +Avg power (mW): 733.4804599940842 +Avg Current (mA): 145.52565080598478 +Avg Voltage (V): 5.040214257292431 +Exp Batt Life (hrs for 1000mAh battery): NOT COMPUTED +--- Monsoon power meter sampling is finished ! + --- experiment folder path /mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/last_tmp_expermiment_folder +--- frequency level of core 0 is 1 +--- frequency level of core 1 is 1 +--- frequency level of core 2 is 0 +--- frequency level of core 3 is 0 +--- frequency level of core 4 is 0 +--- frequency level of core 5 is 0 +--- frequency level of core 6 is 0 +--- frequency level of core 7 is 0 +--- Number of threads normally started = 2 +--- Number of thread ended: 2 +--- Now threads are stopped, getting the cc_info_level for samsung +--- Copying thread results locally +command /mnt/c/Program Files/Android/platform-tools_r33.0.1-windows/platform-tools/adb.exe pull /sdcard/experiments_automatization/app_output_folder C:\Users\lavoi\opportunist_task_on_android\scripts_valuable_files\experiment_automatization\last_tmp_expermiment_folder </dev/null +/sdcard/experiments_automatization/app_output_folder/: 4 files pulled, 0 skipped. 0.0 MB/s (908 bytes in 0.030s) +saving the logcat file to /mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/last_tmp_expermiment_folder -/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/last_tmp_expermiment_folder- +--- Parsing result from /mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/last_tmp_expermiment_folder to /mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/output_folder/raw_result.txt +--- Getting exact configuration with frequency +--- Configuration with frequencies = [576000- 576000- 0- 0- 0- 0- 0- 0] +--- Getting the powermeter summary +--- Powermeter summary: +time (s): 601.4140269756317 +Ins Current (mA):135.8995028287331 +Samples: 3000000 +Consumed Energy (mAs): 86375.62317988437 +Consumed Energy (mAh): 23.99322866107899 +Consumed Energy (mWs): 435197.2996275151 +Consumed Energy (mWh): 120.88813878542085 +Avg power (mW): 733.4804599940842 +Avg Current (mA): 145.52565080598478 +Avg Voltage (V): 5.040214257292431 + +--- Getting the total energy consumed of the google pixel +--- Energy consumed = 23.99322866107899 +--- Starting cc_info = 0 +--- Ending cc_info = 0 +--- Getting the average power +--- Avg Power = 733.4804599940842 +--- Printing the total threads summary +--- Thread results +Thread : 0 - ThreadProcess id: 28513 +---------------------------------------- +Starting time: Sat, 18 Dec 2021 17:05:30 +0100 +Core id: 0 +Ending time: Sat, 18 Dec 2021 17:15:31 +0100 - Duration: 600007 seconds +Real workload: 4.646469808260458E10 - Integer reached: 128456 - Number of reset = 0 +Battery stats: 0 mAH +Computed Drain: Null +Start: 50 % - End: 50 +Cc_info at the beginning: 0 mAh +Cc_info at the end: 0 mAh +Cc_info variation: 0.0 mAh + +Thread : 1 - ThreadProcess id: 28514 +---------------------------------------- +Starting time: Sat, 18 Dec 2021 17:05:31 +0100 +Core id: 1 +Ending time: Sat, 18 Dec 2021 17:15:31 +0100 - Duration: 600010 seconds +Real workload: 4.679851284868877E10 - Integer reached: 128897 - Number of reset = 0 +Battery stats: 0 mAH +Computed Drain: Null +Start: 50 % - End: 50 +Cc_info at the beginning: 0 mAh +Cc_info at the end: 0 mAh +Cc_info variation: 0.0 mAh + + +--- Counting the total workload command : print_total_workload /mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/last_tmp_expermiment_folder app_output_folder 1,1,0,0,0,0,0,0 /mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first +--- Total workload : 9.32632e+10 +--- Getting energy efficiency +--- Energy efficiency: 2.57264e-10 +--- Building what we will add to the total result file command +------ + (build_configuration_raw_result 110000-0-0 1,1,0,0,0,0,0,0 [576000- 576000- 0- 0- 0- 0- 0- 0] time (s): 601.4140269756317 +Ins Current (mA):135.8995028287331 +Samples: 3000000 +Consumed Energy (mAs): 86375.62317988437 +Consumed Energy (mAh): 23.99322866107899 +Consumed Energy (mWs): 435197.2996275151 +Consumed Energy (mWh): 120.88813878542085 +Avg power (mW): 733.4804599940842 +Avg Current (mA): 145.52565080598478 +Avg Voltage (V): 5.040214257292431 + Thread : 0 - ThreadProcess id: 28513 +---------------------------------------- +Starting time: Sat, 18 Dec 2021 17:05:30 +0100 +Core id: 0 +Ending time: Sat, 18 Dec 2021 17:15:31 +0100 - Duration: 600007 seconds +Real workload: 4.646469808260458E10 - Integer reached: 128456 - Number of reset = 0 +Battery stats: 0 mAH +Computed Drain: Null +Start: 50 % - End: 50 +Cc_info at the beginning: 0 mAh +Cc_info at the end: 0 mAh +Cc_info variation: 0.0 mAh + +Thread : 1 - ThreadProcess id: 28514 +---------------------------------------- +Starting time: Sat, 18 Dec 2021 17:05:31 +0100 +Core id: 1 +Ending time: Sat, 18 Dec 2021 17:15:31 +0100 - Duration: 600010 seconds +Real workload: 4.679851284868877E10 - Integer reached: 128897 - Number of reset = 0 +Battery stats: 0 mAH +Computed Drain: Null +Start: 50 % - End: 50 +Cc_info at the beginning: 0 mAh +Cc_info at the end: 0 mAh +Cc_info variation: 0.0 mAh + + 23.99322866107899 9.32632e+10 2.57264e-10 0 0 +------ + +--- Final result to print to File + -------------------------------------------------------------------------------- + +++++ +++++ +++++ Configuration Description +-------------------------------------------------------------------------------- +Configuration: 110000-0-0 +phone format: 1,1,0,0,0,0,0,0 +Exact values of frequencies: [576000- 576000- 0- 0- 0- 0- 0- 0] + +Power meter results +------------------------------------------------------------ +time (s): 601.4140269756317 +Ins Current (mA):135.8995028287331 +Samples: 3000000 +Consumed Energy (mAs): 86375.62317988437 +Consumed Energy (mAh): 23.99322866107899 +Consumed Energy (mWs): 435197.2996275151 +Consumed Energy (mWh): 120.88813878542085 +Avg power (mW): 733.4804599940842 +Avg Current (mA): 145.52565080598478 +Avg Voltage (V): 5.040214257292431 + +Threads results +------------------------------------------------------------ +Thread : 0 - ThreadProcess id: 28513 +---------------------------------------- +Starting time: Sat, 18 Dec 2021 17:05:30 +0100 +Core id: 0 +Ending time: Sat, 18 Dec 2021 17:15:31 +0100 - Duration: 600007 seconds +Real workload: 4.646469808260458E10 - Integer reached: 128456 - Number of reset = 0 +Battery stats: 0 mAH +Computed Drain: Null +Start: 50 % - End: 50 +Cc_info at the beginning: 0 mAh +Cc_info at the end: 0 mAh +Cc_info variation: 0.0 mAh + +Thread : 1 - ThreadProcess id: 28514 +---------------------------------------- +Starting time: Sat, 18 Dec 2021 17:05:31 +0100 +Core id: 1 +Ending time: Sat, 18 Dec 2021 17:15:31 +0100 - Duration: 600010 seconds +Real workload: 4.679851284868877E10 - Integer reached: 128897 - Number of reset = 0 +Battery stats: 0 mAH +Computed Drain: Null +Start: 50 % - End: 50 +Cc_info at the beginning: 0 mAh +Cc_info at the end: 0 mAh +Cc_info variation: 0.0 mAh + + +Expermiment results +------------------------------------------------------------ +Energy Consumed (mAh): 23.99322866107899 +Workload: 9.32632e+10 +Energy efficiency: 2.57264e-10 +-------------------------------------------------------------------------------- + + +--- Writing to the total result file +--- Removing previous tested configuration tmp_output folder +removed '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__03Oct22_18_48_48/app_output_folder/all_workloads.txt' +removed '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__03Oct22_18_48_48/app_output_folder/Thread_0_ended' +removed '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__03Oct22_18_48_48/app_output_folder/Thread_0_ready_for_sampling' +removed '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__03Oct22_18_48_48/app_output_folder/Thread_1_ended' +removed '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__03Oct22_18_48_48/app_output_folder/Thread_1_ready_for_sampling' +removed directory '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__03Oct22_18_48_48/app_output_folder' +removed '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__03Oct22_18_48_48/configuration_mesurement.csv' +removed '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__03Oct22_18_48_48/energy_power_workload_energyByWorkload_ccInfo' +removed '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__03Oct22_18_48_48/logcat_output' +removed '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__03Oct22_18_48_48/powermeter_summary.txt' +removed directory '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__03Oct22_18_48_48' +--- Moving the current experiment tmp_folder to the output result folder +writing a temporary file for the main script with format energy_power_workload_energyByWorkload_ccInfo +--- Obtaining experiment summary result to add to result folder +--- Experiment result, Energy consumed = 23.99322866107899 +--- Experiment result, Avg Power = 733.4804599940842 +--- Experiment result, Total Workload = 9.32632e+10 +--- Experiment result, Energy Efficiency = 2.57264e-10 +--- Adding result to summary file +--- Starting cc information : 0 +--- Ending cc information : 0 +--- The file /mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/output_folder/summary.csv exists we just appending the result to the file +--- Experiments performed on configuration 110000-0-0. +--- Observing a pause betwenn experiment; pause duration : 180 seconds; starting at 03Oct22_19_01_34 +--- Performing experiments on configuration 110000-0-0 +--- Cleaning the tmp expermiment folder : /mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/last_tmp_expermiment_folder +--- Second step : verifying the battery level +--- Verifying the battery level +--- Getting current battery level, adb command path: /mnt/c/Program Files/Android/platform-tools_r33.0.1-windows/platform-tools/adb.exe +--- Current battery level : 50 +Current battery level: OKAY +--- Third step calibrating phone core frequency +--- Resetting all frequency configurations + -- Command used : echo schedutil > /sys/devices/system/cpu/cpu1/cpufreq/scaling_governor + -- Command used : echo schedutil > /sys/devices/system/cpu/cpu2/cpufreq/scaling_governor + -- Command used : echo schedutil > /sys/devices/system/cpu/cpu3/cpufreq/scaling_governor + -- Command used : echo schedutil > /sys/devices/system/cpu/cpu4/cpufreq/scaling_governor + -- Command used : echo schedutil > /sys/devices/system/cpu/cpu5/cpufreq/scaling_governor + -- Command used : echo schedutil > /sys/devices/system/cpu/cpu6/cpufreq/scaling_governor + -- Command used : echo schedutil > /sys/devices/system/cpu/cpu7/cpufreq/scaling_governor +--- Frequency level of core 0 is 1 +--- Exact frequency of core 0: 576000 +--- Modifying the governor of core 0 +--- Modifying the the current frequency of core 0 with frequency 576000 +--- Frequency level of core 1 is 1 +--- Exact frequency of core 1: 576000 +--- Modifying the governor of core 1 +--- Modifying the the current frequency of core 1 with frequency 576000 +--- Frequency level of core 2 is 0 +--- Exact frequency of core 2: 0 +--- Modifying the governor of core 2 +--- Modifying the the current frequency of core 2 with frequency 0 +--- Frequency level of core 3 is 0 +--- Exact frequency of core 3: 0 +--- Modifying the governor of core 3 +--- Modifying the the current frequency of core 3 with frequency 0 +--- Frequency level of core 4 is 0 +--- Exact frequency of core 4: 0 +--- Modifying the governor of core 4 +--- Modifying the the current frequency of core 4 with frequency 0 +--- Frequency level of core 5 is 0 +--- Exact frequency of core 5: 0 +--- Modifying the governor of core 5 +--- Modifying the the current frequency of core 5 with frequency 0 +--- Frequency level of core 6 is 0 +--- Exact frequency of core 6: 0 +--- Modifying the governor of core 6 +--- Modifying the the current frequency of core 6 with frequency 0 +--- Frequency level of core 7 is 0 +--- Exact frequency of core 7: 0 +--- Modifying the governor of core 7 +--- Modifying the the current frequency of core 7 with frequency 0 +--- Calibrating Monsoon power meter, please wait for 10 seconds... +powermeter script : --- Inside the monsoon_power_meter, arg function: 1 +powermeter script : calibration duration = 10 +powermeter script : Creating the Monsoon engine +powermeter script : Creating the Monsoon engine +powermeter script : Configuring channels the Monsoon engine +powermeter script : Configuring output to : C:\Users\lavoi\opportunist_task_on_android\scripts_valuable_files\experiment_automatization\last_tmp_expermiment_folder\configuration_mesurement.csv +powermeter script : Starting sampling; number of sample = 50000 + returning 50000 samples after experiments +powermeter script : Power meter calibration okay +--- Monsoon power meter Calibrated +--- starting the benchmarking app +## writing the configuration inside the phone file + --- Removing file /sdcard/experiments_automatization +rm '/sdcard/experiments_automatization/current_configuration.txt' +rm '/sdcard/experiments_automatization/experiment_duration.txt' +rm '/sdcard/experiments_automatization/app_output_folder/Thread_0_ready_for_sampling' +rm '/sdcard/experiments_automatization/app_output_folder/Thread_1_ready_for_sampling' +rm '/sdcard/experiments_automatization/app_output_folder/Thread_0_ended' +rm '/sdcard/experiments_automatization/app_output_folder/Thread_1_ended' +rmdir '/sdcard/experiments_automatization/app_output_folder' +rmdir '/sdcard/experiments_automatization' + --- Clearing the logcat + --- Creating file /sdcard/experiments_automatization +----- Uninstalling experiment app +Success +----- Installing experiment app +Performing Streamed Install +Success +------ Giving rights to experiment app +----- Starting experiment app +Starting: Intent { cmp=com.opportunistask.scheduling.benchmarking_app_to_test_big_cores/.MainActivity } +adb command : ps -A | grep com.opportunistask.scheduling.benchmarking_app_to_test_big_cores + ----- Experiment app started with pid: 29319 +---- waiting for benchmarking app thread to be pinned and to be ready +--- frequency level of core 0 is 1 +--- frequency level of core 1 is 1 +--- frequency level of core 2 is 0 +--- frequency level of core 3 is 0 +--- frequency level of core 4 is 0 +--- frequency level of core 5 is 0 +--- frequency level of core 6 is 0 +--- frequency level of core 7 is 0 +--- Number of cores to occupy = 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 2 +--- Now threads are running and the phone is ready to be sampled with the power meter \n--- Threads pids +Thread_0_ready_for_sampling +Thread_1_ready_for_sampling +--- Printing cc_info beginning datas (for the samsung galaxy s8) + --- Starting power meter sampling for about 600 seconds +--- Sampling with the Monsoon power meter +powermeter script : --- Inside the monsoon_power_meter, arg function: 2 +powermeter script : Experiment duration = 600 +powermeter script : Creating the Monsoon engine +powermeter script : Creating the Monsoon engine +powermeter script : Configuring channels the Monsoon engine +powermeter script : Configuring output to : C:\Users\lavoi\opportunist_task_on_android\scripts_valuable_files\experiment_automatization\last_tmp_expermiment_folder\configuration_mesurement.csv +powermeter script : Starting sampling; number of sample = 3000000 + returning 3000000 samples after experiments +powermeter script : Total nomber of sample measured : 3000000 +powermeter script : Computing powermeter summary result + Number of samples = 3000000 +powermeter script : We computed the energy on 600 samples +powermeter script : average_power = 733.4058099502962 +powermeter script : average_power with numpy arrays = 733.4058099501116 +powermeter script : Summary Result = time (s): 601.3545496463776 +Ins Current (mA):124.30920416015849 +Samples: 3000000 +Consumed Energy (mAs): 87146.85347277898 +Consumed Energy (mAh): 24.207459297994163 +Consumed Energy (mWs): 439090.1301831623 +Consumed Energy (mWh): 121.96948060643396 +Avg power (mW): 733.4058099502962 +Avg Current (mA): 145.50960267803654 +Avg Voltage (V): 5.040257113292205 +Exp Batt Life (hrs for 1000mAh battery): NOT COMPUTED +--- Monsoon power meter sampling is finished ! + --- experiment folder path /mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/last_tmp_expermiment_folder +--- frequency level of core 0 is 1 +--- frequency level of core 1 is 1 +--- frequency level of core 2 is 0 +--- frequency level of core 3 is 0 +--- frequency level of core 4 is 0 +--- frequency level of core 5 is 0 +--- frequency level of core 6 is 0 +--- frequency level of core 7 is 0 +--- Number of threads normally started = 2 +--- Number of thread ended: 2 +--- Now threads are stopped, getting the cc_info_level for samsung +--- Copying thread results locally +command /mnt/c/Program Files/Android/platform-tools_r33.0.1-windows/platform-tools/adb.exe pull /sdcard/experiments_automatization/app_output_folder C:\Users\lavoi\opportunist_task_on_android\scripts_valuable_files\experiment_automatization\last_tmp_expermiment_folder </dev/null +/sdcard/experiments_automatization/app_output_folder/: 4 files pulled, 0 skipped. 0.0 MB/s (908 bytes in 0.039s) +saving the logcat file to /mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/last_tmp_expermiment_folder -/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/last_tmp_expermiment_folder- +--- Parsing result from /mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/last_tmp_expermiment_folder to /mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/output_folder/raw_result.txt +--- Getting exact configuration with frequency +--- Configuration with frequencies = [576000- 576000- 0- 0- 0- 0- 0- 0] +--- Getting the powermeter summary +--- Powermeter summary: +time (s): 601.3545496463776 +Ins Current (mA):124.30920416015849 +Samples: 3000000 +Consumed Energy (mAs): 87146.85347277898 +Consumed Energy (mAh): 24.207459297994163 +Consumed Energy (mWs): 439090.1301831623 +Consumed Energy (mWh): 121.96948060643396 +Avg power (mW): 733.4058099502962 +Avg Current (mA): 145.50960267803654 +Avg Voltage (V): 5.040257113292205 + +--- Getting the total energy consumed of the google pixel +--- Energy consumed = 24.207459297994163 +--- Starting cc_info = 0 +--- Ending cc_info = 0 +--- Getting the average power +--- Avg Power = 733.4058099502962 +--- Printing the total threads summary +--- Thread results +Thread : 0 - ThreadProcess id: 29344 +---------------------------------------- +Starting time: Sat, 18 Dec 2021 17:21:19 +0100 +Core id: 0 +Ending time: Sat, 18 Dec 2021 17:31:19 +0100 - Duration: 600004 seconds +Real workload: 4.656599804443445E10 - Integer reached: 128590 - Number of reset = 0 +Battery stats: 0 mAH +Computed Drain: Null +Start: 50 % - End: 50 +Cc_info at the beginning: 0 mAh +Cc_info at the end: 0 mAh +Cc_info variation: 0.0 mAh + +Thread : 1 - ThreadProcess id: 29345 +---------------------------------------- +Starting time: Sat, 18 Dec 2021 17:21:19 +0100 +Core id: 1 +Ending time: Sat, 18 Dec 2021 17:31:19 +0100 - Duration: 600003 seconds +Real workload: 4.678486345520636E10 - Integer reached: 128879 - Number of reset = 0 +Battery stats: 0 mAH +Computed Drain: Null +Start: 50 % - End: 50 +Cc_info at the beginning: 0 mAh +Cc_info at the end: 0 mAh +Cc_info variation: 0.0 mAh + + +--- Counting the total workload command : print_total_workload /mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/last_tmp_expermiment_folder app_output_folder 1,1,0,0,0,0,0,0 /mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first +--- Total workload : 9.33509e+10 +--- Getting energy efficiency +--- Energy efficiency: 2.59317e-10 +--- Building what we will add to the total result file command +------ + (build_configuration_raw_result 110000-0-0 1,1,0,0,0,0,0,0 [576000- 576000- 0- 0- 0- 0- 0- 0] time (s): 601.3545496463776 +Ins Current (mA):124.30920416015849 +Samples: 3000000 +Consumed Energy (mAs): 87146.85347277898 +Consumed Energy (mAh): 24.207459297994163 +Consumed Energy (mWs): 439090.1301831623 +Consumed Energy (mWh): 121.96948060643396 +Avg power (mW): 733.4058099502962 +Avg Current (mA): 145.50960267803654 +Avg Voltage (V): 5.040257113292205 + Thread : 0 - ThreadProcess id: 29344 +---------------------------------------- +Starting time: Sat, 18 Dec 2021 17:21:19 +0100 +Core id: 0 +Ending time: Sat, 18 Dec 2021 17:31:19 +0100 - Duration: 600004 seconds +Real workload: 4.656599804443445E10 - Integer reached: 128590 - Number of reset = 0 +Battery stats: 0 mAH +Computed Drain: Null +Start: 50 % - End: 50 +Cc_info at the beginning: 0 mAh +Cc_info at the end: 0 mAh +Cc_info variation: 0.0 mAh + +Thread : 1 - ThreadProcess id: 29345 +---------------------------------------- +Starting time: Sat, 18 Dec 2021 17:21:19 +0100 +Core id: 1 +Ending time: Sat, 18 Dec 2021 17:31:19 +0100 - Duration: 600003 seconds +Real workload: 4.678486345520636E10 - Integer reached: 128879 - Number of reset = 0 +Battery stats: 0 mAH +Computed Drain: Null +Start: 50 % - End: 50 +Cc_info at the beginning: 0 mAh +Cc_info at the end: 0 mAh +Cc_info variation: 0.0 mAh + + 24.207459297994163 9.33509e+10 2.59317e-10 0 0 +------ + +--- Final result to print to File + -------------------------------------------------------------------------------- + +++++ +++++ +++++ Configuration Description +-------------------------------------------------------------------------------- +Configuration: 110000-0-0 +phone format: 1,1,0,0,0,0,0,0 +Exact values of frequencies: [576000- 576000- 0- 0- 0- 0- 0- 0] + +Power meter results +------------------------------------------------------------ +time (s): 601.3545496463776 +Ins Current (mA):124.30920416015849 +Samples: 3000000 +Consumed Energy (mAs): 87146.85347277898 +Consumed Energy (mAh): 24.207459297994163 +Consumed Energy (mWs): 439090.1301831623 +Consumed Energy (mWh): 121.96948060643396 +Avg power (mW): 733.4058099502962 +Avg Current (mA): 145.50960267803654 +Avg Voltage (V): 5.040257113292205 + +Threads results +------------------------------------------------------------ +Thread : 0 - ThreadProcess id: 29344 +---------------------------------------- +Starting time: Sat, 18 Dec 2021 17:21:19 +0100 +Core id: 0 +Ending time: Sat, 18 Dec 2021 17:31:19 +0100 - Duration: 600004 seconds +Real workload: 4.656599804443445E10 - Integer reached: 128590 - Number of reset = 0 +Battery stats: 0 mAH +Computed Drain: Null +Start: 50 % - End: 50 +Cc_info at the beginning: 0 mAh +Cc_info at the end: 0 mAh +Cc_info variation: 0.0 mAh + +Thread : 1 - ThreadProcess id: 29345 +---------------------------------------- +Starting time: Sat, 18 Dec 2021 17:21:19 +0100 +Core id: 1 +Ending time: Sat, 18 Dec 2021 17:31:19 +0100 - Duration: 600003 seconds +Real workload: 4.678486345520636E10 - Integer reached: 128879 - Number of reset = 0 +Battery stats: 0 mAH +Computed Drain: Null +Start: 50 % - End: 50 +Cc_info at the beginning: 0 mAh +Cc_info at the end: 0 mAh +Cc_info variation: 0.0 mAh + + +Expermiment results +------------------------------------------------------------ +Energy Consumed (mAh): 24.207459297994163 +Workload: 9.33509e+10 +Energy efficiency: 2.59317e-10 +-------------------------------------------------------------------------------- + + +--- Writing to the total result file +--- Removing previous tested configuration tmp_output folder +removed '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__03Oct22_19_04_36/app_output_folder/all_workloads.txt' +removed '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__03Oct22_19_04_36/app_output_folder/Thread_0_ended' +removed '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__03Oct22_19_04_36/app_output_folder/Thread_0_ready_for_sampling' +removed '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__03Oct22_19_04_36/app_output_folder/Thread_1_ended' +removed '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__03Oct22_19_04_36/app_output_folder/Thread_1_ready_for_sampling' +removed directory '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__03Oct22_19_04_36/app_output_folder' +removed '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__03Oct22_19_04_36/configuration_mesurement.csv' +removed '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__03Oct22_19_04_36/energy_power_workload_energyByWorkload_ccInfo' +removed '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__03Oct22_19_04_36/logcat_output' +removed '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__03Oct22_19_04_36/powermeter_summary.txt' +removed directory '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__03Oct22_19_04_36' +--- Moving the current experiment tmp_folder to the output result folder +writing a temporary file for the main script with format energy_power_workload_energyByWorkload_ccInfo +--- Obtaining experiment summary result to add to result folder +--- Experiment result, Energy consumed = 24.207459297994163 +--- Experiment result, Avg Power = 733.4058099502962 +--- Experiment result, Total Workload = 9.33509e+10 +--- Experiment result, Energy Efficiency = 2.59317e-10 +--- Adding result to summary file +--- Starting cc information : 0 +--- Ending cc information : 0 +--- The file /mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/output_folder/summary.csv exists we just appending the result to the file +--- Experiments performed on configuration 110000-0-0. +--- Observing a pause betwenn experiment; pause duration : 180 seconds; starting at 03Oct22_19_17_23 +--- Performing experiments on configuration 200002-0-0 +--- Cleaning the tmp expermiment folder : /mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/last_tmp_expermiment_folder +--- Second step : verifying the battery level +--- Verifying the battery level +--- Getting current battery level, adb command path: /mnt/c/Program Files/Android/platform-tools_r33.0.1-windows/platform-tools/adb.exe +--- Current battery level : 50 +Current battery level: OKAY +--- Third step calibrating phone core frequency +--- Resetting all frequency configurations + -- Command used : echo schedutil > /sys/devices/system/cpu/cpu1/cpufreq/scaling_governor + -- Command used : echo schedutil > /sys/devices/system/cpu/cpu2/cpufreq/scaling_governor + -- Command used : echo schedutil > /sys/devices/system/cpu/cpu3/cpufreq/scaling_governor + -- Command used : echo schedutil > /sys/devices/system/cpu/cpu4/cpufreq/scaling_governor + -- Command used : echo schedutil > /sys/devices/system/cpu/cpu5/cpufreq/scaling_governor + -- Command used : echo schedutil > /sys/devices/system/cpu/cpu6/cpufreq/scaling_governor + -- Command used : echo schedutil > /sys/devices/system/cpu/cpu7/cpufreq/scaling_governor +--- Frequency level of core 0 is 2 +--- Exact frequency of core 0: 1363200 +--- Modifying the governor of core 0 +--- Modifying the the current frequency of core 0 with frequency 1363200 +--- Frequency level of core 1 is 0 +--- Exact frequency of core 1: 0 +--- Modifying the governor of core 1 +--- Modifying the the current frequency of core 1 with frequency 0 +--- Frequency level of core 2 is 0 +--- Exact frequency of core 2: 0 +--- Modifying the governor of core 2 +--- Modifying the the current frequency of core 2 with frequency 0 +--- Frequency level of core 3 is 0 +--- Exact frequency of core 3: 0 +--- Modifying the governor of core 3 +--- Modifying the the current frequency of core 3 with frequency 0 +--- Frequency level of core 4 is 0 +--- Exact frequency of core 4: 0 +--- Modifying the governor of core 4 +--- Modifying the the current frequency of core 4 with frequency 0 +--- Frequency level of core 5 is 2 +--- Exact frequency of core 5: 1363200 +--- Modifying the governor of core 5 +--- Modifying the the current frequency of core 5 with frequency 1363200 +--- Frequency level of core 6 is 0 +--- Exact frequency of core 6: 0 +--- Modifying the governor of core 6 +--- Modifying the the current frequency of core 6 with frequency 0 +--- Frequency level of core 7 is 0 +--- Exact frequency of core 7: 0 +--- Modifying the governor of core 7 +--- Modifying the the current frequency of core 7 with frequency 0 +--- Calibrating Monsoon power meter, please wait for 10 seconds... +powermeter script : --- Inside the monsoon_power_meter, arg function: 1 +powermeter script : calibration duration = 10 +powermeter script : Creating the Monsoon engine +powermeter script : Creating the Monsoon engine +powermeter script : Configuring channels the Monsoon engine +powermeter script : Configuring output to : C:\Users\lavoi\opportunist_task_on_android\scripts_valuable_files\experiment_automatization\last_tmp_expermiment_folder\configuration_mesurement.csv +powermeter script : Starting sampling; number of sample = 50000 + returning 50000 samples after experiments +powermeter script : Power meter calibration okay +--- Monsoon power meter Calibrated +--- starting the benchmarking app +## writing the configuration inside the phone file + --- Removing file /sdcard/experiments_automatization +rm '/sdcard/experiments_automatization/current_configuration.txt' +rm '/sdcard/experiments_automatization/experiment_duration.txt' +rm '/sdcard/experiments_automatization/app_output_folder/Thread_0_ready_for_sampling' +rm '/sdcard/experiments_automatization/app_output_folder/Thread_1_ready_for_sampling' +rm '/sdcard/experiments_automatization/app_output_folder/Thread_0_ended' +rm '/sdcard/experiments_automatization/app_output_folder/Thread_1_ended' +rmdir '/sdcard/experiments_automatization/app_output_folder' +rmdir '/sdcard/experiments_automatization' + --- Clearing the logcat + --- Creating file /sdcard/experiments_automatization +----- Uninstalling experiment app +Success +----- Installing experiment app +Performing Streamed Install +Success +------ Giving rights to experiment app +----- Starting experiment app +Starting: Intent { cmp=com.opportunistask.scheduling.benchmarking_app_to_test_big_cores/.MainActivity } +adb command : ps -A | grep com.opportunistask.scheduling.benchmarking_app_to_test_big_cores + ----- Experiment app started with pid: 30146 +---- waiting for benchmarking app thread to be pinned and to be ready +--- frequency level of core 0 is 2 +--- frequency level of core 1 is 0 +--- frequency level of core 2 is 0 +--- frequency level of core 3 is 0 +--- frequency level of core 4 is 0 +--- frequency level of core 5 is 2 +--- frequency level of core 6 is 0 +--- frequency level of core 7 is 0 +--- Number of cores to occupy = 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 2 +--- Now threads are running and the phone is ready to be sampled with the power meter \n--- Threads pids +Thread_0_ready_for_sampling +Thread_1_ready_for_sampling +--- Printing cc_info beginning datas (for the samsung galaxy s8) + --- Starting power meter sampling for about 600 seconds +--- Sampling with the Monsoon power meter +powermeter script : --- Inside the monsoon_power_meter, arg function: 2 +powermeter script : Experiment duration = 600 +powermeter script : Creating the Monsoon engine +powermeter script : Creating the Monsoon engine +powermeter script : Configuring channels the Monsoon engine +powermeter script : Configuring output to : C:\Users\lavoi\opportunist_task_on_android\scripts_valuable_files\experiment_automatization\last_tmp_expermiment_folder\configuration_mesurement.csv +powermeter script : Starting sampling; number of sample = 3000000 + returning 3000000 samples after experiments +powermeter script : Total nomber of sample measured : 3000000 +powermeter script : Computing powermeter summary result + Number of samples = 3000000 +powermeter script : We computed the energy on 600 samples +powermeter script : average_power = 864.5467841074815 +powermeter script : average_power with numpy arrays = 864.5467841073887 +powermeter script : Summary Result = time (s): 601.6086900234222 +Ins Current (mA):148.1307563063629 +Samples: 3000000 +Consumed Energy (mAs): 103594.1718569694 +Consumed Energy (mAh): 28.77615884915817 +Consumed Energy (mWs): 519795.62609628926 +Consumed Energy (mWh): 144.3876739156359 +Avg power (mW): 864.5467841074815 +Avg Current (mA): 172.20634374040117 +Avg Voltage (V): 5.0204119391256254 +Exp Batt Life (hrs for 1000mAh battery): NOT COMPUTED +--- Monsoon power meter sampling is finished ! + --- experiment folder path /mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/last_tmp_expermiment_folder +--- frequency level of core 0 is 2 +--- frequency level of core 1 is 0 +--- frequency level of core 2 is 0 +--- frequency level of core 3 is 0 +--- frequency level of core 4 is 0 +--- frequency level of core 5 is 2 +--- frequency level of core 6 is 0 +--- frequency level of core 7 is 0 +--- Number of threads normally started = 2 +--- Number of thread ended: 2 +--- Now threads are stopped, getting the cc_info_level for samsung +--- Copying thread results locally +command /mnt/c/Program Files/Android/platform-tools_r33.0.1-windows/platform-tools/adb.exe pull /sdcard/experiments_automatization/app_output_folder C:\Users\lavoi\opportunist_task_on_android\scripts_valuable_files\experiment_automatization\last_tmp_expermiment_folder </dev/null +/sdcard/experiments_automatization/app_output_folder/: 4 files pulled, 0 skipped. 0.0 MB/s (910 bytes in 0.020s) +saving the logcat file to /mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/last_tmp_expermiment_folder -/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/last_tmp_expermiment_folder- +--- Parsing result from /mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/last_tmp_expermiment_folder to /mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/output_folder/raw_result.txt +--- Getting exact configuration with frequency +--- Configuration with frequencies = [1363200- 0- 0- 0- 0- 1363200- 0- 0] +--- Getting the powermeter summary +--- Powermeter summary: +time (s): 601.6086900234222 +Ins Current (mA):148.1307563063629 +Samples: 3000000 +Consumed Energy (mAs): 103594.1718569694 +Consumed Energy (mAh): 28.77615884915817 +Consumed Energy (mWs): 519795.62609628926 +Consumed Energy (mWh): 144.3876739156359 +Avg power (mW): 864.5467841074815 +Avg Current (mA): 172.20634374040117 +Avg Voltage (V): 5.0204119391256254 + +--- Getting the total energy consumed of the google pixel +--- Energy consumed = 28.77615884915817 +--- Starting cc_info = 0 +--- Ending cc_info = 0 +--- Getting the average power +--- Avg Power = 864.5467841074815 +--- Printing the total threads summary +--- Thread results +Thread : 0 - ThreadProcess id: 30171 +---------------------------------------- +Starting time: Sat, 18 Dec 2021 17:37:05 +0100 +Core id: 0 +Ending time: Sat, 18 Dec 2021 17:47:06 +0100 - Duration: 600007 seconds +Real workload: 1.1503998513570592E11 - Integer reached: 198336 - Number of reset = 0 +Battery stats: 0 mAH +Computed Drain: Null +Start: 50 % - End: 50 +Cc_info at the beginning: 0 mAh +Cc_info at the end: 0 mAh +Cc_info variation: 0.0 mAh + +Thread : 1 - ThreadProcess id: 30172 +---------------------------------------- +Starting time: Sat, 18 Dec 2021 17:37:06 +0100 +Core id: 5 +Ending time: Sat, 18 Dec 2021 17:47:06 +0100 - Duration: 600005 seconds +Real workload: 1.1484773734064279E11 - Integer reached: 198177 - Number of reset = 0 +Battery stats: 0 mAH +Computed Drain: Null +Start: 50 % - End: 50 +Cc_info at the beginning: 0 mAh +Cc_info at the end: 0 mAh +Cc_info variation: 0.0 mAh + + +--- Counting the total workload command : print_total_workload /mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/last_tmp_expermiment_folder app_output_folder 2,0,0,0,0,2,0,0 /mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first +--- Total workload : 2.29888e+11 +--- Getting energy efficiency +--- Energy efficiency: 1.25175e-10 +--- Building what we will add to the total result file command +------ + (build_configuration_raw_result 200002-0-0 2,0,0,0,0,2,0,0 [1363200- 0- 0- 0- 0- 1363200- 0- 0] time (s): 601.6086900234222 +Ins Current (mA):148.1307563063629 +Samples: 3000000 +Consumed Energy (mAs): 103594.1718569694 +Consumed Energy (mAh): 28.77615884915817 +Consumed Energy (mWs): 519795.62609628926 +Consumed Energy (mWh): 144.3876739156359 +Avg power (mW): 864.5467841074815 +Avg Current (mA): 172.20634374040117 +Avg Voltage (V): 5.0204119391256254 + Thread : 0 - ThreadProcess id: 30171 +---------------------------------------- +Starting time: Sat, 18 Dec 2021 17:37:05 +0100 +Core id: 0 +Ending time: Sat, 18 Dec 2021 17:47:06 +0100 - Duration: 600007 seconds +Real workload: 1.1503998513570592E11 - Integer reached: 198336 - Number of reset = 0 +Battery stats: 0 mAH +Computed Drain: Null +Start: 50 % - End: 50 +Cc_info at the beginning: 0 mAh +Cc_info at the end: 0 mAh +Cc_info variation: 0.0 mAh + +Thread : 1 - ThreadProcess id: 30172 +---------------------------------------- +Starting time: Sat, 18 Dec 2021 17:37:06 +0100 +Core id: 5 +Ending time: Sat, 18 Dec 2021 17:47:06 +0100 - Duration: 600005 seconds +Real workload: 1.1484773734064279E11 - Integer reached: 198177 - Number of reset = 0 +Battery stats: 0 mAH +Computed Drain: Null +Start: 50 % - End: 50 +Cc_info at the beginning: 0 mAh +Cc_info at the end: 0 mAh +Cc_info variation: 0.0 mAh + + 28.77615884915817 2.29888e+11 1.25175e-10 0 0 +------ + +--- Final result to print to File + -------------------------------------------------------------------------------- + +++++ +++++ +++++ Configuration Description +-------------------------------------------------------------------------------- +Configuration: 200002-0-0 +phone format: 2,0,0,0,0,2,0,0 +Exact values of frequencies: [1363200- 0- 0- 0- 0- 1363200- 0- 0] + +Power meter results +------------------------------------------------------------ +time (s): 601.6086900234222 +Ins Current (mA):148.1307563063629 +Samples: 3000000 +Consumed Energy (mAs): 103594.1718569694 +Consumed Energy (mAh): 28.77615884915817 +Consumed Energy (mWs): 519795.62609628926 +Consumed Energy (mWh): 144.3876739156359 +Avg power (mW): 864.5467841074815 +Avg Current (mA): 172.20634374040117 +Avg Voltage (V): 5.0204119391256254 + +Threads results +------------------------------------------------------------ +Thread : 0 - ThreadProcess id: 30171 +---------------------------------------- +Starting time: Sat, 18 Dec 2021 17:37:05 +0100 +Core id: 0 +Ending time: Sat, 18 Dec 2021 17:47:06 +0100 - Duration: 600007 seconds +Real workload: 1.1503998513570592E11 - Integer reached: 198336 - Number of reset = 0 +Battery stats: 0 mAH +Computed Drain: Null +Start: 50 % - End: 50 +Cc_info at the beginning: 0 mAh +Cc_info at the end: 0 mAh +Cc_info variation: 0.0 mAh + +Thread : 1 - ThreadProcess id: 30172 +---------------------------------------- +Starting time: Sat, 18 Dec 2021 17:37:06 +0100 +Core id: 5 +Ending time: Sat, 18 Dec 2021 17:47:06 +0100 - Duration: 600005 seconds +Real workload: 1.1484773734064279E11 - Integer reached: 198177 - Number of reset = 0 +Battery stats: 0 mAH +Computed Drain: Null +Start: 50 % - End: 50 +Cc_info at the beginning: 0 mAh +Cc_info at the end: 0 mAh +Cc_info variation: 0.0 mAh + + +Expermiment results +------------------------------------------------------------ +Energy Consumed (mAh): 28.77615884915817 +Workload: 2.29888e+11 +Energy efficiency: 1.25175e-10 +-------------------------------------------------------------------------------- + + +--- Writing to the total result file +--- Removing previous tested configuration tmp_output folder +removed '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__03Oct22_19_20_25/app_output_folder/all_workloads.txt' +removed '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__03Oct22_19_20_25/app_output_folder/Thread_0_ended' +removed '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__03Oct22_19_20_25/app_output_folder/Thread_0_ready_for_sampling' +removed '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__03Oct22_19_20_25/app_output_folder/Thread_1_ended' +removed '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__03Oct22_19_20_25/app_output_folder/Thread_1_ready_for_sampling' +removed directory '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__03Oct22_19_20_25/app_output_folder' +removed '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__03Oct22_19_20_25/configuration_mesurement.csv' +removed '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__03Oct22_19_20_25/energy_power_workload_energyByWorkload_ccInfo' +removed '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__03Oct22_19_20_25/logcat_output' +removed '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__03Oct22_19_20_25/powermeter_summary.txt' +removed directory '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__03Oct22_19_20_25' +--- Moving the current experiment tmp_folder to the output result folder +writing a temporary file for the main script with format energy_power_workload_energyByWorkload_ccInfo +--- Obtaining experiment summary result to add to result folder +--- Experiment result, Energy consumed = 28.77615884915817 +--- Experiment result, Avg Power = 864.5467841074815 +--- Experiment result, Total Workload = 2.29888e+11 +--- Experiment result, Energy Efficiency = 1.25175e-10 +--- Adding result to summary file +--- Starting cc information : 0 +--- Ending cc information : 0 +--- The file /mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/output_folder/summary.csv exists we just appending the result to the file +--- Experiments performed on configuration 200002-0-0. +--- Observing a pause betwenn experiment; pause duration : 180 seconds; starting at 03Oct22_19_33_10 +--- Performing experiments on configuration 200002-0-0 +--- Cleaning the tmp expermiment folder : /mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/last_tmp_expermiment_folder +--- Second step : verifying the battery level +--- Verifying the battery level +--- Getting current battery level, adb command path: /mnt/c/Program Files/Android/platform-tools_r33.0.1-windows/platform-tools/adb.exe +--- Current battery level : 50 +Current battery level: OKAY +--- Third step calibrating phone core frequency +--- Resetting all frequency configurations + -- Command used : echo schedutil > /sys/devices/system/cpu/cpu1/cpufreq/scaling_governor + -- Command used : echo schedutil > /sys/devices/system/cpu/cpu2/cpufreq/scaling_governor + -- Command used : echo schedutil > /sys/devices/system/cpu/cpu3/cpufreq/scaling_governor + -- Command used : echo schedutil > /sys/devices/system/cpu/cpu4/cpufreq/scaling_governor + -- Command used : echo schedutil > /sys/devices/system/cpu/cpu5/cpufreq/scaling_governor + -- Command used : echo schedutil > /sys/devices/system/cpu/cpu6/cpufreq/scaling_governor + -- Command used : echo schedutil > /sys/devices/system/cpu/cpu7/cpufreq/scaling_governor +--- Frequency level of core 0 is 2 +--- Exact frequency of core 0: 1363200 +--- Modifying the governor of core 0 +--- Modifying the the current frequency of core 0 with frequency 1363200 +--- Frequency level of core 1 is 0 +--- Exact frequency of core 1: 0 +--- Modifying the governor of core 1 +--- Modifying the the current frequency of core 1 with frequency 0 +--- Frequency level of core 2 is 0 +--- Exact frequency of core 2: 0 +--- Modifying the governor of core 2 +--- Modifying the the current frequency of core 2 with frequency 0 +--- Frequency level of core 3 is 0 +--- Exact frequency of core 3: 0 +--- Modifying the governor of core 3 +--- Modifying the the current frequency of core 3 with frequency 0 +--- Frequency level of core 4 is 0 +--- Exact frequency of core 4: 0 +--- Modifying the governor of core 4 +--- Modifying the the current frequency of core 4 with frequency 0 +--- Frequency level of core 5 is 2 +--- Exact frequency of core 5: 1363200 +--- Modifying the governor of core 5 +--- Modifying the the current frequency of core 5 with frequency 1363200 +--- Frequency level of core 6 is 0 +--- Exact frequency of core 6: 0 +--- Modifying the governor of core 6 +--- Modifying the the current frequency of core 6 with frequency 0 +--- Frequency level of core 7 is 0 +--- Exact frequency of core 7: 0 +--- Modifying the governor of core 7 +--- Modifying the the current frequency of core 7 with frequency 0 +--- Calibrating Monsoon power meter, please wait for 10 seconds... +powermeter script : --- Inside the monsoon_power_meter, arg function: 1 +powermeter script : calibration duration = 10 +powermeter script : Creating the Monsoon engine +powermeter script : Creating the Monsoon engine +powermeter script : Configuring channels the Monsoon engine +powermeter script : Configuring output to : C:\Users\lavoi\opportunist_task_on_android\scripts_valuable_files\experiment_automatization\last_tmp_expermiment_folder\configuration_mesurement.csv +powermeter script : Starting sampling; number of sample = 50000 + returning 50000 samples after experiments +powermeter script : Power meter calibration okay +--- Monsoon power meter Calibrated +--- starting the benchmarking app +## writing the configuration inside the phone file + --- Removing file /sdcard/experiments_automatization +rm '/sdcard/experiments_automatization/current_configuration.txt' +rm '/sdcard/experiments_automatization/experiment_duration.txt' +rm '/sdcard/experiments_automatization/app_output_folder/Thread_0_ready_for_sampling' +rm '/sdcard/experiments_automatization/app_output_folder/Thread_1_ready_for_sampling' +rm '/sdcard/experiments_automatization/app_output_folder/Thread_0_ended' +rm '/sdcard/experiments_automatization/app_output_folder/Thread_1_ended' +rmdir '/sdcard/experiments_automatization/app_output_folder' +rmdir '/sdcard/experiments_automatization' + --- Clearing the logcat + --- Creating file /sdcard/experiments_automatization +----- Uninstalling experiment app +Success +----- Installing experiment app +Performing Streamed Install +Success +------ Giving rights to experiment app +----- Starting experiment app +Starting: Intent { cmp=com.opportunistask.scheduling.benchmarking_app_to_test_big_cores/.MainActivity } +adb command : ps -A | grep com.opportunistask.scheduling.benchmarking_app_to_test_big_cores + ----- Experiment app started with pid: 30978 +---- waiting for benchmarking app thread to be pinned and to be ready +--- frequency level of core 0 is 2 +--- frequency level of core 1 is 0 +--- frequency level of core 2 is 0 +--- frequency level of core 3 is 0 +--- frequency level of core 4 is 0 +--- frequency level of core 5 is 2 +--- frequency level of core 6 is 0 +--- frequency level of core 7 is 0 +--- Number of cores to occupy = 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 2 +--- Now threads are running and the phone is ready to be sampled with the power meter \n--- Threads pids +Thread_0_ready_for_sampling +Thread_1_ready_for_sampling +--- Printing cc_info beginning datas (for the samsung galaxy s8) + --- Starting power meter sampling for about 600 seconds +--- Sampling with the Monsoon power meter +powermeter script : --- Inside the monsoon_power_meter, arg function: 2 +powermeter script : Experiment duration = 600 +powermeter script : Creating the Monsoon engine +powermeter script : Creating the Monsoon engine +powermeter script : Configuring channels the Monsoon engine +powermeter script : Configuring output to : C:\Users\lavoi\opportunist_task_on_android\scripts_valuable_files\experiment_automatization\last_tmp_expermiment_folder\configuration_mesurement.csv +powermeter script : Starting sampling; number of sample = 3000000 + returning 3000000 samples after experiments +powermeter script : Total nomber of sample measured : 3000000 +powermeter script : Computing powermeter summary result + Number of samples = 3000000 +powermeter script : We computed the energy on 600 samples +powermeter script : average_power = 867.97589459951 +powermeter script : average_power with numpy arrays = 867.975894599505 +powermeter script : Summary Result = time (s): 601.4040350914001 +Ins Current (mA):161.29738502331537 +Samples: 3000000 +Consumed Energy (mAs): 103259.70530412951 +Consumed Energy (mAh): 28.68325147336931 +Consumed Energy (mWs): 518270.95343281794 +Consumed Energy (mWh): 143.9641537313383 +Avg power (mW): 867.97589459951 +Avg Current (mA): 172.91146547809512 +Avg Voltage (V): 5.0197706219167255 +Exp Batt Life (hrs for 1000mAh battery): NOT COMPUTED +--- Monsoon power meter sampling is finished ! + --- experiment folder path /mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/last_tmp_expermiment_folder +--- frequency level of core 0 is 2 +--- frequency level of core 1 is 0 +--- frequency level of core 2 is 0 +--- frequency level of core 3 is 0 +--- frequency level of core 4 is 0 +--- frequency level of core 5 is 2 +--- frequency level of core 6 is 0 +--- frequency level of core 7 is 0 +--- Number of threads normally started = 2 +--- Number of thread ended: 2 +--- Now threads are stopped, getting the cc_info_level for samsung +--- Copying thread results locally +command /mnt/c/Program Files/Android/platform-tools_r33.0.1-windows/platform-tools/adb.exe pull /sdcard/experiments_automatization/app_output_folder C:\Users\lavoi\opportunist_task_on_android\scripts_valuable_files\experiment_automatization\last_tmp_expermiment_folder </dev/null +/sdcard/experiments_automatization/app_output_folder/: 4 files pulled, 0 skipped. 0.1 MB/s (909 bytes in 0.017s) +saving the logcat file to /mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/last_tmp_expermiment_folder -/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/last_tmp_expermiment_folder- +--- Parsing result from /mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/last_tmp_expermiment_folder to /mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/output_folder/raw_result.txt +--- Getting exact configuration with frequency +--- Configuration with frequencies = [1363200- 0- 0- 0- 0- 1363200- 0- 0] +--- Getting the powermeter summary +--- Powermeter summary: +time (s): 601.4040350914001 +Ins Current (mA):161.29738502331537 +Samples: 3000000 +Consumed Energy (mAs): 103259.70530412951 +Consumed Energy (mAh): 28.68325147336931 +Consumed Energy (mWs): 518270.95343281794 +Consumed Energy (mWh): 143.9641537313383 +Avg power (mW): 867.97589459951 +Avg Current (mA): 172.91146547809512 +Avg Voltage (V): 5.0197706219167255 + +--- Getting the total energy consumed of the google pixel +--- Energy consumed = 28.68325147336931 +--- Starting cc_info = 0 +--- Ending cc_info = 0 +--- Getting the average power +--- Avg Power = 867.97589459951 +--- Printing the total threads summary +--- Thread results +Thread : 0 - ThreadProcess id: 31003 +---------------------------------------- +Starting time: Sat, 18 Dec 2021 17:52:53 +0100 +Core id: 0 +Ending time: Sat, 18 Dec 2021 18:02:53 +0100 - Duration: 600003 seconds +Real workload: 1.149432358640913E11 - Integer reached: 198256 - Number of reset = 0 +Battery stats: 0 mAH +Computed Drain: Null +Start: 50 % - End: 50 +Cc_info at the beginning: 0 mAh +Cc_info at the end: 0 mAh +Cc_info variation: 0.0 mAh + +Thread : 1 - ThreadProcess id: 31004 +---------------------------------------- +Starting time: Sat, 18 Dec 2021 17:52:53 +0100 +Core id: 5 +Ending time: Sat, 18 Dec 2021 18:02:53 +0100 - Duration: 600010 seconds +Real workload: 1.1473899180037012E11 - Integer reached: 198087 - Number of reset = 0 +Battery stats: 0 mAH +Computed Drain: Null +Start: 50 % - End: 50 +Cc_info at the beginning: 0 mAh +Cc_info at the end: 0 mAh +Cc_info variation: 0.0 mAh + + +--- Counting the total workload command : print_total_workload /mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/last_tmp_expermiment_folder app_output_folder 2,0,0,0,0,2,0,0 /mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first +--- Total workload : 2.29682e+11 +--- Getting energy efficiency +--- Energy efficiency: 1.24882e-10 +--- Building what we will add to the total result file command +------ + (build_configuration_raw_result 200002-0-0 2,0,0,0,0,2,0,0 [1363200- 0- 0- 0- 0- 1363200- 0- 0] time (s): 601.4040350914001 +Ins Current (mA):161.29738502331537 +Samples: 3000000 +Consumed Energy (mAs): 103259.70530412951 +Consumed Energy (mAh): 28.68325147336931 +Consumed Energy (mWs): 518270.95343281794 +Consumed Energy (mWh): 143.9641537313383 +Avg power (mW): 867.97589459951 +Avg Current (mA): 172.91146547809512 +Avg Voltage (V): 5.0197706219167255 + Thread : 0 - ThreadProcess id: 31003 +---------------------------------------- +Starting time: Sat, 18 Dec 2021 17:52:53 +0100 +Core id: 0 +Ending time: Sat, 18 Dec 2021 18:02:53 +0100 - Duration: 600003 seconds +Real workload: 1.149432358640913E11 - Integer reached: 198256 - Number of reset = 0 +Battery stats: 0 mAH +Computed Drain: Null +Start: 50 % - End: 50 +Cc_info at the beginning: 0 mAh +Cc_info at the end: 0 mAh +Cc_info variation: 0.0 mAh + +Thread : 1 - ThreadProcess id: 31004 +---------------------------------------- +Starting time: Sat, 18 Dec 2021 17:52:53 +0100 +Core id: 5 +Ending time: Sat, 18 Dec 2021 18:02:53 +0100 - Duration: 600010 seconds +Real workload: 1.1473899180037012E11 - Integer reached: 198087 - Number of reset = 0 +Battery stats: 0 mAH +Computed Drain: Null +Start: 50 % - End: 50 +Cc_info at the beginning: 0 mAh +Cc_info at the end: 0 mAh +Cc_info variation: 0.0 mAh + + 28.68325147336931 2.29682e+11 1.24882e-10 0 0 +------ + +--- Final result to print to File + -------------------------------------------------------------------------------- + +++++ +++++ +++++ Configuration Description +-------------------------------------------------------------------------------- +Configuration: 200002-0-0 +phone format: 2,0,0,0,0,2,0,0 +Exact values of frequencies: [1363200- 0- 0- 0- 0- 1363200- 0- 0] + +Power meter results +------------------------------------------------------------ +time (s): 601.4040350914001 +Ins Current (mA):161.29738502331537 +Samples: 3000000 +Consumed Energy (mAs): 103259.70530412951 +Consumed Energy (mAh): 28.68325147336931 +Consumed Energy (mWs): 518270.95343281794 +Consumed Energy (mWh): 143.9641537313383 +Avg power (mW): 867.97589459951 +Avg Current (mA): 172.91146547809512 +Avg Voltage (V): 5.0197706219167255 + +Threads results +------------------------------------------------------------ +Thread : 0 - ThreadProcess id: 31003 +---------------------------------------- +Starting time: Sat, 18 Dec 2021 17:52:53 +0100 +Core id: 0 +Ending time: Sat, 18 Dec 2021 18:02:53 +0100 - Duration: 600003 seconds +Real workload: 1.149432358640913E11 - Integer reached: 198256 - Number of reset = 0 +Battery stats: 0 mAH +Computed Drain: Null +Start: 50 % - End: 50 +Cc_info at the beginning: 0 mAh +Cc_info at the end: 0 mAh +Cc_info variation: 0.0 mAh + +Thread : 1 - ThreadProcess id: 31004 +---------------------------------------- +Starting time: Sat, 18 Dec 2021 17:52:53 +0100 +Core id: 5 +Ending time: Sat, 18 Dec 2021 18:02:53 +0100 - Duration: 600010 seconds +Real workload: 1.1473899180037012E11 - Integer reached: 198087 - Number of reset = 0 +Battery stats: 0 mAH +Computed Drain: Null +Start: 50 % - End: 50 +Cc_info at the beginning: 0 mAh +Cc_info at the end: 0 mAh +Cc_info variation: 0.0 mAh + + +Expermiment results +------------------------------------------------------------ +Energy Consumed (mAh): 28.68325147336931 +Workload: 2.29682e+11 +Energy efficiency: 1.24882e-10 +-------------------------------------------------------------------------------- + + +--- Writing to the total result file +--- Removing previous tested configuration tmp_output folder +removed '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__03Oct22_19_36_12/app_output_folder/all_workloads.txt' +removed '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__03Oct22_19_36_12/app_output_folder/Thread_0_ended' +removed '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__03Oct22_19_36_12/app_output_folder/Thread_0_ready_for_sampling' +removed '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__03Oct22_19_36_12/app_output_folder/Thread_1_ended' +removed '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__03Oct22_19_36_12/app_output_folder/Thread_1_ready_for_sampling' +removed directory '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__03Oct22_19_36_12/app_output_folder' +removed '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__03Oct22_19_36_12/configuration_mesurement.csv' +removed '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__03Oct22_19_36_12/energy_power_workload_energyByWorkload_ccInfo' +removed '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__03Oct22_19_36_12/logcat_output' +removed '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__03Oct22_19_36_12/powermeter_summary.txt' +removed directory '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__03Oct22_19_36_12' +--- Moving the current experiment tmp_folder to the output result folder +writing a temporary file for the main script with format energy_power_workload_energyByWorkload_ccInfo +--- Obtaining experiment summary result to add to result folder +--- Experiment result, Energy consumed = 28.68325147336931 +--- Experiment result, Avg Power = 867.97589459951 +--- Experiment result, Total Workload = 2.29682e+11 +--- Experiment result, Energy Efficiency = 1.24882e-10 +--- Adding result to summary file +--- Starting cc information : 0 +--- Ending cc information : 0 +--- The file /mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/output_folder/summary.csv exists we just appending the result to the file +--- Experiments performed on configuration 200002-0-0. +--- Observing a pause betwenn experiment; pause duration : 180 seconds; starting at 03Oct22_19_48_57 +--- Performing experiments on configuration 200002-0-0 +--- Cleaning the tmp expermiment folder : /mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/last_tmp_expermiment_folder +--- Second step : verifying the battery level +--- Verifying the battery level +--- Getting current battery level, adb command path: /mnt/c/Program Files/Android/platform-tools_r33.0.1-windows/platform-tools/adb.exe +--- Current battery level : 50 +Current battery level: OKAY +--- Third step calibrating phone core frequency +--- Resetting all frequency configurations + -- Command used : echo schedutil > /sys/devices/system/cpu/cpu1/cpufreq/scaling_governor + -- Command used : echo schedutil > /sys/devices/system/cpu/cpu2/cpufreq/scaling_governor + -- Command used : echo schedutil > /sys/devices/system/cpu/cpu3/cpufreq/scaling_governor + -- Command used : echo schedutil > /sys/devices/system/cpu/cpu4/cpufreq/scaling_governor + -- Command used : echo schedutil > /sys/devices/system/cpu/cpu5/cpufreq/scaling_governor + -- Command used : echo schedutil > /sys/devices/system/cpu/cpu6/cpufreq/scaling_governor + -- Command used : echo schedutil > /sys/devices/system/cpu/cpu7/cpufreq/scaling_governor +--- Frequency level of core 0 is 2 +--- Exact frequency of core 0: 1363200 +--- Modifying the governor of core 0 +--- Modifying the the current frequency of core 0 with frequency 1363200 +--- Frequency level of core 1 is 0 +--- Exact frequency of core 1: 0 +--- Modifying the governor of core 1 +--- Modifying the the current frequency of core 1 with frequency 0 +--- Frequency level of core 2 is 0 +--- Exact frequency of core 2: 0 +--- Modifying the governor of core 2 +--- Modifying the the current frequency of core 2 with frequency 0 +--- Frequency level of core 3 is 0 +--- Exact frequency of core 3: 0 +--- Modifying the governor of core 3 +--- Modifying the the current frequency of core 3 with frequency 0 +--- Frequency level of core 4 is 0 +--- Exact frequency of core 4: 0 +--- Modifying the governor of core 4 +--- Modifying the the current frequency of core 4 with frequency 0 +--- Frequency level of core 5 is 2 +--- Exact frequency of core 5: 1363200 +--- Modifying the governor of core 5 +--- Modifying the the current frequency of core 5 with frequency 1363200 +--- Frequency level of core 6 is 0 +--- Exact frequency of core 6: 0 +--- Modifying the governor of core 6 +--- Modifying the the current frequency of core 6 with frequency 0 +--- Frequency level of core 7 is 0 +--- Exact frequency of core 7: 0 +--- Modifying the governor of core 7 +--- Modifying the the current frequency of core 7 with frequency 0 +--- Calibrating Monsoon power meter, please wait for 10 seconds... +powermeter script : --- Inside the monsoon_power_meter, arg function: 1 +powermeter script : calibration duration = 10 +powermeter script : Creating the Monsoon engine +powermeter script : Creating the Monsoon engine +powermeter script : Configuring channels the Monsoon engine +powermeter script : Configuring output to : C:\Users\lavoi\opportunist_task_on_android\scripts_valuable_files\experiment_automatization\last_tmp_expermiment_folder\configuration_mesurement.csv +powermeter script : Starting sampling; number of sample = 50000 + returning 50000 samples after experiments +powermeter script : Power meter calibration okay +--- Monsoon power meter Calibrated +--- starting the benchmarking app +## writing the configuration inside the phone file + --- Removing file /sdcard/experiments_automatization +rm '/sdcard/experiments_automatization/current_configuration.txt' +rm '/sdcard/experiments_automatization/experiment_duration.txt' +rm '/sdcard/experiments_automatization/app_output_folder/Thread_0_ready_for_sampling' +rm '/sdcard/experiments_automatization/app_output_folder/Thread_1_ready_for_sampling' +rm '/sdcard/experiments_automatization/app_output_folder/Thread_0_ended' +rm '/sdcard/experiments_automatization/app_output_folder/Thread_1_ended' +rmdir '/sdcard/experiments_automatization/app_output_folder' +rmdir '/sdcard/experiments_automatization' + --- Clearing the logcat + --- Creating file /sdcard/experiments_automatization +----- Uninstalling experiment app +Success +----- Installing experiment app +Performing Streamed Install +Success +------ Giving rights to experiment app +----- Starting experiment app +Starting: Intent { cmp=com.opportunistask.scheduling.benchmarking_app_to_test_big_cores/.MainActivity } +adb command : ps -A | grep com.opportunistask.scheduling.benchmarking_app_to_test_big_cores + ----- Experiment app started with pid: 31810 +---- waiting for benchmarking app thread to be pinned and to be ready +--- frequency level of core 0 is 2 +--- frequency level of core 1 is 0 +--- frequency level of core 2 is 0 +--- frequency level of core 3 is 0 +--- frequency level of core 4 is 0 +--- frequency level of core 5 is 2 +--- frequency level of core 6 is 0 +--- frequency level of core 7 is 0 +--- Number of cores to occupy = 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 2 +--- Now threads are running and the phone is ready to be sampled with the power meter \n--- Threads pids +Thread_0_ready_for_sampling +Thread_1_ready_for_sampling +--- Printing cc_info beginning datas (for the samsung galaxy s8) + --- Starting power meter sampling for about 600 seconds +--- Sampling with the Monsoon power meter +powermeter script : --- Inside the monsoon_power_meter, arg function: 2 +powermeter script : Experiment duration = 600 +powermeter script : Creating the Monsoon engine +powermeter script : Creating the Monsoon engine +powermeter script : Configuring channels the Monsoon engine +powermeter script : Configuring output to : C:\Users\lavoi\opportunist_task_on_android\scripts_valuable_files\experiment_automatization\last_tmp_expermiment_folder\configuration_mesurement.csv +powermeter script : Starting sampling; number of sample = 3000000 + returning 3000000 samples after experiments +powermeter script : Total nomber of sample measured : 3000000 +powermeter script : Computing powermeter summary result + Number of samples = 3000000 +powermeter script : We computed the energy on 600 samples +powermeter script : average_power = 859.9466955837246 +powermeter script : average_power with numpy arrays = 859.9466955837061 +powermeter script : Summary Result = time (s): 601.2181499004364 +Ins Current (mA):170.03799204498696 +Samples: 3000000 +Consumed Energy (mAs): 101361.43321974271 +Consumed Energy (mAh): 28.155953672150755 +Consumed Energy (mWs): 508916.5207964621 +Consumed Energy (mWh): 141.36570022123948 +Avg power (mW): 859.9466955837246 +Avg Current (mA): 171.2693430127786 +Avg Voltage (V): 5.021019409875141 +Exp Batt Life (hrs for 1000mAh battery): NOT COMPUTED +--- Monsoon power meter sampling is finished ! + --- experiment folder path /mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/last_tmp_expermiment_folder +--- frequency level of core 0 is 2 +--- frequency level of core 1 is 0 +--- frequency level of core 2 is 0 +--- frequency level of core 3 is 0 +--- frequency level of core 4 is 0 +--- frequency level of core 5 is 2 +--- frequency level of core 6 is 0 +--- frequency level of core 7 is 0 +--- Number of threads normally started = 2 +--- Number of thread ended: 2 +--- Now threads are stopped, getting the cc_info_level for samsung +--- Copying thread results locally +command /mnt/c/Program Files/Android/platform-tools_r33.0.1-windows/platform-tools/adb.exe pull /sdcard/experiments_automatization/app_output_folder C:\Users\lavoi\opportunist_task_on_android\scripts_valuable_files\experiment_automatization\last_tmp_expermiment_folder </dev/null +/sdcard/experiments_automatization/app_output_folder/: 4 files pulled, 0 skipped. 0.0 MB/s (909 bytes in 0.034s) +saving the logcat file to /mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/last_tmp_expermiment_folder -/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/last_tmp_expermiment_folder- +--- Parsing result from /mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/last_tmp_expermiment_folder to /mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/output_folder/raw_result.txt +--- Getting exact configuration with frequency +--- Configuration with frequencies = [1363200- 0- 0- 0- 0- 1363200- 0- 0] +--- Getting the powermeter summary +--- Powermeter summary: +time (s): 601.2181499004364 +Ins Current (mA):170.03799204498696 +Samples: 3000000 +Consumed Energy (mAs): 101361.43321974271 +Consumed Energy (mAh): 28.155953672150755 +Consumed Energy (mWs): 508916.5207964621 +Consumed Energy (mWh): 141.36570022123948 +Avg power (mW): 859.9466955837246 +Avg Current (mA): 171.2693430127786 +Avg Voltage (V): 5.021019409875141 + +--- Getting the total energy consumed of the google pixel +--- Energy consumed = 28.155953672150755 +--- Starting cc_info = 0 +--- Ending cc_info = 0 +--- Getting the average power +--- Avg Power = 859.9466955837246 +--- Printing the total threads summary +--- Thread results +Thread : 0 - ThreadProcess id: 31835 +---------------------------------------- +Starting time: Sat, 18 Dec 2021 18:08:39 +0100 +Core id: 0 +Ending time: Sat, 18 Dec 2021 18:18:39 +0100 - Duration: 600005 seconds +Real workload: 1.150375658880399E11 - Integer reached: 198334 - Number of reset = 0 +Battery stats: 0 mAH +Computed Drain: Null +Start: 50 % - End: 50 +Cc_info at the beginning: 0 mAh +Cc_info at the end: 0 mAh +Cc_info variation: 0.0 mAh + +Thread : 1 - ThreadProcess id: 31836 +---------------------------------------- +Starting time: Sat, 18 Dec 2021 18:08:39 +0100 +Core id: 5 +Ending time: Sat, 18 Dec 2021 18:18:40 +0100 - Duration: 600014 seconds +Real workload: 1.1482840089744902E11 - Integer reached: 198161 - Number of reset = 0 +Battery stats: 0 mAH +Computed Drain: Null +Start: 50 % - End: 50 +Cc_info at the beginning: 0 mAh +Cc_info at the end: 0 mAh +Cc_info variation: 0.0 mAh + + +--- Counting the total workload command : print_total_workload /mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/last_tmp_expermiment_folder app_output_folder 2,0,0,0,0,2,0,0 /mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first +--- Total workload : 2.29866e+11 +--- Getting energy efficiency +--- Energy efficiency: 1.22489e-10 +--- Building what we will add to the total result file command +------ + (build_configuration_raw_result 200002-0-0 2,0,0,0,0,2,0,0 [1363200- 0- 0- 0- 0- 1363200- 0- 0] time (s): 601.2181499004364 +Ins Current (mA):170.03799204498696 +Samples: 3000000 +Consumed Energy (mAs): 101361.43321974271 +Consumed Energy (mAh): 28.155953672150755 +Consumed Energy (mWs): 508916.5207964621 +Consumed Energy (mWh): 141.36570022123948 +Avg power (mW): 859.9466955837246 +Avg Current (mA): 171.2693430127786 +Avg Voltage (V): 5.021019409875141 + Thread : 0 - ThreadProcess id: 31835 +---------------------------------------- +Starting time: Sat, 18 Dec 2021 18:08:39 +0100 +Core id: 0 +Ending time: Sat, 18 Dec 2021 18:18:39 +0100 - Duration: 600005 seconds +Real workload: 1.150375658880399E11 - Integer reached: 198334 - Number of reset = 0 +Battery stats: 0 mAH +Computed Drain: Null +Start: 50 % - End: 50 +Cc_info at the beginning: 0 mAh +Cc_info at the end: 0 mAh +Cc_info variation: 0.0 mAh + +Thread : 1 - ThreadProcess id: 31836 +---------------------------------------- +Starting time: Sat, 18 Dec 2021 18:08:39 +0100 +Core id: 5 +Ending time: Sat, 18 Dec 2021 18:18:40 +0100 - Duration: 600014 seconds +Real workload: 1.1482840089744902E11 - Integer reached: 198161 - Number of reset = 0 +Battery stats: 0 mAH +Computed Drain: Null +Start: 50 % - End: 50 +Cc_info at the beginning: 0 mAh +Cc_info at the end: 0 mAh +Cc_info variation: 0.0 mAh + + 28.155953672150755 2.29866e+11 1.22489e-10 0 0 +------ + +--- Final result to print to File + -------------------------------------------------------------------------------- + +++++ +++++ +++++ Configuration Description +-------------------------------------------------------------------------------- +Configuration: 200002-0-0 +phone format: 2,0,0,0,0,2,0,0 +Exact values of frequencies: [1363200- 0- 0- 0- 0- 1363200- 0- 0] + +Power meter results +------------------------------------------------------------ +time (s): 601.2181499004364 +Ins Current (mA):170.03799204498696 +Samples: 3000000 +Consumed Energy (mAs): 101361.43321974271 +Consumed Energy (mAh): 28.155953672150755 +Consumed Energy (mWs): 508916.5207964621 +Consumed Energy (mWh): 141.36570022123948 +Avg power (mW): 859.9466955837246 +Avg Current (mA): 171.2693430127786 +Avg Voltage (V): 5.021019409875141 + +Threads results +------------------------------------------------------------ +Thread : 0 - ThreadProcess id: 31835 +---------------------------------------- +Starting time: Sat, 18 Dec 2021 18:08:39 +0100 +Core id: 0 +Ending time: Sat, 18 Dec 2021 18:18:39 +0100 - Duration: 600005 seconds +Real workload: 1.150375658880399E11 - Integer reached: 198334 - Number of reset = 0 +Battery stats: 0 mAH +Computed Drain: Null +Start: 50 % - End: 50 +Cc_info at the beginning: 0 mAh +Cc_info at the end: 0 mAh +Cc_info variation: 0.0 mAh + +Thread : 1 - ThreadProcess id: 31836 +---------------------------------------- +Starting time: Sat, 18 Dec 2021 18:08:39 +0100 +Core id: 5 +Ending time: Sat, 18 Dec 2021 18:18:40 +0100 - Duration: 600014 seconds +Real workload: 1.1482840089744902E11 - Integer reached: 198161 - Number of reset = 0 +Battery stats: 0 mAH +Computed Drain: Null +Start: 50 % - End: 50 +Cc_info at the beginning: 0 mAh +Cc_info at the end: 0 mAh +Cc_info variation: 0.0 mAh + + +Expermiment results +------------------------------------------------------------ +Energy Consumed (mAh): 28.155953672150755 +Workload: 2.29866e+11 +Energy efficiency: 1.22489e-10 +-------------------------------------------------------------------------------- + + +--- Writing to the total result file +--- Removing previous tested configuration tmp_output folder +removed '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__03Oct22_19_51_59/app_output_folder/all_workloads.txt' +removed '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__03Oct22_19_51_59/app_output_folder/Thread_0_ended' +removed '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__03Oct22_19_51_59/app_output_folder/Thread_0_ready_for_sampling' +removed '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__03Oct22_19_51_59/app_output_folder/Thread_1_ended' +removed '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__03Oct22_19_51_59/app_output_folder/Thread_1_ready_for_sampling' +removed directory '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__03Oct22_19_51_59/app_output_folder' +removed '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__03Oct22_19_51_59/configuration_mesurement.csv' +removed '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__03Oct22_19_51_59/energy_power_workload_energyByWorkload_ccInfo' +removed '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__03Oct22_19_51_59/logcat_output' +removed '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__03Oct22_19_51_59/powermeter_summary.txt' +removed directory '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__03Oct22_19_51_59' +--- Moving the current experiment tmp_folder to the output result folder +writing a temporary file for the main script with format energy_power_workload_energyByWorkload_ccInfo +--- Obtaining experiment summary result to add to result folder +--- Experiment result, Energy consumed = 28.155953672150755 +--- Experiment result, Avg Power = 859.9466955837246 +--- Experiment result, Total Workload = 2.29866e+11 +--- Experiment result, Energy Efficiency = 1.22489e-10 +--- Adding result to summary file +--- Starting cc information : 0 +--- Ending cc information : 0 +--- The file /mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/output_folder/summary.csv exists we just appending the result to the file +--- Experiments performed on configuration 200002-0-0. +--- Observing a pause betwenn experiment; pause duration : 180 seconds; starting at 03Oct22_20_04_43 +--- Performing experiments on configuration 200020-0-0 +--- Cleaning the tmp expermiment folder : /mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/last_tmp_expermiment_folder +--- Second step : verifying the battery level +--- Verifying the battery level +--- Getting current battery level, adb command path: /mnt/c/Program Files/Android/platform-tools_r33.0.1-windows/platform-tools/adb.exe +--- Current battery level : 50 +Current battery level: OKAY +--- Third step calibrating phone core frequency +--- Resetting all frequency configurations + -- Command used : echo schedutil > /sys/devices/system/cpu/cpu1/cpufreq/scaling_governor + -- Command used : echo schedutil > /sys/devices/system/cpu/cpu2/cpufreq/scaling_governor + -- Command used : echo schedutil > /sys/devices/system/cpu/cpu3/cpufreq/scaling_governor + -- Command used : echo schedutil > /sys/devices/system/cpu/cpu4/cpufreq/scaling_governor + -- Command used : echo schedutil > /sys/devices/system/cpu/cpu5/cpufreq/scaling_governor + -- Command used : echo schedutil > /sys/devices/system/cpu/cpu6/cpufreq/scaling_governor + -- Command used : echo schedutil > /sys/devices/system/cpu/cpu7/cpufreq/scaling_governor +--- Frequency level of core 0 is 2 +--- Exact frequency of core 0: 1363200 +--- Modifying the governor of core 0 +--- Modifying the the current frequency of core 0 with frequency 1363200 +--- Frequency level of core 1 is 0 +--- Exact frequency of core 1: 0 +--- Modifying the governor of core 1 +--- Modifying the the current frequency of core 1 with frequency 0 +--- Frequency level of core 2 is 0 +--- Exact frequency of core 2: 0 +--- Modifying the governor of core 2 +--- Modifying the the current frequency of core 2 with frequency 0 +--- Frequency level of core 3 is 0 +--- Exact frequency of core 3: 0 +--- Modifying the governor of core 3 +--- Modifying the the current frequency of core 3 with frequency 0 +--- Frequency level of core 4 is 2 +--- Exact frequency of core 4: 1363200 +--- Modifying the governor of core 4 +--- Modifying the the current frequency of core 4 with frequency 1363200 +--- Frequency level of core 5 is 0 +--- Exact frequency of core 5: 0 +--- Modifying the governor of core 5 +--- Modifying the the current frequency of core 5 with frequency 0 +--- Frequency level of core 6 is 0 +--- Exact frequency of core 6: 0 +--- Modifying the governor of core 6 +--- Modifying the the current frequency of core 6 with frequency 0 +--- Frequency level of core 7 is 0 +--- Exact frequency of core 7: 0 +--- Modifying the governor of core 7 +--- Modifying the the current frequency of core 7 with frequency 0 +--- Calibrating Monsoon power meter, please wait for 10 seconds... +powermeter script : --- Inside the monsoon_power_meter, arg function: 1 +powermeter script : calibration duration = 10 +powermeter script : Creating the Monsoon engine +powermeter script : Creating the Monsoon engine +powermeter script : Configuring channels the Monsoon engine +powermeter script : Configuring output to : C:\Users\lavoi\opportunist_task_on_android\scripts_valuable_files\experiment_automatization\last_tmp_expermiment_folder\configuration_mesurement.csv +powermeter script : Starting sampling; number of sample = 50000 + returning 50000 samples after experiments +powermeter script : Power meter calibration okay +--- Monsoon power meter Calibrated +--- starting the benchmarking app +## writing the configuration inside the phone file + --- Removing file /sdcard/experiments_automatization +rm '/sdcard/experiments_automatization/current_configuration.txt' +rm '/sdcard/experiments_automatization/experiment_duration.txt' +rm '/sdcard/experiments_automatization/app_output_folder/Thread_0_ready_for_sampling' +rm '/sdcard/experiments_automatization/app_output_folder/Thread_1_ready_for_sampling' +rm '/sdcard/experiments_automatization/app_output_folder/Thread_0_ended' +rm '/sdcard/experiments_automatization/app_output_folder/Thread_1_ended' +rmdir '/sdcard/experiments_automatization/app_output_folder' +rmdir '/sdcard/experiments_automatization' + --- Clearing the logcat + --- Creating file /sdcard/experiments_automatization +----- Uninstalling experiment app +Success +----- Installing experiment app +Performing Streamed Install +Success +------ Giving rights to experiment app +----- Starting experiment app +Starting: Intent { cmp=com.opportunistask.scheduling.benchmarking_app_to_test_big_cores/.MainActivity } +adb command : ps -A | grep com.opportunistask.scheduling.benchmarking_app_to_test_big_cores + ----- Experiment app started with pid: 32643 +---- waiting for benchmarking app thread to be pinned and to be ready +--- frequency level of core 0 is 2 +--- frequency level of core 1 is 0 +--- frequency level of core 2 is 0 +--- frequency level of core 3 is 0 +--- frequency level of core 4 is 2 +--- frequency level of core 5 is 0 +--- frequency level of core 6 is 0 +--- frequency level of core 7 is 0 +--- Number of cores to occupy = 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 2 +--- Now threads are running and the phone is ready to be sampled with the power meter \n--- Threads pids +Thread_0_ready_for_sampling +Thread_1_ready_for_sampling +--- Printing cc_info beginning datas (for the samsung galaxy s8) + --- Starting power meter sampling for about 600 seconds +--- Sampling with the Monsoon power meter +powermeter script : --- Inside the monsoon_power_meter, arg function: 2 +powermeter script : Experiment duration = 600 +powermeter script : Creating the Monsoon engine +powermeter script : Creating the Monsoon engine +powermeter script : Configuring channels the Monsoon engine +powermeter script : Configuring output to : C:\Users\lavoi\opportunist_task_on_android\scripts_valuable_files\experiment_automatization\last_tmp_expermiment_folder\configuration_mesurement.csv +powermeter script : Starting sampling; number of sample = 3000000 + returning 3000000 samples after experiments +powermeter script : Total nomber of sample measured : 3000000 +powermeter script : Computing powermeter summary result + Number of samples = 3000000 +powermeter script : We computed the energy on 600 samples +powermeter script : average_power = 731.917838387565 +powermeter script : average_power with numpy arrays = 731.9178383874673 +powermeter script : Summary Result = time (s): 602.3457834720612 +Ins Current (mA):135.4222510914868 +Samples: 3000000 +Consumed Energy (mAs): 86516.53366323434 +Consumed Energy (mAh): 24.03237046200954 +Consumed Energy (mWs): 435933.4137188727 +Consumed Energy (mWh): 121.09261492190909 +Avg power (mW): 731.917838387565 +Avg Current (mA): 145.211797528624 +Avg Voltage (V): 5.040346933542297 +Exp Batt Life (hrs for 1000mAh battery): NOT COMPUTED +--- Monsoon power meter sampling is finished ! + --- experiment folder path /mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/last_tmp_expermiment_folder +--- frequency level of core 0 is 2 +--- frequency level of core 1 is 0 +--- frequency level of core 2 is 0 +--- frequency level of core 3 is 0 +--- frequency level of core 4 is 2 +--- frequency level of core 5 is 0 +--- frequency level of core 6 is 0 +--- frequency level of core 7 is 0 +--- Number of threads normally started = 2 +--- Number of thread ended: 2 +--- Now threads are stopped, getting the cc_info_level for samsung +--- Copying thread results locally +command /mnt/c/Program Files/Android/platform-tools_r33.0.1-windows/platform-tools/adb.exe pull /sdcard/experiments_automatization/app_output_folder C:\Users\lavoi\opportunist_task_on_android\scripts_valuable_files\experiment_automatization\last_tmp_expermiment_folder </dev/null +/sdcard/experiments_automatization/app_output_folder/: 4 files pulled, 0 skipped. 0.0 MB/s (907 bytes in 0.027s) +saving the logcat file to /mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/last_tmp_expermiment_folder -/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/last_tmp_expermiment_folder- +--- Parsing result from /mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/last_tmp_expermiment_folder to /mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/output_folder/raw_result.txt +--- Getting exact configuration with frequency +--- Configuration with frequencies = [1363200- 0- 0- 0- 1363200- 0- 0- 0] +--- Getting the powermeter summary +--- Powermeter summary: +time (s): 602.3457834720612 +Ins Current (mA):135.4222510914868 +Samples: 3000000 +Consumed Energy (mAs): 86516.53366323434 +Consumed Energy (mAh): 24.03237046200954 +Consumed Energy (mWs): 435933.4137188727 +Consumed Energy (mWh): 121.09261492190909 +Avg power (mW): 731.917838387565 +Avg Current (mA): 145.211797528624 +Avg Voltage (V): 5.040346933542297 + +--- Getting the total energy consumed of the google pixel +--- Energy consumed = 24.03237046200954 +--- Starting cc_info = 0 +--- Ending cc_info = 0 +--- Getting the average power +--- Avg Power = 731.917838387565 +--- Printing the total threads summary +--- Thread results +Thread : 0 - ThreadProcess id: 32668 +---------------------------------------- +Starting time: Sat, 18 Dec 2021 18:24:27 +0100 +Core id: 0 +Ending time: Sat, 18 Dec 2021 18:34:28 +0100 - Duration: 600022 seconds +Real workload: 4.689791238684032E10 - Integer reached: 129028 - Number of reset = 0 +Battery stats: 0 mAH +Computed Drain: Null +Start: 50 % - End: 50 +Cc_info at the beginning: 0 mAh +Cc_info at the end: 0 mAh +Cc_info variation: 0.0 mAh + +Thread : 1 - ThreadProcess id: 32669 +---------------------------------------- +Starting time: Sat, 18 Dec 2021 18:24:27 +0100 +Core id: 4 +Ending time: Sat, 18 Dec 2021 18:34:28 +0100 - Duration: 600012 seconds +Real workload: 4.71449873647981E10 - Integer reached: 129353 - Number of reset = 0 +Battery stats: 0 mAH +Computed Drain: Null +Start: 50 % - End: 50 +Cc_info at the beginning: 0 mAh +Cc_info at the end: 0 mAh +Cc_info variation: 0.0 mAh + + +--- Counting the total workload command : print_total_workload /mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/last_tmp_expermiment_folder app_output_folder 2,0,0,0,2,0,0,0 /mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first +--- Total workload : 9.40429e+10 +--- Getting energy efficiency +--- Energy efficiency: 2.55547e-10 +--- Building what we will add to the total result file command +------ + (build_configuration_raw_result 200020-0-0 2,0,0,0,2,0,0,0 [1363200- 0- 0- 0- 1363200- 0- 0- 0] time (s): 602.3457834720612 +Ins Current (mA):135.4222510914868 +Samples: 3000000 +Consumed Energy (mAs): 86516.53366323434 +Consumed Energy (mAh): 24.03237046200954 +Consumed Energy (mWs): 435933.4137188727 +Consumed Energy (mWh): 121.09261492190909 +Avg power (mW): 731.917838387565 +Avg Current (mA): 145.211797528624 +Avg Voltage (V): 5.040346933542297 + Thread : 0 - ThreadProcess id: 32668 +---------------------------------------- +Starting time: Sat, 18 Dec 2021 18:24:27 +0100 +Core id: 0 +Ending time: Sat, 18 Dec 2021 18:34:28 +0100 - Duration: 600022 seconds +Real workload: 4.689791238684032E10 - Integer reached: 129028 - Number of reset = 0 +Battery stats: 0 mAH +Computed Drain: Null +Start: 50 % - End: 50 +Cc_info at the beginning: 0 mAh +Cc_info at the end: 0 mAh +Cc_info variation: 0.0 mAh + +Thread : 1 - ThreadProcess id: 32669 +---------------------------------------- +Starting time: Sat, 18 Dec 2021 18:24:27 +0100 +Core id: 4 +Ending time: Sat, 18 Dec 2021 18:34:28 +0100 - Duration: 600012 seconds +Real workload: 4.71449873647981E10 - Integer reached: 129353 - Number of reset = 0 +Battery stats: 0 mAH +Computed Drain: Null +Start: 50 % - End: 50 +Cc_info at the beginning: 0 mAh +Cc_info at the end: 0 mAh +Cc_info variation: 0.0 mAh + + 24.03237046200954 9.40429e+10 2.55547e-10 0 0 +------ + +--- Final result to print to File + -------------------------------------------------------------------------------- + +++++ +++++ +++++ Configuration Description +-------------------------------------------------------------------------------- +Configuration: 200020-0-0 +phone format: 2,0,0,0,2,0,0,0 +Exact values of frequencies: [1363200- 0- 0- 0- 1363200- 0- 0- 0] + +Power meter results +------------------------------------------------------------ +time (s): 602.3457834720612 +Ins Current (mA):135.4222510914868 +Samples: 3000000 +Consumed Energy (mAs): 86516.53366323434 +Consumed Energy (mAh): 24.03237046200954 +Consumed Energy (mWs): 435933.4137188727 +Consumed Energy (mWh): 121.09261492190909 +Avg power (mW): 731.917838387565 +Avg Current (mA): 145.211797528624 +Avg Voltage (V): 5.040346933542297 + +Threads results +------------------------------------------------------------ +Thread : 0 - ThreadProcess id: 32668 +---------------------------------------- +Starting time: Sat, 18 Dec 2021 18:24:27 +0100 +Core id: 0 +Ending time: Sat, 18 Dec 2021 18:34:28 +0100 - Duration: 600022 seconds +Real workload: 4.689791238684032E10 - Integer reached: 129028 - Number of reset = 0 +Battery stats: 0 mAH +Computed Drain: Null +Start: 50 % - End: 50 +Cc_info at the beginning: 0 mAh +Cc_info at the end: 0 mAh +Cc_info variation: 0.0 mAh + +Thread : 1 - ThreadProcess id: 32669 +---------------------------------------- +Starting time: Sat, 18 Dec 2021 18:24:27 +0100 +Core id: 4 +Ending time: Sat, 18 Dec 2021 18:34:28 +0100 - Duration: 600012 seconds +Real workload: 4.71449873647981E10 - Integer reached: 129353 - Number of reset = 0 +Battery stats: 0 mAH +Computed Drain: Null +Start: 50 % - End: 50 +Cc_info at the beginning: 0 mAh +Cc_info at the end: 0 mAh +Cc_info variation: 0.0 mAh + + +Expermiment results +------------------------------------------------------------ +Energy Consumed (mAh): 24.03237046200954 +Workload: 9.40429e+10 +Energy efficiency: 2.55547e-10 +-------------------------------------------------------------------------------- + + +--- Writing to the total result file +--- Removing previous tested configuration tmp_output folder +removed '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__03Oct22_20_07_45/app_output_folder/all_workloads.txt' +removed '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__03Oct22_20_07_45/app_output_folder/Thread_0_ended' +removed '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__03Oct22_20_07_45/app_output_folder/Thread_0_ready_for_sampling' +removed '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__03Oct22_20_07_45/app_output_folder/Thread_1_ended' +removed '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__03Oct22_20_07_45/app_output_folder/Thread_1_ready_for_sampling' +removed directory '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__03Oct22_20_07_45/app_output_folder' +removed '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__03Oct22_20_07_45/configuration_mesurement.csv' +removed '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__03Oct22_20_07_45/energy_power_workload_energyByWorkload_ccInfo' +removed '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__03Oct22_20_07_45/logcat_output' +removed '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__03Oct22_20_07_45/powermeter_summary.txt' +removed directory '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__03Oct22_20_07_45' +--- Moving the current experiment tmp_folder to the output result folder +writing a temporary file for the main script with format energy_power_workload_energyByWorkload_ccInfo +--- Obtaining experiment summary result to add to result folder +--- Experiment result, Energy consumed = 24.03237046200954 +--- Experiment result, Avg Power = 731.917838387565 +--- Experiment result, Total Workload = 9.40429e+10 +--- Experiment result, Energy Efficiency = 2.55547e-10 +--- Adding result to summary file +--- Starting cc information : 0 +--- Ending cc information : 0 +--- The file /mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/output_folder/summary.csv exists we just appending the result to the file +--- Experiments performed on configuration 200020-0-0. +--- Observing a pause betwenn experiment; pause duration : 180 seconds; starting at 03Oct22_20_20_32 +--- Performing experiments on configuration 200020-0-0 +--- Cleaning the tmp expermiment folder : /mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/last_tmp_expermiment_folder +--- Second step : verifying the battery level +--- Verifying the battery level +--- Getting current battery level, adb command path: /mnt/c/Program Files/Android/platform-tools_r33.0.1-windows/platform-tools/adb.exe +--- Current battery level : 50 +Current battery level: OKAY +--- Third step calibrating phone core frequency +--- Resetting all frequency configurations + -- Command used : echo schedutil > /sys/devices/system/cpu/cpu1/cpufreq/scaling_governor + -- Command used : echo schedutil > /sys/devices/system/cpu/cpu2/cpufreq/scaling_governor + -- Command used : echo schedutil > /sys/devices/system/cpu/cpu3/cpufreq/scaling_governor + -- Command used : echo schedutil > /sys/devices/system/cpu/cpu4/cpufreq/scaling_governor + -- Command used : echo schedutil > /sys/devices/system/cpu/cpu5/cpufreq/scaling_governor + -- Command used : echo schedutil > /sys/devices/system/cpu/cpu6/cpufreq/scaling_governor + -- Command used : echo schedutil > /sys/devices/system/cpu/cpu7/cpufreq/scaling_governor +--- Frequency level of core 0 is 2 +--- Exact frequency of core 0: 1363200 +--- Modifying the governor of core 0 +--- Modifying the the current frequency of core 0 with frequency 1363200 +--- Frequency level of core 1 is 0 +--- Exact frequency of core 1: 0 +--- Modifying the governor of core 1 +--- Modifying the the current frequency of core 1 with frequency 0 +--- Frequency level of core 2 is 0 +--- Exact frequency of core 2: 0 +--- Modifying the governor of core 2 +--- Modifying the the current frequency of core 2 with frequency 0 +--- Frequency level of core 3 is 0 +--- Exact frequency of core 3: 0 +--- Modifying the governor of core 3 +--- Modifying the the current frequency of core 3 with frequency 0 +--- Frequency level of core 4 is 2 +--- Exact frequency of core 4: 1363200 +--- Modifying the governor of core 4 +--- Modifying the the current frequency of core 4 with frequency 1363200 +--- Frequency level of core 5 is 0 +--- Exact frequency of core 5: 0 +--- Modifying the governor of core 5 +--- Modifying the the current frequency of core 5 with frequency 0 +--- Frequency level of core 6 is 0 +--- Exact frequency of core 6: 0 +--- Modifying the governor of core 6 +--- Modifying the the current frequency of core 6 with frequency 0 +--- Frequency level of core 7 is 0 +--- Exact frequency of core 7: 0 +--- Modifying the governor of core 7 +--- Modifying the the current frequency of core 7 with frequency 0 +--- Calibrating Monsoon power meter, please wait for 10 seconds... +powermeter script : --- Inside the monsoon_power_meter, arg function: 1 +powermeter script : calibration duration = 10 +powermeter script : Creating the Monsoon engine +powermeter script : Creating the Monsoon engine +powermeter script : Configuring channels the Monsoon engine +powermeter script : Configuring output to : C:\Users\lavoi\opportunist_task_on_android\scripts_valuable_files\experiment_automatization\last_tmp_expermiment_folder\configuration_mesurement.csv +powermeter script : Starting sampling; number of sample = 50000 + returning 50000 samples after experiments +powermeter script : Power meter calibration okay +--- Monsoon power meter Calibrated +--- starting the benchmarking app +## writing the configuration inside the phone file + --- Removing file /sdcard/experiments_automatization +rm '/sdcard/experiments_automatization/current_configuration.txt' +rm '/sdcard/experiments_automatization/experiment_duration.txt' +rm '/sdcard/experiments_automatization/app_output_folder/Thread_0_ready_for_sampling' +rm '/sdcard/experiments_automatization/app_output_folder/Thread_1_ready_for_sampling' +rm '/sdcard/experiments_automatization/app_output_folder/Thread_0_ended' +rm '/sdcard/experiments_automatization/app_output_folder/Thread_1_ended' +rmdir '/sdcard/experiments_automatization/app_output_folder' +rmdir '/sdcard/experiments_automatization' + --- Clearing the logcat + --- Creating file /sdcard/experiments_automatization +----- Uninstalling experiment app +Success +----- Installing experiment app +Performing Streamed Install +Success +------ Giving rights to experiment app +----- Starting experiment app +Starting: Intent { cmp=com.opportunistask.scheduling.benchmarking_app_to_test_big_cores/.MainActivity } +adb command : ps -A | grep com.opportunistask.scheduling.benchmarking_app_to_test_big_cores + ----- Experiment app started with pid: 2324 +---- waiting for benchmarking app thread to be pinned and to be ready +--- frequency level of core 0 is 2 +--- frequency level of core 1 is 0 +--- frequency level of core 2 is 0 +--- frequency level of core 3 is 0 +--- frequency level of core 4 is 2 +--- frequency level of core 5 is 0 +--- frequency level of core 6 is 0 +--- frequency level of core 7 is 0 +--- Number of cores to occupy = 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 1 +--- The current number of thread ready to be sambled : 1, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 2 +--- Now threads are running and the phone is ready to be sampled with the power meter \n--- Threads pids +Thread_0_ready_for_sampling +Thread_1_ready_for_sampling +--- Printing cc_info beginning datas (for the samsung galaxy s8) + --- Starting power meter sampling for about 600 seconds +--- Sampling with the Monsoon power meter +powermeter script : --- Inside the monsoon_power_meter, arg function: 2 +powermeter script : Experiment duration = 600 +powermeter script : Creating the Monsoon engine +powermeter script : Creating the Monsoon engine +powermeter script : Configuring channels the Monsoon engine +powermeter script : Configuring output to : C:\Users\lavoi\opportunist_task_on_android\scripts_valuable_files\experiment_automatization\last_tmp_expermiment_folder\configuration_mesurement.csv +powermeter script : Starting sampling; number of sample = 3000000 + returning 3000000 samples after experiments +powermeter script : Total nomber of sample measured : 3000000 +powermeter script : Computing powermeter summary result + Number of samples = 3000000 +powermeter script : We computed the energy on 600 samples +powermeter script : average_power = 744.9448049456295 +powermeter script : average_power with numpy arrays = 744.9448049454912 +powermeter script : Summary Result = time (s): 601.2116229534149 +Ins Current (mA):128.75610127778242 +Samples: 3000000 +Consumed Energy (mAs): 89043.37299606584 +Consumed Energy (mAh): 24.734270276684956 +Consumed Energy (mWs): 448443.9624122648 +Consumed Energy (mWh): 124.56776733674022 +Avg power (mW): 744.9448049456295 +Avg Current (mA): 147.8526774478768 +Avg Voltage (V): 5.0384262077922015 +Exp Batt Life (hrs for 1000mAh battery): NOT COMPUTED +--- Monsoon power meter sampling is finished ! + --- experiment folder path /mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/last_tmp_expermiment_folder +--- frequency level of core 0 is 2 +--- frequency level of core 1 is 0 +--- frequency level of core 2 is 0 +--- frequency level of core 3 is 0 +--- frequency level of core 4 is 2 +--- frequency level of core 5 is 0 +--- frequency level of core 6 is 0 +--- frequency level of core 7 is 0 +--- Number of threads normally started = 2 +--- Number of thread ended: 2 +--- Now threads are stopped, getting the cc_info_level for samsung +--- Copying thread results locally +command /mnt/c/Program Files/Android/platform-tools_r33.0.1-windows/platform-tools/adb.exe pull /sdcard/experiments_automatization/app_output_folder C:\Users\lavoi\opportunist_task_on_android\scripts_valuable_files\experiment_automatization\last_tmp_expermiment_folder </dev/null +/sdcard/experiments_automatization/app_output_folder/: 4 files pulled, 0 skipped. 0.0 MB/s (905 bytes in 0.033s) +saving the logcat file to /mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/last_tmp_expermiment_folder -/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/last_tmp_expermiment_folder- +--- Parsing result from /mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/last_tmp_expermiment_folder to /mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/output_folder/raw_result.txt +--- Getting exact configuration with frequency +--- Configuration with frequencies = [1363200- 0- 0- 0- 1363200- 0- 0- 0] +--- Getting the powermeter summary +--- Powermeter summary: +time (s): 601.2116229534149 +Ins Current (mA):128.75610127778242 +Samples: 3000000 +Consumed Energy (mAs): 89043.37299606584 +Consumed Energy (mAh): 24.734270276684956 +Consumed Energy (mWs): 448443.9624122648 +Consumed Energy (mWh): 124.56776733674022 +Avg power (mW): 744.9448049456295 +Avg Current (mA): 147.8526774478768 +Avg Voltage (V): 5.0384262077922015 + +--- Getting the total energy consumed of the google pixel +--- Energy consumed = 24.734270276684956 +--- Starting cc_info = 0 +--- Ending cc_info = 0 +--- Getting the average power +--- Avg Power = 744.9448049456295 +--- Printing the total threads summary +--- Thread results +Thread : 0 - ThreadProcess id: 2382 +---------------------------------------- +Starting time: Sat, 18 Dec 2021 18:40:17 +0100 +Core id: 0 +Ending time: Sat, 18 Dec 2021 18:50:17 +0100 - Duration: 600004 seconds +Real workload: 4.683416267474573E10 - Integer reached: 128944 - Number of reset = 0 +Battery stats: 0 mAH +Computed Drain: Null +Start: 50 % - End: 50 +Cc_info at the beginning: 0 mAh +Cc_info at the end: 0 mAh +Cc_info variation: 0.0 mAh + +Thread : 1 - ThreadProcess id: 2383 +---------------------------------------- +Starting time: Sat, 18 Dec 2021 18:40:16 +0100 +Core id: 4 +Ending time: Sat, 18 Dec 2021 18:50:17 +0100 - Duration: 600016 seconds +Real workload: 4.6967025403698715E10 - Integer reached: 129119 - Number of reset = 0 +Battery stats: 0 mAH +Computed Drain: Null +Start: 50 % - End: 50 +Cc_info at the beginning: 0 mAh +Cc_info at the end: 0 mAh +Cc_info variation: 0.0 mAh + + +--- Counting the total workload command : print_total_workload /mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/last_tmp_expermiment_folder app_output_folder 2,0,0,0,2,0,0,0 /mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first +--- Total workload : 9.38012e+10 +--- Getting energy efficiency +--- Energy efficiency: 2.63688e-10 +--- Building what we will add to the total result file command +------ + (build_configuration_raw_result 200020-0-0 2,0,0,0,2,0,0,0 [1363200- 0- 0- 0- 1363200- 0- 0- 0] time (s): 601.2116229534149 +Ins Current (mA):128.75610127778242 +Samples: 3000000 +Consumed Energy (mAs): 89043.37299606584 +Consumed Energy (mAh): 24.734270276684956 +Consumed Energy (mWs): 448443.9624122648 +Consumed Energy (mWh): 124.56776733674022 +Avg power (mW): 744.9448049456295 +Avg Current (mA): 147.8526774478768 +Avg Voltage (V): 5.0384262077922015 + Thread : 0 - ThreadProcess id: 2382 +---------------------------------------- +Starting time: Sat, 18 Dec 2021 18:40:17 +0100 +Core id: 0 +Ending time: Sat, 18 Dec 2021 18:50:17 +0100 - Duration: 600004 seconds +Real workload: 4.683416267474573E10 - Integer reached: 128944 - Number of reset = 0 +Battery stats: 0 mAH +Computed Drain: Null +Start: 50 % - End: 50 +Cc_info at the beginning: 0 mAh +Cc_info at the end: 0 mAh +Cc_info variation: 0.0 mAh + +Thread : 1 - ThreadProcess id: 2383 +---------------------------------------- +Starting time: Sat, 18 Dec 2021 18:40:16 +0100 +Core id: 4 +Ending time: Sat, 18 Dec 2021 18:50:17 +0100 - Duration: 600016 seconds +Real workload: 4.6967025403698715E10 - Integer reached: 129119 - Number of reset = 0 +Battery stats: 0 mAH +Computed Drain: Null +Start: 50 % - End: 50 +Cc_info at the beginning: 0 mAh +Cc_info at the end: 0 mAh +Cc_info variation: 0.0 mAh + + 24.734270276684956 9.38012e+10 2.63688e-10 0 0 +------ + +--- Final result to print to File + -------------------------------------------------------------------------------- + +++++ +++++ +++++ Configuration Description +-------------------------------------------------------------------------------- +Configuration: 200020-0-0 +phone format: 2,0,0,0,2,0,0,0 +Exact values of frequencies: [1363200- 0- 0- 0- 1363200- 0- 0- 0] + +Power meter results +------------------------------------------------------------ +time (s): 601.2116229534149 +Ins Current (mA):128.75610127778242 +Samples: 3000000 +Consumed Energy (mAs): 89043.37299606584 +Consumed Energy (mAh): 24.734270276684956 +Consumed Energy (mWs): 448443.9624122648 +Consumed Energy (mWh): 124.56776733674022 +Avg power (mW): 744.9448049456295 +Avg Current (mA): 147.8526774478768 +Avg Voltage (V): 5.0384262077922015 + +Threads results +------------------------------------------------------------ +Thread : 0 - ThreadProcess id: 2382 +---------------------------------------- +Starting time: Sat, 18 Dec 2021 18:40:17 +0100 +Core id: 0 +Ending time: Sat, 18 Dec 2021 18:50:17 +0100 - Duration: 600004 seconds +Real workload: 4.683416267474573E10 - Integer reached: 128944 - Number of reset = 0 +Battery stats: 0 mAH +Computed Drain: Null +Start: 50 % - End: 50 +Cc_info at the beginning: 0 mAh +Cc_info at the end: 0 mAh +Cc_info variation: 0.0 mAh + +Thread : 1 - ThreadProcess id: 2383 +---------------------------------------- +Starting time: Sat, 18 Dec 2021 18:40:16 +0100 +Core id: 4 +Ending time: Sat, 18 Dec 2021 18:50:17 +0100 - Duration: 600016 seconds +Real workload: 4.6967025403698715E10 - Integer reached: 129119 - Number of reset = 0 +Battery stats: 0 mAH +Computed Drain: Null +Start: 50 % - End: 50 +Cc_info at the beginning: 0 mAh +Cc_info at the end: 0 mAh +Cc_info variation: 0.0 mAh + + +Expermiment results +------------------------------------------------------------ +Energy Consumed (mAh): 24.734270276684956 +Workload: 9.38012e+10 +Energy efficiency: 2.63688e-10 +-------------------------------------------------------------------------------- + + +--- Writing to the total result file +--- Removing previous tested configuration tmp_output folder +removed '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__03Oct22_20_23_34/app_output_folder/all_workloads.txt' +removed '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__03Oct22_20_23_34/app_output_folder/Thread_0_ended' +removed '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__03Oct22_20_23_34/app_output_folder/Thread_0_ready_for_sampling' +removed '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__03Oct22_20_23_34/app_output_folder/Thread_1_ended' +removed '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__03Oct22_20_23_34/app_output_folder/Thread_1_ready_for_sampling' +removed directory '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__03Oct22_20_23_34/app_output_folder' +removed '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__03Oct22_20_23_34/configuration_mesurement.csv' +removed '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__03Oct22_20_23_34/energy_power_workload_energyByWorkload_ccInfo' +removed '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__03Oct22_20_23_34/logcat_output' +removed '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__03Oct22_20_23_34/powermeter_summary.txt' +removed directory '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__03Oct22_20_23_34' +--- Moving the current experiment tmp_folder to the output result folder +writing a temporary file for the main script with format energy_power_workload_energyByWorkload_ccInfo +--- Obtaining experiment summary result to add to result folder +--- Experiment result, Energy consumed = 24.734270276684956 +--- Experiment result, Avg Power = 744.9448049456295 +--- Experiment result, Total Workload = 9.38012e+10 +--- Experiment result, Energy Efficiency = 2.63688e-10 +--- Adding result to summary file +--- Starting cc information : 0 +--- Ending cc information : 0 +--- The file /mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/output_folder/summary.csv exists we just appending the result to the file +--- Experiments performed on configuration 200020-0-0. +--- Observing a pause betwenn experiment; pause duration : 180 seconds; starting at 03Oct22_20_36_21 +--- Performing experiments on configuration 200020-0-0 +--- Cleaning the tmp expermiment folder : /mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/last_tmp_expermiment_folder +--- Second step : verifying the battery level +--- Verifying the battery level +--- Getting current battery level, adb command path: /mnt/c/Program Files/Android/platform-tools_r33.0.1-windows/platform-tools/adb.exe +--- Current battery level : 50 +Current battery level: OKAY +--- Third step calibrating phone core frequency +--- Resetting all frequency configurations + -- Command used : echo schedutil > /sys/devices/system/cpu/cpu1/cpufreq/scaling_governor + -- Command used : echo schedutil > /sys/devices/system/cpu/cpu2/cpufreq/scaling_governor + -- Command used : echo schedutil > /sys/devices/system/cpu/cpu3/cpufreq/scaling_governor + -- Command used : echo schedutil > /sys/devices/system/cpu/cpu4/cpufreq/scaling_governor + -- Command used : echo schedutil > /sys/devices/system/cpu/cpu5/cpufreq/scaling_governor + -- Command used : echo schedutil > /sys/devices/system/cpu/cpu6/cpufreq/scaling_governor + -- Command used : echo schedutil > /sys/devices/system/cpu/cpu7/cpufreq/scaling_governor +--- Frequency level of core 0 is 2 +--- Exact frequency of core 0: 1363200 +--- Modifying the governor of core 0 +--- Modifying the the current frequency of core 0 with frequency 1363200 +--- Frequency level of core 1 is 0 +--- Exact frequency of core 1: 0 +--- Modifying the governor of core 1 +--- Modifying the the current frequency of core 1 with frequency 0 +--- Frequency level of core 2 is 0 +--- Exact frequency of core 2: 0 +--- Modifying the governor of core 2 +--- Modifying the the current frequency of core 2 with frequency 0 +--- Frequency level of core 3 is 0 +--- Exact frequency of core 3: 0 +--- Modifying the governor of core 3 +--- Modifying the the current frequency of core 3 with frequency 0 +--- Frequency level of core 4 is 2 +--- Exact frequency of core 4: 1363200 +--- Modifying the governor of core 4 +--- Modifying the the current frequency of core 4 with frequency 1363200 +--- Frequency level of core 5 is 0 +--- Exact frequency of core 5: 0 +--- Modifying the governor of core 5 +--- Modifying the the current frequency of core 5 with frequency 0 +--- Frequency level of core 6 is 0 +--- Exact frequency of core 6: 0 +--- Modifying the governor of core 6 +--- Modifying the the current frequency of core 6 with frequency 0 +--- Frequency level of core 7 is 0 +--- Exact frequency of core 7: 0 +--- Modifying the governor of core 7 +--- Modifying the the current frequency of core 7 with frequency 0 +--- Calibrating Monsoon power meter, please wait for 10 seconds... +powermeter script : --- Inside the monsoon_power_meter, arg function: 1 +powermeter script : calibration duration = 10 +powermeter script : Creating the Monsoon engine +powermeter script : Creating the Monsoon engine +powermeter script : Configuring channels the Monsoon engine +powermeter script : Configuring output to : C:\Users\lavoi\opportunist_task_on_android\scripts_valuable_files\experiment_automatization\last_tmp_expermiment_folder\configuration_mesurement.csv +powermeter script : Starting sampling; number of sample = 50000 + returning 50000 samples after experiments +powermeter script : Power meter calibration okay +--- Monsoon power meter Calibrated +--- starting the benchmarking app +## writing the configuration inside the phone file + --- Removing file /sdcard/experiments_automatization +rm '/sdcard/experiments_automatization/current_configuration.txt' +rm '/sdcard/experiments_automatization/experiment_duration.txt' +rm '/sdcard/experiments_automatization/app_output_folder/Thread_1_ready_for_sampling' +rm '/sdcard/experiments_automatization/app_output_folder/Thread_0_ready_for_sampling' +rm '/sdcard/experiments_automatization/app_output_folder/Thread_1_ended' +rm '/sdcard/experiments_automatization/app_output_folder/Thread_0_ended' +rmdir '/sdcard/experiments_automatization/app_output_folder' +rmdir '/sdcard/experiments_automatization' + --- Clearing the logcat + --- Creating file /sdcard/experiments_automatization +----- Uninstalling experiment app +Success +----- Installing experiment app +Performing Streamed Install +Success +------ Giving rights to experiment app +----- Starting experiment app +Starting: Intent { cmp=com.opportunistask.scheduling.benchmarking_app_to_test_big_cores/.MainActivity } +adb command : ps -A | grep com.opportunistask.scheduling.benchmarking_app_to_test_big_cores + ----- Experiment app started with pid: 3668 +---- waiting for benchmarking app thread to be pinned and to be ready +--- frequency level of core 0 is 2 +--- frequency level of core 1 is 0 +--- frequency level of core 2 is 0 +--- frequency level of core 3 is 0 +--- frequency level of core 4 is 2 +--- frequency level of core 5 is 0 +--- frequency level of core 6 is 0 +--- frequency level of core 7 is 0 +--- Number of cores to occupy = 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 2 +--- Now threads are running and the phone is ready to be sampled with the power meter \n--- Threads pids +Thread_0_ready_for_sampling +Thread_1_ready_for_sampling +--- Printing cc_info beginning datas (for the samsung galaxy s8) + --- Starting power meter sampling for about 600 seconds +--- Sampling with the Monsoon power meter +powermeter script : --- Inside the monsoon_power_meter, arg function: 2 +powermeter script : Experiment duration = 600 +powermeter script : Creating the Monsoon engine +powermeter script : Creating the Monsoon engine +powermeter script : Configuring channels the Monsoon engine +powermeter script : Configuring output to : C:\Users\lavoi\opportunist_task_on_android\scripts_valuable_files\experiment_automatization\last_tmp_expermiment_folder\configuration_mesurement.csv +powermeter script : Starting sampling; number of sample = 3000000 + returning 3000000 samples after experiments +powermeter script : Total nomber of sample measured : 3000000 +powermeter script : Computing powermeter summary result + Number of samples = 3000000 +powermeter script : We computed the energy on 600 samples +powermeter script : average_power = 717.9204299633639 +powermeter script : average_power with numpy arrays = 717.9204299633018 +powermeter script : Summary Result = time (s): 601.5907115936279 +Ins Current (mA):147.15080229793978 +Samples: 3000000 +Consumed Energy (mAs): 85475.83701045752 +Consumed Energy (mAh): 23.743288058460422 +Consumed Energy (mWs): 430767.81665986794 +Consumed Energy (mWh): 119.65772684996331 +Avg power (mW): 717.9204299633639 +Avg Current (mA): 142.37241464497 +Avg Voltage (V): 5.042552883250743 +Exp Batt Life (hrs for 1000mAh battery): NOT COMPUTED +--- Monsoon power meter sampling is finished ! + --- experiment folder path /mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/last_tmp_expermiment_folder +--- frequency level of core 0 is 2 +--- frequency level of core 1 is 0 +--- frequency level of core 2 is 0 +--- frequency level of core 3 is 0 +--- frequency level of core 4 is 2 +--- frequency level of core 5 is 0 +--- frequency level of core 6 is 0 +--- frequency level of core 7 is 0 +--- Number of threads normally started = 2 +--- Number of thread ended: 2 +--- Now threads are stopped, getting the cc_info_level for samsung +--- Copying thread results locally +command /mnt/c/Program Files/Android/platform-tools_r33.0.1-windows/platform-tools/adb.exe pull /sdcard/experiments_automatization/app_output_folder C:\Users\lavoi\opportunist_task_on_android\scripts_valuable_files\experiment_automatization\last_tmp_expermiment_folder </dev/null +/sdcard/experiments_automatization/app_output_folder/: 4 files pulled, 0 skipped. 0.0 MB/s (904 bytes in 0.038s) +saving the logcat file to /mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/last_tmp_expermiment_folder -/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/last_tmp_expermiment_folder- +--- Parsing result from /mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/last_tmp_expermiment_folder to /mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/output_folder/raw_result.txt +--- Getting exact configuration with frequency +--- Configuration with frequencies = [1363200- 0- 0- 0- 1363200- 0- 0- 0] +--- Getting the powermeter summary +--- Powermeter summary: +time (s): 601.5907115936279 +Ins Current (mA):147.15080229793978 +Samples: 3000000 +Consumed Energy (mAs): 85475.83701045752 +Consumed Energy (mAh): 23.743288058460422 +Consumed Energy (mWs): 430767.81665986794 +Consumed Energy (mWh): 119.65772684996331 +Avg power (mW): 717.9204299633639 +Avg Current (mA): 142.37241464497 +Avg Voltage (V): 5.042552883250743 + +--- Getting the total energy consumed of the google pixel +--- Energy consumed = 23.743288058460422 +--- Starting cc_info = 0 +--- Ending cc_info = 0 +--- Getting the average power +--- Avg Power = 717.9204299633639 +--- Printing the total threads summary +--- Thread results +Thread : 0 - ThreadProcess id: 3696 +---------------------------------------- +Starting time: Sat, 18 Dec 2021 18:56:06 +0100 +Core id: 0 +Ending time: Sat, 18 Dec 2021 19:06:06 +0100 - Duration: 600023 seconds +Real workload: 4.712443544614491E10 - Integer reached: 129326 - Number of reset = 0 +Battery stats: 0 mAH +Computed Drain: Null +Start: 50 % - End: 50 +Cc_info at the beginning: 0 mAh +Cc_info at the end: 0 mAh +Cc_info variation: 0.0 mAh + +Thread : 1 - ThreadProcess id: 3697 +---------------------------------------- +Starting time: Sat, 18 Dec 2021 18:56:06 +0100 +Core id: 4 +Ending time: Sat, 18 Dec 2021 19:06:06 +0100 - Duration: 600012 seconds +Real workload: 4.669240542279424E10 - Integer reached: 128757 - Number of reset = 0 +Battery stats: 0 mAH +Computed Drain: Null +Start: 50 % - End: 50 +Cc_info at the beginning: 0 mAh +Cc_info at the end: 0 mAh +Cc_info variation: 0.0 mAh + + +--- Counting the total workload command : print_total_workload /mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/last_tmp_expermiment_folder app_output_folder 2,0,0,0,2,0,0,0 /mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first +--- Total workload : 9.38168e+10 +--- Getting energy efficiency +--- Energy efficiency: 2.53081e-10 +--- Building what we will add to the total result file command +------ + (build_configuration_raw_result 200020-0-0 2,0,0,0,2,0,0,0 [1363200- 0- 0- 0- 1363200- 0- 0- 0] time (s): 601.5907115936279 +Ins Current (mA):147.15080229793978 +Samples: 3000000 +Consumed Energy (mAs): 85475.83701045752 +Consumed Energy (mAh): 23.743288058460422 +Consumed Energy (mWs): 430767.81665986794 +Consumed Energy (mWh): 119.65772684996331 +Avg power (mW): 717.9204299633639 +Avg Current (mA): 142.37241464497 +Avg Voltage (V): 5.042552883250743 + Thread : 0 - ThreadProcess id: 3696 +---------------------------------------- +Starting time: Sat, 18 Dec 2021 18:56:06 +0100 +Core id: 0 +Ending time: Sat, 18 Dec 2021 19:06:06 +0100 - Duration: 600023 seconds +Real workload: 4.712443544614491E10 - Integer reached: 129326 - Number of reset = 0 +Battery stats: 0 mAH +Computed Drain: Null +Start: 50 % - End: 50 +Cc_info at the beginning: 0 mAh +Cc_info at the end: 0 mAh +Cc_info variation: 0.0 mAh + +Thread : 1 - ThreadProcess id: 3697 +---------------------------------------- +Starting time: Sat, 18 Dec 2021 18:56:06 +0100 +Core id: 4 +Ending time: Sat, 18 Dec 2021 19:06:06 +0100 - Duration: 600012 seconds +Real workload: 4.669240542279424E10 - Integer reached: 128757 - Number of reset = 0 +Battery stats: 0 mAH +Computed Drain: Null +Start: 50 % - End: 50 +Cc_info at the beginning: 0 mAh +Cc_info at the end: 0 mAh +Cc_info variation: 0.0 mAh + + 23.743288058460422 9.38168e+10 2.53081e-10 0 0 +------ + +--- Final result to print to File + -------------------------------------------------------------------------------- + +++++ +++++ +++++ Configuration Description +-------------------------------------------------------------------------------- +Configuration: 200020-0-0 +phone format: 2,0,0,0,2,0,0,0 +Exact values of frequencies: [1363200- 0- 0- 0- 1363200- 0- 0- 0] + +Power meter results +------------------------------------------------------------ +time (s): 601.5907115936279 +Ins Current (mA):147.15080229793978 +Samples: 3000000 +Consumed Energy (mAs): 85475.83701045752 +Consumed Energy (mAh): 23.743288058460422 +Consumed Energy (mWs): 430767.81665986794 +Consumed Energy (mWh): 119.65772684996331 +Avg power (mW): 717.9204299633639 +Avg Current (mA): 142.37241464497 +Avg Voltage (V): 5.042552883250743 + +Threads results +------------------------------------------------------------ +Thread : 0 - ThreadProcess id: 3696 +---------------------------------------- +Starting time: Sat, 18 Dec 2021 18:56:06 +0100 +Core id: 0 +Ending time: Sat, 18 Dec 2021 19:06:06 +0100 - Duration: 600023 seconds +Real workload: 4.712443544614491E10 - Integer reached: 129326 - Number of reset = 0 +Battery stats: 0 mAH +Computed Drain: Null +Start: 50 % - End: 50 +Cc_info at the beginning: 0 mAh +Cc_info at the end: 0 mAh +Cc_info variation: 0.0 mAh + +Thread : 1 - ThreadProcess id: 3697 +---------------------------------------- +Starting time: Sat, 18 Dec 2021 18:56:06 +0100 +Core id: 4 +Ending time: Sat, 18 Dec 2021 19:06:06 +0100 - Duration: 600012 seconds +Real workload: 4.669240542279424E10 - Integer reached: 128757 - Number of reset = 0 +Battery stats: 0 mAH +Computed Drain: Null +Start: 50 % - End: 50 +Cc_info at the beginning: 0 mAh +Cc_info at the end: 0 mAh +Cc_info variation: 0.0 mAh + + +Expermiment results +------------------------------------------------------------ +Energy Consumed (mAh): 23.743288058460422 +Workload: 9.38168e+10 +Energy efficiency: 2.53081e-10 +-------------------------------------------------------------------------------- + + +--- Writing to the total result file +--- Removing previous tested configuration tmp_output folder +removed '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__03Oct22_20_39_23/app_output_folder/all_workloads.txt' +removed '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__03Oct22_20_39_23/app_output_folder/Thread_0_ended' +removed '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__03Oct22_20_39_23/app_output_folder/Thread_0_ready_for_sampling' +removed '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__03Oct22_20_39_23/app_output_folder/Thread_1_ended' +removed '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__03Oct22_20_39_23/app_output_folder/Thread_1_ready_for_sampling' +removed directory '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__03Oct22_20_39_23/app_output_folder' +removed '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__03Oct22_20_39_23/configuration_mesurement.csv' +removed '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__03Oct22_20_39_23/energy_power_workload_energyByWorkload_ccInfo' +removed '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__03Oct22_20_39_23/logcat_output' +removed '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__03Oct22_20_39_23/powermeter_summary.txt' +removed directory '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__03Oct22_20_39_23' +--- Moving the current experiment tmp_folder to the output result folder +writing a temporary file for the main script with format energy_power_workload_energyByWorkload_ccInfo +--- Obtaining experiment summary result to add to result folder +--- Experiment result, Energy consumed = 23.743288058460422 +--- Experiment result, Avg Power = 717.9204299633639 +--- Experiment result, Total Workload = 9.38168e+10 +--- Experiment result, Energy Efficiency = 2.53081e-10 +--- Adding result to summary file +--- Starting cc information : 0 +--- Ending cc information : 0 +--- The file /mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/output_folder/summary.csv exists we just appending the result to the file +--- Experiments performed on configuration 200020-0-0. +--- Observing a pause betwenn experiment; pause duration : 180 seconds; starting at 03Oct22_20_52_10 +--- Performing experiments on configuration 200200-0-0 +--- Cleaning the tmp expermiment folder : /mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/last_tmp_expermiment_folder +--- Second step : verifying the battery level +--- Verifying the battery level +--- Getting current battery level, adb command path: /mnt/c/Program Files/Android/platform-tools_r33.0.1-windows/platform-tools/adb.exe +--- Current battery level : 50 +Current battery level: OKAY +--- Third step calibrating phone core frequency +--- Resetting all frequency configurations + -- Command used : echo schedutil > /sys/devices/system/cpu/cpu1/cpufreq/scaling_governor + -- Command used : echo schedutil > /sys/devices/system/cpu/cpu2/cpufreq/scaling_governor + -- Command used : echo schedutil > /sys/devices/system/cpu/cpu3/cpufreq/scaling_governor + -- Command used : echo schedutil > /sys/devices/system/cpu/cpu4/cpufreq/scaling_governor + -- Command used : echo schedutil > /sys/devices/system/cpu/cpu5/cpufreq/scaling_governor + -- Command used : echo schedutil > /sys/devices/system/cpu/cpu6/cpufreq/scaling_governor + -- Command used : echo schedutil > /sys/devices/system/cpu/cpu7/cpufreq/scaling_governor +--- Frequency level of core 0 is 2 +--- Exact frequency of core 0: 1363200 +--- Modifying the governor of core 0 +--- Modifying the the current frequency of core 0 with frequency 1363200 +--- Frequency level of core 1 is 0 +--- Exact frequency of core 1: 0 +--- Modifying the governor of core 1 +--- Modifying the the current frequency of core 1 with frequency 0 +--- Frequency level of core 2 is 0 +--- Exact frequency of core 2: 0 +--- Modifying the governor of core 2 +--- Modifying the the current frequency of core 2 with frequency 0 +--- Frequency level of core 3 is 2 +--- Exact frequency of core 3: 1363200 +--- Modifying the governor of core 3 +--- Modifying the the current frequency of core 3 with frequency 1363200 +--- Frequency level of core 4 is 0 +--- Exact frequency of core 4: 0 +--- Modifying the governor of core 4 +--- Modifying the the current frequency of core 4 with frequency 0 +--- Frequency level of core 5 is 0 +--- Exact frequency of core 5: 0 +--- Modifying the governor of core 5 +--- Modifying the the current frequency of core 5 with frequency 0 +--- Frequency level of core 6 is 0 +--- Exact frequency of core 6: 0 +--- Modifying the governor of core 6 +--- Modifying the the current frequency of core 6 with frequency 0 +--- Frequency level of core 7 is 0 +--- Exact frequency of core 7: 0 +--- Modifying the governor of core 7 +--- Modifying the the current frequency of core 7 with frequency 0 +--- Calibrating Monsoon power meter, please wait for 10 seconds... +powermeter script : --- Inside the monsoon_power_meter, arg function: 1 +powermeter script : calibration duration = 10 +powermeter script : Creating the Monsoon engine +powermeter script : Creating the Monsoon engine +powermeter script : Configuring channels the Monsoon engine +powermeter script : Configuring output to : C:\Users\lavoi\opportunist_task_on_android\scripts_valuable_files\experiment_automatization\last_tmp_expermiment_folder\configuration_mesurement.csv +powermeter script : Starting sampling; number of sample = 50000 + returning 50000 samples after experiments +powermeter script : Power meter calibration okay +--- Monsoon power meter Calibrated +--- starting the benchmarking app +## writing the configuration inside the phone file + --- Removing file /sdcard/experiments_automatization +rm '/sdcard/experiments_automatization/current_configuration.txt' +rm '/sdcard/experiments_automatization/experiment_duration.txt' +rm '/sdcard/experiments_automatization/app_output_folder/Thread_1_ready_for_sampling' +rm '/sdcard/experiments_automatization/app_output_folder/Thread_0_ready_for_sampling' +rm '/sdcard/experiments_automatization/app_output_folder/Thread_1_ended' +rm '/sdcard/experiments_automatization/app_output_folder/Thread_0_ended' +rmdir '/sdcard/experiments_automatization/app_output_folder' +rmdir '/sdcard/experiments_automatization' + --- Clearing the logcat + --- Creating file /sdcard/experiments_automatization +----- Uninstalling experiment app +Success +----- Installing experiment app +Performing Streamed Install +Success +------ Giving rights to experiment app +----- Starting experiment app +Starting: Intent { cmp=com.opportunistask.scheduling.benchmarking_app_to_test_big_cores/.MainActivity } +adb command : ps -A | grep com.opportunistask.scheduling.benchmarking_app_to_test_big_cores + ----- Experiment app started with pid: 4511 +---- waiting for benchmarking app thread to be pinned and to be ready +--- frequency level of core 0 is 2 +--- frequency level of core 1 is 0 +--- frequency level of core 2 is 0 +--- frequency level of core 3 is 2 +--- frequency level of core 4 is 0 +--- frequency level of core 5 is 0 +--- frequency level of core 6 is 0 +--- frequency level of core 7 is 0 +--- Number of cores to occupy = 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 2 +--- Now threads are running and the phone is ready to be sampled with the power meter \n--- Threads pids +Thread_0_ready_for_sampling +Thread_1_ready_for_sampling +--- Printing cc_info beginning datas (for the samsung galaxy s8) + --- Starting power meter sampling for about 600 seconds +--- Sampling with the Monsoon power meter +powermeter script : --- Inside the monsoon_power_meter, arg function: 2 +powermeter script : Experiment duration = 600 +powermeter script : Creating the Monsoon engine +powermeter script : Creating the Monsoon engine +powermeter script : Configuring channels the Monsoon engine +powermeter script : Configuring output to : C:\Users\lavoi\opportunist_task_on_android\scripts_valuable_files\experiment_automatization\last_tmp_expermiment_folder\configuration_mesurement.csv +powermeter script : Starting sampling; number of sample = 3000000 + returning 3000000 samples after experiments +powermeter script : Total nomber of sample measured : 3000000 +powermeter script : Computing powermeter summary result + Number of samples = 3000000 +powermeter script : We computed the energy on 600 samples +powermeter script : average_power = 720.3754498598336 +powermeter script : average_power with numpy arrays = 720.3754498597286 +powermeter script : Summary Result = time (s): 601.613443851471 +Ins Current (mA):127.86931807358359 +Samples: 3000000 +Consumed Energy (mAs): 85502.13017351826 +Consumed Energy (mAh): 23.750591714866186 +Consumed Energy (mWs): 431017.1042787621 +Consumed Energy (mWh): 119.72697341076726 +Avg power (mW): 720.3754498598336 +Avg Current (mA): 142.8694332997254 +Avg Voltage (V): 5.042194353417501 +Exp Batt Life (hrs for 1000mAh battery): NOT COMPUTED +--- Monsoon power meter sampling is finished ! + --- experiment folder path /mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/last_tmp_expermiment_folder +--- frequency level of core 0 is 2 +--- frequency level of core 1 is 0 +--- frequency level of core 2 is 0 +--- frequency level of core 3 is 2 +--- frequency level of core 4 is 0 +--- frequency level of core 5 is 0 +--- frequency level of core 6 is 0 +--- frequency level of core 7 is 0 +--- Number of threads normally started = 2 +--- Number of thread ended: 2 +--- Now threads are stopped, getting the cc_info_level for samsung +--- Copying thread results locally +command /mnt/c/Program Files/Android/platform-tools_r33.0.1-windows/platform-tools/adb.exe pull /sdcard/experiments_automatization/app_output_folder C:\Users\lavoi\opportunist_task_on_android\scripts_valuable_files\experiment_automatization\last_tmp_expermiment_folder </dev/null +/sdcard/experiments_automatization/app_output_folder/: 4 files pulled, 0 skipped. 0.0 MB/s (904 bytes in 0.051s) +saving the logcat file to /mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/last_tmp_expermiment_folder -/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/last_tmp_expermiment_folder- +--- Parsing result from /mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/last_tmp_expermiment_folder to /mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/output_folder/raw_result.txt +--- Getting exact configuration with frequency +--- Configuration with frequencies = [1363200- 0- 0- 1363200- 0- 0- 0- 0] +--- Getting the powermeter summary +--- Powermeter summary: +time (s): 601.613443851471 +Ins Current (mA):127.86931807358359 +Samples: 3000000 +Consumed Energy (mAs): 85502.13017351826 +Consumed Energy (mAh): 23.750591714866186 +Consumed Energy (mWs): 431017.1042787621 +Consumed Energy (mWh): 119.72697341076726 +Avg power (mW): 720.3754498598336 +Avg Current (mA): 142.8694332997254 +Avg Voltage (V): 5.042194353417501 + +--- Getting the total energy consumed of the google pixel +--- Energy consumed = 23.750591714866186 +--- Starting cc_info = 0 +--- Ending cc_info = 0 +--- Getting the average power +--- Avg Power = 720.3754498598336 +--- Printing the total threads summary +--- Thread results +Thread : 0 - ThreadProcess id: 4555 +---------------------------------------- +Starting time: Sat, 18 Dec 2021 19:11:55 +0100 +Core id: 0 +Ending time: Sat, 18 Dec 2021 19:21:55 +0100 - Duration: 600019 seconds +Real workload: 4.694955228711871E10 - Integer reached: 129096 - Number of reset = 0 +Battery stats: 0 mAH +Computed Drain: Null +Start: 50 % - End: 50 +Cc_info at the beginning: 0 mAh +Cc_info at the end: 0 mAh +Cc_info variation: 0.0 mAh + +Thread : 1 - ThreadProcess id: 4556 +---------------------------------------- +Starting time: Sat, 18 Dec 2021 19:11:55 +0100 +Core id: 3 +Ending time: Sat, 18 Dec 2021 19:21:55 +0100 - Duration: 600010 seconds +Real workload: 4.681064737691991E10 - Integer reached: 128913 - Number of reset = 0 +Battery stats: 0 mAH +Computed Drain: Null +Start: 50 % - End: 50 +Cc_info at the beginning: 0 mAh +Cc_info at the end: 0 mAh +Cc_info variation: 0.0 mAh + + +--- Counting the total workload command : print_total_workload /mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/last_tmp_expermiment_folder app_output_folder 2,0,0,2,0,0,0,0 /mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first +--- Total workload : 9.37602e+10 +--- Getting energy efficiency +--- Energy efficiency: 2.53312e-10 +--- Building what we will add to the total result file command +------ + (build_configuration_raw_result 200200-0-0 2,0,0,2,0,0,0,0 [1363200- 0- 0- 1363200- 0- 0- 0- 0] time (s): 601.613443851471 +Ins Current (mA):127.86931807358359 +Samples: 3000000 +Consumed Energy (mAs): 85502.13017351826 +Consumed Energy (mAh): 23.750591714866186 +Consumed Energy (mWs): 431017.1042787621 +Consumed Energy (mWh): 119.72697341076726 +Avg power (mW): 720.3754498598336 +Avg Current (mA): 142.8694332997254 +Avg Voltage (V): 5.042194353417501 + Thread : 0 - ThreadProcess id: 4555 +---------------------------------------- +Starting time: Sat, 18 Dec 2021 19:11:55 +0100 +Core id: 0 +Ending time: Sat, 18 Dec 2021 19:21:55 +0100 - Duration: 600019 seconds +Real workload: 4.694955228711871E10 - Integer reached: 129096 - Number of reset = 0 +Battery stats: 0 mAH +Computed Drain: Null +Start: 50 % - End: 50 +Cc_info at the beginning: 0 mAh +Cc_info at the end: 0 mAh +Cc_info variation: 0.0 mAh + +Thread : 1 - ThreadProcess id: 4556 +---------------------------------------- +Starting time: Sat, 18 Dec 2021 19:11:55 +0100 +Core id: 3 +Ending time: Sat, 18 Dec 2021 19:21:55 +0100 - Duration: 600010 seconds +Real workload: 4.681064737691991E10 - Integer reached: 128913 - Number of reset = 0 +Battery stats: 0 mAH +Computed Drain: Null +Start: 50 % - End: 50 +Cc_info at the beginning: 0 mAh +Cc_info at the end: 0 mAh +Cc_info variation: 0.0 mAh + + 23.750591714866186 9.37602e+10 2.53312e-10 0 0 +------ + +--- Final result to print to File + -------------------------------------------------------------------------------- + +++++ +++++ +++++ Configuration Description +-------------------------------------------------------------------------------- +Configuration: 200200-0-0 +phone format: 2,0,0,2,0,0,0,0 +Exact values of frequencies: [1363200- 0- 0- 1363200- 0- 0- 0- 0] + +Power meter results +------------------------------------------------------------ +time (s): 601.613443851471 +Ins Current (mA):127.86931807358359 +Samples: 3000000 +Consumed Energy (mAs): 85502.13017351826 +Consumed Energy (mAh): 23.750591714866186 +Consumed Energy (mWs): 431017.1042787621 +Consumed Energy (mWh): 119.72697341076726 +Avg power (mW): 720.3754498598336 +Avg Current (mA): 142.8694332997254 +Avg Voltage (V): 5.042194353417501 + +Threads results +------------------------------------------------------------ +Thread : 0 - ThreadProcess id: 4555 +---------------------------------------- +Starting time: Sat, 18 Dec 2021 19:11:55 +0100 +Core id: 0 +Ending time: Sat, 18 Dec 2021 19:21:55 +0100 - Duration: 600019 seconds +Real workload: 4.694955228711871E10 - Integer reached: 129096 - Number of reset = 0 +Battery stats: 0 mAH +Computed Drain: Null +Start: 50 % - End: 50 +Cc_info at the beginning: 0 mAh +Cc_info at the end: 0 mAh +Cc_info variation: 0.0 mAh + +Thread : 1 - ThreadProcess id: 4556 +---------------------------------------- +Starting time: Sat, 18 Dec 2021 19:11:55 +0100 +Core id: 3 +Ending time: Sat, 18 Dec 2021 19:21:55 +0100 - Duration: 600010 seconds +Real workload: 4.681064737691991E10 - Integer reached: 128913 - Number of reset = 0 +Battery stats: 0 mAH +Computed Drain: Null +Start: 50 % - End: 50 +Cc_info at the beginning: 0 mAh +Cc_info at the end: 0 mAh +Cc_info variation: 0.0 mAh + + +Expermiment results +------------------------------------------------------------ +Energy Consumed (mAh): 23.750591714866186 +Workload: 9.37602e+10 +Energy efficiency: 2.53312e-10 +-------------------------------------------------------------------------------- + + +--- Writing to the total result file +--- Removing previous tested configuration tmp_output folder +removed '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__03Oct22_20_55_12/app_output_folder/all_workloads.txt' +removed '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__03Oct22_20_55_12/app_output_folder/Thread_0_ended' +removed '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__03Oct22_20_55_12/app_output_folder/Thread_0_ready_for_sampling' +removed '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__03Oct22_20_55_12/app_output_folder/Thread_1_ended' +removed '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__03Oct22_20_55_12/app_output_folder/Thread_1_ready_for_sampling' +removed directory '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__03Oct22_20_55_12/app_output_folder' +removed '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__03Oct22_20_55_12/configuration_mesurement.csv' +removed '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__03Oct22_20_55_12/energy_power_workload_energyByWorkload_ccInfo' +removed '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__03Oct22_20_55_12/logcat_output' +removed '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__03Oct22_20_55_12/powermeter_summary.txt' +removed directory '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__03Oct22_20_55_12' +--- Moving the current experiment tmp_folder to the output result folder +writing a temporary file for the main script with format energy_power_workload_energyByWorkload_ccInfo +--- Obtaining experiment summary result to add to result folder +--- Experiment result, Energy consumed = 23.750591714866186 +--- Experiment result, Avg Power = 720.3754498598336 +--- Experiment result, Total Workload = 9.37602e+10 +--- Experiment result, Energy Efficiency = 2.53312e-10 +--- Adding result to summary file +--- Starting cc information : 0 +--- Ending cc information : 0 +--- The file /mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/output_folder/summary.csv exists we just appending the result to the file +--- Experiments performed on configuration 200200-0-0. +--- Observing a pause betwenn experiment; pause duration : 180 seconds; starting at 03Oct22_21_07_59 +--- Performing experiments on configuration 200200-0-0 +--- Cleaning the tmp expermiment folder : /mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/last_tmp_expermiment_folder +--- Second step : verifying the battery level +--- Verifying the battery level +--- Getting current battery level, adb command path: /mnt/c/Program Files/Android/platform-tools_r33.0.1-windows/platform-tools/adb.exe +--- Current battery level : 50 +Current battery level: OKAY +--- Third step calibrating phone core frequency +--- Resetting all frequency configurations + -- Command used : echo schedutil > /sys/devices/system/cpu/cpu1/cpufreq/scaling_governor + -- Command used : echo schedutil > /sys/devices/system/cpu/cpu2/cpufreq/scaling_governor + -- Command used : echo schedutil > /sys/devices/system/cpu/cpu3/cpufreq/scaling_governor + -- Command used : echo schedutil > /sys/devices/system/cpu/cpu4/cpufreq/scaling_governor + -- Command used : echo schedutil > /sys/devices/system/cpu/cpu5/cpufreq/scaling_governor + -- Command used : echo schedutil > /sys/devices/system/cpu/cpu6/cpufreq/scaling_governor + -- Command used : echo schedutil > /sys/devices/system/cpu/cpu7/cpufreq/scaling_governor +--- Frequency level of core 0 is 2 +--- Exact frequency of core 0: 1363200 +--- Modifying the governor of core 0 +--- Modifying the the current frequency of core 0 with frequency 1363200 +--- Frequency level of core 1 is 0 +--- Exact frequency of core 1: 0 +--- Modifying the governor of core 1 +--- Modifying the the current frequency of core 1 with frequency 0 +--- Frequency level of core 2 is 0 +--- Exact frequency of core 2: 0 +--- Modifying the governor of core 2 +--- Modifying the the current frequency of core 2 with frequency 0 +--- Frequency level of core 3 is 2 +--- Exact frequency of core 3: 1363200 +--- Modifying the governor of core 3 +--- Modifying the the current frequency of core 3 with frequency 1363200 +--- Frequency level of core 4 is 0 +--- Exact frequency of core 4: 0 +--- Modifying the governor of core 4 +--- Modifying the the current frequency of core 4 with frequency 0 +--- Frequency level of core 5 is 0 +--- Exact frequency of core 5: 0 +--- Modifying the governor of core 5 +--- Modifying the the current frequency of core 5 with frequency 0 +--- Frequency level of core 6 is 0 +--- Exact frequency of core 6: 0 +--- Modifying the governor of core 6 +--- Modifying the the current frequency of core 6 with frequency 0 +--- Frequency level of core 7 is 0 +--- Exact frequency of core 7: 0 +--- Modifying the governor of core 7 +--- Modifying the the current frequency of core 7 with frequency 0 +--- Calibrating Monsoon power meter, please wait for 10 seconds... +powermeter script : --- Inside the monsoon_power_meter, arg function: 1 +powermeter script : calibration duration = 10 +powermeter script : Creating the Monsoon engine +powermeter script : Creating the Monsoon engine +powermeter script : Configuring channels the Monsoon engine +powermeter script : Configuring output to : C:\Users\lavoi\opportunist_task_on_android\scripts_valuable_files\experiment_automatization\last_tmp_expermiment_folder\configuration_mesurement.csv +powermeter script : Starting sampling; number of sample = 50000 + returning 50000 samples after experiments +powermeter script : Power meter calibration okay +--- Monsoon power meter Calibrated +--- starting the benchmarking app +## writing the configuration inside the phone file + --- Removing file /sdcard/experiments_automatization +rm '/sdcard/experiments_automatization/current_configuration.txt' +rm '/sdcard/experiments_automatization/experiment_duration.txt' +rm '/sdcard/experiments_automatization/app_output_folder/Thread_1_ready_for_sampling' +rm '/sdcard/experiments_automatization/app_output_folder/Thread_0_ready_for_sampling' +rm '/sdcard/experiments_automatization/app_output_folder/Thread_1_ended' +rm '/sdcard/experiments_automatization/app_output_folder/Thread_0_ended' +rmdir '/sdcard/experiments_automatization/app_output_folder' +rmdir '/sdcard/experiments_automatization' + --- Clearing the logcat + --- Creating file /sdcard/experiments_automatization +----- Uninstalling experiment app +Success +----- Installing experiment app +Performing Streamed Install +Success +------ Giving rights to experiment app +----- Starting experiment app +Starting: Intent { cmp=com.opportunistask.scheduling.benchmarking_app_to_test_big_cores/.MainActivity } +adb command : ps -A | grep com.opportunistask.scheduling.benchmarking_app_to_test_big_cores + ----- Experiment app started with pid: 5424 +---- waiting for benchmarking app thread to be pinned and to be ready +--- frequency level of core 0 is 2 +--- frequency level of core 1 is 0 +--- frequency level of core 2 is 0 +--- frequency level of core 3 is 2 +--- frequency level of core 4 is 0 +--- frequency level of core 5 is 0 +--- frequency level of core 6 is 0 +--- frequency level of core 7 is 0 +--- Number of cores to occupy = 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 2 +--- Now threads are running and the phone is ready to be sampled with the power meter \n--- Threads pids +Thread_0_ready_for_sampling +Thread_1_ready_for_sampling +--- Printing cc_info beginning datas (for the samsung galaxy s8) + --- Starting power meter sampling for about 600 seconds +--- Sampling with the Monsoon power meter +powermeter script : --- Inside the monsoon_power_meter, arg function: 2 +powermeter script : Experiment duration = 600 +powermeter script : Creating the Monsoon engine +powermeter script : Creating the Monsoon engine +powermeter script : Configuring channels the Monsoon engine +powermeter script : Configuring output to : C:\Users\lavoi\opportunist_task_on_android\scripts_valuable_files\experiment_automatization\last_tmp_expermiment_folder\configuration_mesurement.csv +powermeter script : Starting sampling; number of sample = 3000000 + returning 3000000 samples after experiments +powermeter script : Total nomber of sample measured : 3000000 +powermeter script : Computing powermeter summary result + Number of samples = 3000000 +powermeter script : We computed the energy on 600 samples +powermeter script : average_power = 720.5358246997052 +powermeter script : average_power with numpy arrays = 720.5358246996205 +powermeter script : Summary Result = time (s): 601.3620121479034 +Ins Current (mA):137.14613564758903 +Samples: 3000000 +Consumed Energy (mAs): 84621.45672231389 +Consumed Energy (mAh): 23.505960200642747 +Consumed Energy (mWs): 426663.97994278034 +Consumed Energy (mWh): 118.51777220632788 +Avg power (mW): 720.5358246997052 +Avg Current (mA): 142.8996555023161 +Avg Voltage (V): 5.042250257125545 +Exp Batt Life (hrs for 1000mAh battery): NOT COMPUTED +--- Monsoon power meter sampling is finished ! + --- experiment folder path /mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/last_tmp_expermiment_folder +--- frequency level of core 0 is 2 +--- frequency level of core 1 is 0 +--- frequency level of core 2 is 0 +--- frequency level of core 3 is 2 +--- frequency level of core 4 is 0 +--- frequency level of core 5 is 0 +--- frequency level of core 6 is 0 +--- frequency level of core 7 is 0 +--- Number of threads normally started = 2 +--- Number of thread ended: 2 +--- Now threads are stopped, getting the cc_info_level for samsung +--- Copying thread results locally +command /mnt/c/Program Files/Android/platform-tools_r33.0.1-windows/platform-tools/adb.exe pull /sdcard/experiments_automatization/app_output_folder C:\Users\lavoi\opportunist_task_on_android\scripts_valuable_files\experiment_automatization\last_tmp_expermiment_folder </dev/null +/sdcard/experiments_automatization/app_output_folder/: 4 files pulled, 0 skipped. 0.0 MB/s (903 bytes in 0.034s) +saving the logcat file to /mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/last_tmp_expermiment_folder -/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/last_tmp_expermiment_folder- +--- Parsing result from /mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/last_tmp_expermiment_folder to /mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/output_folder/raw_result.txt +--- Getting exact configuration with frequency +--- Configuration with frequencies = [1363200- 0- 0- 1363200- 0- 0- 0- 0] +--- Getting the powermeter summary +--- Powermeter summary: +time (s): 601.3620121479034 +Ins Current (mA):137.14613564758903 +Samples: 3000000 +Consumed Energy (mAs): 84621.45672231389 +Consumed Energy (mAh): 23.505960200642747 +Consumed Energy (mWs): 426663.97994278034 +Consumed Energy (mWh): 118.51777220632788 +Avg power (mW): 720.5358246997052 +Avg Current (mA): 142.8996555023161 +Avg Voltage (V): 5.042250257125545 + +--- Getting the total energy consumed of the google pixel +--- Energy consumed = 23.505960200642747 +--- Starting cc_info = 0 +--- Ending cc_info = 0 +--- Getting the average power +--- Avg Power = 720.5358246997052 +--- Printing the total threads summary +--- Thread results +Thread : 0 - ThreadProcess id: 5449 +---------------------------------------- +Starting time: Sat, 18 Dec 2021 19:27:44 +0100 +Core id: 0 +Ending time: Sat, 18 Dec 2021 19:37:44 +0100 - Duration: 600014 seconds +Real workload: 4.672649773539955E10 - Integer reached: 128802 - Number of reset = 0 +Battery stats: 0 mAH +Computed Drain: Null +Start: 50 % - End: 50 +Cc_info at the beginning: 0 mAh +Cc_info at the end: 0 mAh +Cc_info variation: 0.0 mAh + +Thread : 1 - ThreadProcess id: 5450 +---------------------------------------- +Starting time: Sat, 18 Dec 2021 19:27:44 +0100 +Core id: 3 +Ending time: Sat, 18 Dec 2021 19:37:44 +0100 - Duration: 600006 seconds +Real workload: 4.68243006729817E10 - Integer reached: 128931 - Number of reset = 0 +Battery stats: 0 mAH +Computed Drain: Null +Start: 50 % - End: 50 +Cc_info at the beginning: 0 mAh +Cc_info at the end: 0 mAh +Cc_info variation: 0.0 mAh + + +--- Counting the total workload command : print_total_workload /mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/last_tmp_expermiment_folder app_output_folder 2,0,0,2,0,0,0,0 /mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first +--- Total workload : 9.35508e+10 +--- Getting energy efficiency +--- Energy efficiency: 2.51264e-10 +--- Building what we will add to the total result file command +------ + (build_configuration_raw_result 200200-0-0 2,0,0,2,0,0,0,0 [1363200- 0- 0- 1363200- 0- 0- 0- 0] time (s): 601.3620121479034 +Ins Current (mA):137.14613564758903 +Samples: 3000000 +Consumed Energy (mAs): 84621.45672231389 +Consumed Energy (mAh): 23.505960200642747 +Consumed Energy (mWs): 426663.97994278034 +Consumed Energy (mWh): 118.51777220632788 +Avg power (mW): 720.5358246997052 +Avg Current (mA): 142.8996555023161 +Avg Voltage (V): 5.042250257125545 + Thread : 0 - ThreadProcess id: 5449 +---------------------------------------- +Starting time: Sat, 18 Dec 2021 19:27:44 +0100 +Core id: 0 +Ending time: Sat, 18 Dec 2021 19:37:44 +0100 - Duration: 600014 seconds +Real workload: 4.672649773539955E10 - Integer reached: 128802 - Number of reset = 0 +Battery stats: 0 mAH +Computed Drain: Null +Start: 50 % - End: 50 +Cc_info at the beginning: 0 mAh +Cc_info at the end: 0 mAh +Cc_info variation: 0.0 mAh + +Thread : 1 - ThreadProcess id: 5450 +---------------------------------------- +Starting time: Sat, 18 Dec 2021 19:27:44 +0100 +Core id: 3 +Ending time: Sat, 18 Dec 2021 19:37:44 +0100 - Duration: 600006 seconds +Real workload: 4.68243006729817E10 - Integer reached: 128931 - Number of reset = 0 +Battery stats: 0 mAH +Computed Drain: Null +Start: 50 % - End: 50 +Cc_info at the beginning: 0 mAh +Cc_info at the end: 0 mAh +Cc_info variation: 0.0 mAh + + 23.505960200642747 9.35508e+10 2.51264e-10 0 0 +------ + +--- Final result to print to File + -------------------------------------------------------------------------------- + +++++ +++++ +++++ Configuration Description +-------------------------------------------------------------------------------- +Configuration: 200200-0-0 +phone format: 2,0,0,2,0,0,0,0 +Exact values of frequencies: [1363200- 0- 0- 1363200- 0- 0- 0- 0] + +Power meter results +------------------------------------------------------------ +time (s): 601.3620121479034 +Ins Current (mA):137.14613564758903 +Samples: 3000000 +Consumed Energy (mAs): 84621.45672231389 +Consumed Energy (mAh): 23.505960200642747 +Consumed Energy (mWs): 426663.97994278034 +Consumed Energy (mWh): 118.51777220632788 +Avg power (mW): 720.5358246997052 +Avg Current (mA): 142.8996555023161 +Avg Voltage (V): 5.042250257125545 + +Threads results +------------------------------------------------------------ +Thread : 0 - ThreadProcess id: 5449 +---------------------------------------- +Starting time: Sat, 18 Dec 2021 19:27:44 +0100 +Core id: 0 +Ending time: Sat, 18 Dec 2021 19:37:44 +0100 - Duration: 600014 seconds +Real workload: 4.672649773539955E10 - Integer reached: 128802 - Number of reset = 0 +Battery stats: 0 mAH +Computed Drain: Null +Start: 50 % - End: 50 +Cc_info at the beginning: 0 mAh +Cc_info at the end: 0 mAh +Cc_info variation: 0.0 mAh + +Thread : 1 - ThreadProcess id: 5450 +---------------------------------------- +Starting time: Sat, 18 Dec 2021 19:27:44 +0100 +Core id: 3 +Ending time: Sat, 18 Dec 2021 19:37:44 +0100 - Duration: 600006 seconds +Real workload: 4.68243006729817E10 - Integer reached: 128931 - Number of reset = 0 +Battery stats: 0 mAH +Computed Drain: Null +Start: 50 % - End: 50 +Cc_info at the beginning: 0 mAh +Cc_info at the end: 0 mAh +Cc_info variation: 0.0 mAh + + +Expermiment results +------------------------------------------------------------ +Energy Consumed (mAh): 23.505960200642747 +Workload: 9.35508e+10 +Energy efficiency: 2.51264e-10 +-------------------------------------------------------------------------------- + + +--- Writing to the total result file +--- Removing previous tested configuration tmp_output folder +removed '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__03Oct22_21_11_01/app_output_folder/all_workloads.txt' +removed '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__03Oct22_21_11_01/app_output_folder/Thread_0_ended' +removed '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__03Oct22_21_11_01/app_output_folder/Thread_0_ready_for_sampling' +removed '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__03Oct22_21_11_01/app_output_folder/Thread_1_ended' +removed '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__03Oct22_21_11_01/app_output_folder/Thread_1_ready_for_sampling' +removed directory '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__03Oct22_21_11_01/app_output_folder' +removed '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__03Oct22_21_11_01/configuration_mesurement.csv' +removed '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__03Oct22_21_11_01/energy_power_workload_energyByWorkload_ccInfo' +removed '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__03Oct22_21_11_01/logcat_output' +removed '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__03Oct22_21_11_01/powermeter_summary.txt' +removed directory '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__03Oct22_21_11_01' +--- Moving the current experiment tmp_folder to the output result folder +writing a temporary file for the main script with format energy_power_workload_energyByWorkload_ccInfo +--- Obtaining experiment summary result to add to result folder +--- Experiment result, Energy consumed = 23.505960200642747 +--- Experiment result, Avg Power = 720.5358246997052 +--- Experiment result, Total Workload = 9.35508e+10 +--- Experiment result, Energy Efficiency = 2.51264e-10 +--- Adding result to summary file +--- Starting cc information : 0 +--- Ending cc information : 0 +--- The file /mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/output_folder/summary.csv exists we just appending the result to the file +--- Experiments performed on configuration 200200-0-0. +--- Observing a pause betwenn experiment; pause duration : 180 seconds; starting at 03Oct22_21_23_50 +--- Performing experiments on configuration 200200-0-0 +--- Cleaning the tmp expermiment folder : /mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/last_tmp_expermiment_folder +--- Second step : verifying the battery level +--- Verifying the battery level +--- Getting current battery level, adb command path: /mnt/c/Program Files/Android/platform-tools_r33.0.1-windows/platform-tools/adb.exe +--- Current battery level : 50 +Current battery level: OKAY +--- Third step calibrating phone core frequency +--- Resetting all frequency configurations + -- Command used : echo schedutil > /sys/devices/system/cpu/cpu1/cpufreq/scaling_governor + -- Command used : echo schedutil > /sys/devices/system/cpu/cpu2/cpufreq/scaling_governor + -- Command used : echo schedutil > /sys/devices/system/cpu/cpu3/cpufreq/scaling_governor + -- Command used : echo schedutil > /sys/devices/system/cpu/cpu4/cpufreq/scaling_governor + -- Command used : echo schedutil > /sys/devices/system/cpu/cpu5/cpufreq/scaling_governor + -- Command used : echo schedutil > /sys/devices/system/cpu/cpu6/cpufreq/scaling_governor + -- Command used : echo schedutil > /sys/devices/system/cpu/cpu7/cpufreq/scaling_governor +--- Frequency level of core 0 is 2 +--- Exact frequency of core 0: 1363200 +--- Modifying the governor of core 0 +--- Modifying the the current frequency of core 0 with frequency 1363200 +--- Frequency level of core 1 is 0 +--- Exact frequency of core 1: 0 +--- Modifying the governor of core 1 +--- Modifying the the current frequency of core 1 with frequency 0 +--- Frequency level of core 2 is 0 +--- Exact frequency of core 2: 0 +--- Modifying the governor of core 2 +--- Modifying the the current frequency of core 2 with frequency 0 +--- Frequency level of core 3 is 2 +--- Exact frequency of core 3: 1363200 +--- Modifying the governor of core 3 +--- Modifying the the current frequency of core 3 with frequency 1363200 +--- Frequency level of core 4 is 0 +--- Exact frequency of core 4: 0 +--- Modifying the governor of core 4 +--- Modifying the the current frequency of core 4 with frequency 0 +--- Frequency level of core 5 is 0 +--- Exact frequency of core 5: 0 +--- Modifying the governor of core 5 +--- Modifying the the current frequency of core 5 with frequency 0 +--- Frequency level of core 6 is 0 +--- Exact frequency of core 6: 0 +--- Modifying the governor of core 6 +--- Modifying the the current frequency of core 6 with frequency 0 +--- Frequency level of core 7 is 0 +--- Exact frequency of core 7: 0 +--- Modifying the governor of core 7 +--- Modifying the the current frequency of core 7 with frequency 0 +--- Calibrating Monsoon power meter, please wait for 10 seconds... +powermeter script : --- Inside the monsoon_power_meter, arg function: 1 +powermeter script : calibration duration = 10 +powermeter script : Creating the Monsoon engine +powermeter script : Creating the Monsoon engine +powermeter script : Configuring channels the Monsoon engine +powermeter script : Configuring output to : C:\Users\lavoi\opportunist_task_on_android\scripts_valuable_files\experiment_automatization\last_tmp_expermiment_folder\configuration_mesurement.csv +powermeter script : Starting sampling; number of sample = 50000 + returning 50000 samples after experiments +powermeter script : Power meter calibration okay +--- Monsoon power meter Calibrated +--- starting the benchmarking app +## writing the configuration inside the phone file + --- Removing file /sdcard/experiments_automatization +rm '/sdcard/experiments_automatization/current_configuration.txt' +rm '/sdcard/experiments_automatization/experiment_duration.txt' +rm '/sdcard/experiments_automatization/app_output_folder/Thread_0_ready_for_sampling' +rm '/sdcard/experiments_automatization/app_output_folder/Thread_1_ready_for_sampling' +rm '/sdcard/experiments_automatization/app_output_folder/Thread_0_ended' +rm '/sdcard/experiments_automatization/app_output_folder/Thread_1_ended' +rmdir '/sdcard/experiments_automatization/app_output_folder' +rmdir '/sdcard/experiments_automatization' + --- Clearing the logcat + --- Creating file /sdcard/experiments_automatization +----- Uninstalling experiment app +Success +----- Installing experiment app +Performing Streamed Install +Success +------ Giving rights to experiment app +----- Starting experiment app +Starting: Intent { cmp=com.opportunistask.scheduling.benchmarking_app_to_test_big_cores/.MainActivity } +adb command : ps -A | grep com.opportunistask.scheduling.benchmarking_app_to_test_big_cores + ----- Experiment app started with pid: 6321 +---- waiting for benchmarking app thread to be pinned and to be ready +--- frequency level of core 0 is 2 +--- frequency level of core 1 is 0 +--- frequency level of core 2 is 0 +--- frequency level of core 3 is 2 +--- frequency level of core 4 is 0 +--- frequency level of core 5 is 0 +--- frequency level of core 6 is 0 +--- frequency level of core 7 is 0 +--- Number of cores to occupy = 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 2 +--- Now threads are running and the phone is ready to be sampled with the power meter \n--- Threads pids +Thread_0_ready_for_sampling +Thread_1_ready_for_sampling +--- Printing cc_info beginning datas (for the samsung galaxy s8) + --- Starting power meter sampling for about 600 seconds +--- Sampling with the Monsoon power meter +powermeter script : --- Inside the monsoon_power_meter, arg function: 2 +powermeter script : Experiment duration = 600 +powermeter script : Creating the Monsoon engine +powermeter script : Creating the Monsoon engine +powermeter script : Configuring channels the Monsoon engine +powermeter script : Configuring output to : C:\Users\lavoi\opportunist_task_on_android\scripts_valuable_files\experiment_automatization\last_tmp_expermiment_folder\configuration_mesurement.csv +powermeter script : Starting sampling; number of sample = 3000000 + returning 3000000 samples after experiments +powermeter script : Total nomber of sample measured : 3000000 +powermeter script : Computing powermeter summary result + Number of samples = 3000000 +powermeter script : We computed the energy on 600 samples +powermeter script : average_power = 715.786262487798 +powermeter script : average_power with numpy arrays = 715.78626248765 +powermeter script : Summary Result = time (s): 601.5122427940369 +Ins Current (mA):145.368836938176 +Samples: 3000000 +Consumed Energy (mAs): 84342.56116993622 +Consumed Energy (mAh): 23.42848921387117 +Consumed Energy (mWs): 425236.9201080539 +Consumed Energy (mWh): 118.12136669668163 +Avg power (mW): 715.786262487798 +Avg Current (mA): 141.936792114253 +Avg Voltage (V): 5.042993094500973 +Exp Batt Life (hrs for 1000mAh battery): NOT COMPUTED +--- Monsoon power meter sampling is finished ! + --- experiment folder path /mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/last_tmp_expermiment_folder +--- frequency level of core 0 is 2 +--- frequency level of core 1 is 0 +--- frequency level of core 2 is 0 +--- frequency level of core 3 is 2 +--- frequency level of core 4 is 0 +--- frequency level of core 5 is 0 +--- frequency level of core 6 is 0 +--- frequency level of core 7 is 0 +--- Number of threads normally started = 2 +--- Number of thread ended: 2 +--- Now threads are stopped, getting the cc_info_level for samsung +--- Copying thread results locally +command /mnt/c/Program Files/Android/platform-tools_r33.0.1-windows/platform-tools/adb.exe pull /sdcard/experiments_automatization/app_output_folder C:\Users\lavoi\opportunist_task_on_android\scripts_valuable_files\experiment_automatization\last_tmp_expermiment_folder </dev/null +/sdcard/experiments_automatization/app_output_folder/: 4 files pulled, 0 skipped. 0.0 MB/s (906 bytes in 0.028s) +saving the logcat file to /mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/last_tmp_expermiment_folder -/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/last_tmp_expermiment_folder- +--- Parsing result from /mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/last_tmp_expermiment_folder to /mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/output_folder/raw_result.txt +--- Getting exact configuration with frequency +--- Configuration with frequencies = [1363200- 0- 0- 1363200- 0- 0- 0- 0] +--- Getting the powermeter summary +--- Powermeter summary: +time (s): 601.5122427940369 +Ins Current (mA):145.368836938176 +Samples: 3000000 +Consumed Energy (mAs): 84342.56116993622 +Consumed Energy (mAh): 23.42848921387117 +Consumed Energy (mWs): 425236.9201080539 +Consumed Energy (mWh): 118.12136669668163 +Avg power (mW): 715.786262487798 +Avg Current (mA): 141.936792114253 +Avg Voltage (V): 5.042993094500973 + +--- Getting the total energy consumed of the google pixel +--- Energy consumed = 23.42848921387117 +--- Starting cc_info = 0 +--- Ending cc_info = 0 +--- Getting the average power +--- Avg Power = 715.786262487798 +--- Printing the total threads summary +--- Thread results +Thread : 0 - ThreadProcess id: 6347 +---------------------------------------- +Starting time: Sat, 18 Dec 2021 19:43:35 +0100 +Core id: 0 +Ending time: Sat, 18 Dec 2021 19:53:35 +0100 - Duration: 600002 seconds +Real workload: 4.7808940774018616E10 - Integer reached: 130222 - Number of reset = 0 +Battery stats: 0 mAH +Computed Drain: Null +Start: 50 % - End: 50 +Cc_info at the beginning: 0 mAh +Cc_info at the end: 0 mAh +Cc_info variation: 0.0 mAh + +Thread : 1 - ThreadProcess id: 6348 +---------------------------------------- +Starting time: Sat, 18 Dec 2021 19:43:35 +0100 +Core id: 3 +Ending time: Sat, 18 Dec 2021 19:53:35 +0100 - Duration: 600010 seconds +Real workload: 4.7563121197769875E10 - Integer reached: 129901 - Number of reset = 0 +Battery stats: 0 mAH +Computed Drain: Null +Start: 50 % - End: 50 +Cc_info at the beginning: 0 mAh +Cc_info at the end: 0 mAh +Cc_info variation: 0.0 mAh + + +--- Counting the total workload command : print_total_workload /mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/last_tmp_expermiment_folder app_output_folder 2,0,0,2,0,0,0,0 /mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first +--- Total workload : 9.53721e+10 +--- Getting energy efficiency +--- Energy efficiency: 2.45653e-10 +--- Building what we will add to the total result file command +------ + (build_configuration_raw_result 200200-0-0 2,0,0,2,0,0,0,0 [1363200- 0- 0- 1363200- 0- 0- 0- 0] time (s): 601.5122427940369 +Ins Current (mA):145.368836938176 +Samples: 3000000 +Consumed Energy (mAs): 84342.56116993622 +Consumed Energy (mAh): 23.42848921387117 +Consumed Energy (mWs): 425236.9201080539 +Consumed Energy (mWh): 118.12136669668163 +Avg power (mW): 715.786262487798 +Avg Current (mA): 141.936792114253 +Avg Voltage (V): 5.042993094500973 + Thread : 0 - ThreadProcess id: 6347 +---------------------------------------- +Starting time: Sat, 18 Dec 2021 19:43:35 +0100 +Core id: 0 +Ending time: Sat, 18 Dec 2021 19:53:35 +0100 - Duration: 600002 seconds +Real workload: 4.7808940774018616E10 - Integer reached: 130222 - Number of reset = 0 +Battery stats: 0 mAH +Computed Drain: Null +Start: 50 % - End: 50 +Cc_info at the beginning: 0 mAh +Cc_info at the end: 0 mAh +Cc_info variation: 0.0 mAh + +Thread : 1 - ThreadProcess id: 6348 +---------------------------------------- +Starting time: Sat, 18 Dec 2021 19:43:35 +0100 +Core id: 3 +Ending time: Sat, 18 Dec 2021 19:53:35 +0100 - Duration: 600010 seconds +Real workload: 4.7563121197769875E10 - Integer reached: 129901 - Number of reset = 0 +Battery stats: 0 mAH +Computed Drain: Null +Start: 50 % - End: 50 +Cc_info at the beginning: 0 mAh +Cc_info at the end: 0 mAh +Cc_info variation: 0.0 mAh + + 23.42848921387117 9.53721e+10 2.45653e-10 0 0 +------ + +--- Final result to print to File + -------------------------------------------------------------------------------- + +++++ +++++ +++++ Configuration Description +-------------------------------------------------------------------------------- +Configuration: 200200-0-0 +phone format: 2,0,0,2,0,0,0,0 +Exact values of frequencies: [1363200- 0- 0- 1363200- 0- 0- 0- 0] + +Power meter results +------------------------------------------------------------ +time (s): 601.5122427940369 +Ins Current (mA):145.368836938176 +Samples: 3000000 +Consumed Energy (mAs): 84342.56116993622 +Consumed Energy (mAh): 23.42848921387117 +Consumed Energy (mWs): 425236.9201080539 +Consumed Energy (mWh): 118.12136669668163 +Avg power (mW): 715.786262487798 +Avg Current (mA): 141.936792114253 +Avg Voltage (V): 5.042993094500973 + +Threads results +------------------------------------------------------------ +Thread : 0 - ThreadProcess id: 6347 +---------------------------------------- +Starting time: Sat, 18 Dec 2021 19:43:35 +0100 +Core id: 0 +Ending time: Sat, 18 Dec 2021 19:53:35 +0100 - Duration: 600002 seconds +Real workload: 4.7808940774018616E10 - Integer reached: 130222 - Number of reset = 0 +Battery stats: 0 mAH +Computed Drain: Null +Start: 50 % - End: 50 +Cc_info at the beginning: 0 mAh +Cc_info at the end: 0 mAh +Cc_info variation: 0.0 mAh + +Thread : 1 - ThreadProcess id: 6348 +---------------------------------------- +Starting time: Sat, 18 Dec 2021 19:43:35 +0100 +Core id: 3 +Ending time: Sat, 18 Dec 2021 19:53:35 +0100 - Duration: 600010 seconds +Real workload: 4.7563121197769875E10 - Integer reached: 129901 - Number of reset = 0 +Battery stats: 0 mAH +Computed Drain: Null +Start: 50 % - End: 50 +Cc_info at the beginning: 0 mAh +Cc_info at the end: 0 mAh +Cc_info variation: 0.0 mAh + + +Expermiment results +------------------------------------------------------------ +Energy Consumed (mAh): 23.42848921387117 +Workload: 9.53721e+10 +Energy efficiency: 2.45653e-10 +-------------------------------------------------------------------------------- + + +--- Writing to the total result file +--- Removing previous tested configuration tmp_output folder +removed '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__03Oct22_21_26_52/app_output_folder/all_workloads.txt' +removed '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__03Oct22_21_26_52/app_output_folder/Thread_0_ended' +removed '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__03Oct22_21_26_52/app_output_folder/Thread_0_ready_for_sampling' +removed '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__03Oct22_21_26_52/app_output_folder/Thread_1_ended' +removed '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__03Oct22_21_26_52/app_output_folder/Thread_1_ready_for_sampling' +removed directory '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__03Oct22_21_26_52/app_output_folder' +removed '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__03Oct22_21_26_52/configuration_mesurement.csv' +removed '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__03Oct22_21_26_52/energy_power_workload_energyByWorkload_ccInfo' +removed '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__03Oct22_21_26_52/logcat_output' +removed '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__03Oct22_21_26_52/powermeter_summary.txt' +removed directory '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__03Oct22_21_26_52' +--- Moving the current experiment tmp_folder to the output result folder +writing a temporary file for the main script with format energy_power_workload_energyByWorkload_ccInfo +--- Obtaining experiment summary result to add to result folder +--- Experiment result, Energy consumed = 23.42848921387117 +--- Experiment result, Avg Power = 715.786262487798 +--- Experiment result, Total Workload = 9.53721e+10 +--- Experiment result, Energy Efficiency = 2.45653e-10 +--- Adding result to summary file +--- Starting cc information : 0 +--- Ending cc information : 0 +--- The file /mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/output_folder/summary.csv exists we just appending the result to the file +--- Experiments performed on configuration 200200-0-0. +--- Observing a pause betwenn experiment; pause duration : 180 seconds; starting at 03Oct22_21_39_39 +--- Performing experiments on configuration 202000-0-0 +--- Cleaning the tmp expermiment folder : /mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/last_tmp_expermiment_folder +--- Second step : verifying the battery level +--- Verifying the battery level +--- Getting current battery level, adb command path: /mnt/c/Program Files/Android/platform-tools_r33.0.1-windows/platform-tools/adb.exe +--- Current battery level : 50 +Current battery level: OKAY +--- Third step calibrating phone core frequency +--- Resetting all frequency configurations + -- Command used : echo schedutil > /sys/devices/system/cpu/cpu1/cpufreq/scaling_governor + -- Command used : echo schedutil > /sys/devices/system/cpu/cpu2/cpufreq/scaling_governor + -- Command used : echo schedutil > /sys/devices/system/cpu/cpu3/cpufreq/scaling_governor + -- Command used : echo schedutil > /sys/devices/system/cpu/cpu4/cpufreq/scaling_governor + -- Command used : echo schedutil > /sys/devices/system/cpu/cpu5/cpufreq/scaling_governor + -- Command used : echo schedutil > /sys/devices/system/cpu/cpu6/cpufreq/scaling_governor + -- Command used : echo schedutil > /sys/devices/system/cpu/cpu7/cpufreq/scaling_governor +--- Frequency level of core 0 is 2 +--- Exact frequency of core 0: 1363200 +--- Modifying the governor of core 0 +--- Modifying the the current frequency of core 0 with frequency 1363200 +--- Frequency level of core 1 is 0 +--- Exact frequency of core 1: 0 +--- Modifying the governor of core 1 +--- Modifying the the current frequency of core 1 with frequency 0 +--- Frequency level of core 2 is 2 +--- Exact frequency of core 2: 1363200 +--- Modifying the governor of core 2 +--- Modifying the the current frequency of core 2 with frequency 1363200 +--- Frequency level of core 3 is 0 +--- Exact frequency of core 3: 0 +--- Modifying the governor of core 3 +--- Modifying the the current frequency of core 3 with frequency 0 +--- Frequency level of core 4 is 0 +--- Exact frequency of core 4: 0 +--- Modifying the governor of core 4 +--- Modifying the the current frequency of core 4 with frequency 0 +--- Frequency level of core 5 is 0 +--- Exact frequency of core 5: 0 +--- Modifying the governor of core 5 +--- Modifying the the current frequency of core 5 with frequency 0 +--- Frequency level of core 6 is 0 +--- Exact frequency of core 6: 0 +--- Modifying the governor of core 6 +--- Modifying the the current frequency of core 6 with frequency 0 +--- Frequency level of core 7 is 0 +--- Exact frequency of core 7: 0 +--- Modifying the governor of core 7 +--- Modifying the the current frequency of core 7 with frequency 0 +--- Calibrating Monsoon power meter, please wait for 10 seconds... +powermeter script : --- Inside the monsoon_power_meter, arg function: 1 +powermeter script : calibration duration = 10 +powermeter script : Creating the Monsoon engine +powermeter script : Creating the Monsoon engine +powermeter script : Configuring channels the Monsoon engine +powermeter script : Configuring output to : C:\Users\lavoi\opportunist_task_on_android\scripts_valuable_files\experiment_automatization\last_tmp_expermiment_folder\configuration_mesurement.csv +powermeter script : Starting sampling; number of sample = 50000 + returning 50000 samples after experiments +powermeter script : Power meter calibration okay +--- Monsoon power meter Calibrated +--- starting the benchmarking app +## writing the configuration inside the phone file + --- Removing file /sdcard/experiments_automatization +rm '/sdcard/experiments_automatization/current_configuration.txt' +rm '/sdcard/experiments_automatization/experiment_duration.txt' +rm '/sdcard/experiments_automatization/app_output_folder/Thread_0_ready_for_sampling' +rm '/sdcard/experiments_automatization/app_output_folder/Thread_1_ready_for_sampling' +rm '/sdcard/experiments_automatization/app_output_folder/Thread_0_ended' +rm '/sdcard/experiments_automatization/app_output_folder/Thread_1_ended' +rmdir '/sdcard/experiments_automatization/app_output_folder' +rmdir '/sdcard/experiments_automatization' + --- Clearing the logcat + --- Creating file /sdcard/experiments_automatization +----- Uninstalling experiment app +Success +----- Installing experiment app +Performing Streamed Install +Success +------ Giving rights to experiment app +----- Starting experiment app +Starting: Intent { cmp=com.opportunistask.scheduling.benchmarking_app_to_test_big_cores/.MainActivity } +adb command : ps -A | grep com.opportunistask.scheduling.benchmarking_app_to_test_big_cores + ----- Experiment app started with pid: 7185 +---- waiting for benchmarking app thread to be pinned and to be ready +--- frequency level of core 0 is 2 +--- frequency level of core 1 is 0 +--- frequency level of core 2 is 2 +--- frequency level of core 3 is 0 +--- frequency level of core 4 is 0 +--- frequency level of core 5 is 0 +--- frequency level of core 6 is 0 +--- frequency level of core 7 is 0 +--- Number of cores to occupy = 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 2 +--- Now threads are running and the phone is ready to be sampled with the power meter \n--- Threads pids +Thread_0_ready_for_sampling +Thread_1_ready_for_sampling +--- Printing cc_info beginning datas (for the samsung galaxy s8) + --- Starting power meter sampling for about 600 seconds +--- Sampling with the Monsoon power meter +powermeter script : --- Inside the monsoon_power_meter, arg function: 2 +powermeter script : Experiment duration = 600 +powermeter script : Creating the Monsoon engine +powermeter script : Creating the Monsoon engine +powermeter script : Configuring channels the Monsoon engine +powermeter script : Configuring output to : C:\Users\lavoi\opportunist_task_on_android\scripts_valuable_files\experiment_automatization\last_tmp_expermiment_folder\configuration_mesurement.csv +powermeter script : Starting sampling; number of sample = 3000000 + returning 3000000 samples after experiments +powermeter script : Total nomber of sample measured : 3000000 +powermeter script : Computing powermeter summary result + Number of samples = 3000000 +powermeter script : We computed the energy on 600 samples +powermeter script : average_power = 727.6323355556636 +powermeter script : average_power with numpy arrays = 727.6323355556075 +powermeter script : Summary Result = time (s): 601.2154786586761 +Ins Current (mA):136.3571662602865 +Samples: 3000000 +Consumed Energy (mAs): 86733.12376634628 +Consumed Energy (mAh): 24.092534379540634 +Consumed Energy (mWs): 437121.96536654566 +Consumed Energy (mWh): 121.4227681573738 +Avg power (mW): 727.6323355556636 +Avg Current (mA): 144.335084258714 +Avg Voltage (V): 5.041271422625258 +Exp Batt Life (hrs for 1000mAh battery): NOT COMPUTED +--- Monsoon power meter sampling is finished ! + --- experiment folder path /mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/last_tmp_expermiment_folder +--- frequency level of core 0 is 2 +--- frequency level of core 1 is 0 +--- frequency level of core 2 is 2 +--- frequency level of core 3 is 0 +--- frequency level of core 4 is 0 +--- frequency level of core 5 is 0 +--- frequency level of core 6 is 0 +--- frequency level of core 7 is 0 +--- Number of threads normally started = 2 +--- Number of thread ended: 2 +--- Now threads are stopped, getting the cc_info_level for samsung +--- Copying thread results locally +command /mnt/c/Program Files/Android/platform-tools_r33.0.1-windows/platform-tools/adb.exe pull /sdcard/experiments_automatization/app_output_folder C:\Users\lavoi\opportunist_task_on_android\scripts_valuable_files\experiment_automatization\last_tmp_expermiment_folder </dev/null +/sdcard/experiments_automatization/app_output_folder/: 4 files pulled, 0 skipped. 0.0 MB/s (904 bytes in 0.032s) +saving the logcat file to /mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/last_tmp_expermiment_folder -/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/last_tmp_expermiment_folder- +--- Parsing result from /mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/last_tmp_expermiment_folder to /mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/output_folder/raw_result.txt +--- Getting exact configuration with frequency +--- Configuration with frequencies = [1363200- 0- 1363200- 0- 0- 0- 0- 0] +--- Getting the powermeter summary +--- Powermeter summary: +time (s): 601.2154786586761 +Ins Current (mA):136.3571662602865 +Samples: 3000000 +Consumed Energy (mAs): 86733.12376634628 +Consumed Energy (mAh): 24.092534379540634 +Consumed Energy (mWs): 437121.96536654566 +Consumed Energy (mWh): 121.4227681573738 +Avg power (mW): 727.6323355556636 +Avg Current (mA): 144.335084258714 +Avg Voltage (V): 5.041271422625258 + +--- Getting the total energy consumed of the google pixel +--- Energy consumed = 24.092534379540634 +--- Starting cc_info = 0 +--- Ending cc_info = 0 +--- Getting the average power +--- Avg Power = 727.6323355556636 +--- Printing the total threads summary +--- Thread results +Thread : 0 - ThreadProcess id: 7210 +---------------------------------------- +Starting time: Sat, 18 Dec 2021 19:59:24 +0100 +Core id: 0 +Ending time: Sat, 18 Dec 2021 20:09:24 +0100 - Duration: 600021 seconds +Real workload: 4.690398613648207E10 - Integer reached: 129036 - Number of reset = 0 +Battery stats: 0 mAH +Computed Drain: Null +Start: 50 % - End: 50 +Cc_info at the beginning: 0 mAh +Cc_info at the end: 0 mAh +Cc_info variation: 0.0 mAh + +Thread : 1 - ThreadProcess id: 7211 +---------------------------------------- +Starting time: Sat, 18 Dec 2021 19:59:24 +0100 +Core id: 2 +Ending time: Sat, 18 Dec 2021 20:09:24 +0100 - Duration: 600001 seconds +Real workload: 4.772386328998816E10 - Integer reached: 130111 - Number of reset = 0 +Battery stats: 0 mAH +Computed Drain: Null +Start: 50 % - End: 50 +Cc_info at the beginning: 0 mAh +Cc_info at the end: 0 mAh +Cc_info variation: 0.0 mAh + + +--- Counting the total workload command : print_total_workload /mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/last_tmp_expermiment_folder app_output_folder 2,0,2,0,0,0,0,0 /mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first +--- Total workload : 9.46278e+10 +--- Getting energy efficiency +--- Energy efficiency: 2.54603e-10 +--- Building what we will add to the total result file command +------ + (build_configuration_raw_result 202000-0-0 2,0,2,0,0,0,0,0 [1363200- 0- 1363200- 0- 0- 0- 0- 0] time (s): 601.2154786586761 +Ins Current (mA):136.3571662602865 +Samples: 3000000 +Consumed Energy (mAs): 86733.12376634628 +Consumed Energy (mAh): 24.092534379540634 +Consumed Energy (mWs): 437121.96536654566 +Consumed Energy (mWh): 121.4227681573738 +Avg power (mW): 727.6323355556636 +Avg Current (mA): 144.335084258714 +Avg Voltage (V): 5.041271422625258 + Thread : 0 - ThreadProcess id: 7210 +---------------------------------------- +Starting time: Sat, 18 Dec 2021 19:59:24 +0100 +Core id: 0 +Ending time: Sat, 18 Dec 2021 20:09:24 +0100 - Duration: 600021 seconds +Real workload: 4.690398613648207E10 - Integer reached: 129036 - Number of reset = 0 +Battery stats: 0 mAH +Computed Drain: Null +Start: 50 % - End: 50 +Cc_info at the beginning: 0 mAh +Cc_info at the end: 0 mAh +Cc_info variation: 0.0 mAh + +Thread : 1 - ThreadProcess id: 7211 +---------------------------------------- +Starting time: Sat, 18 Dec 2021 19:59:24 +0100 +Core id: 2 +Ending time: Sat, 18 Dec 2021 20:09:24 +0100 - Duration: 600001 seconds +Real workload: 4.772386328998816E10 - Integer reached: 130111 - Number of reset = 0 +Battery stats: 0 mAH +Computed Drain: Null +Start: 50 % - End: 50 +Cc_info at the beginning: 0 mAh +Cc_info at the end: 0 mAh +Cc_info variation: 0.0 mAh + + 24.092534379540634 9.46278e+10 2.54603e-10 0 0 +------ + +--- Final result to print to File + -------------------------------------------------------------------------------- + +++++ +++++ +++++ Configuration Description +-------------------------------------------------------------------------------- +Configuration: 202000-0-0 +phone format: 2,0,2,0,0,0,0,0 +Exact values of frequencies: [1363200- 0- 1363200- 0- 0- 0- 0- 0] + +Power meter results +------------------------------------------------------------ +time (s): 601.2154786586761 +Ins Current (mA):136.3571662602865 +Samples: 3000000 +Consumed Energy (mAs): 86733.12376634628 +Consumed Energy (mAh): 24.092534379540634 +Consumed Energy (mWs): 437121.96536654566 +Consumed Energy (mWh): 121.4227681573738 +Avg power (mW): 727.6323355556636 +Avg Current (mA): 144.335084258714 +Avg Voltage (V): 5.041271422625258 + +Threads results +------------------------------------------------------------ +Thread : 0 - ThreadProcess id: 7210 +---------------------------------------- +Starting time: Sat, 18 Dec 2021 19:59:24 +0100 +Core id: 0 +Ending time: Sat, 18 Dec 2021 20:09:24 +0100 - Duration: 600021 seconds +Real workload: 4.690398613648207E10 - Integer reached: 129036 - Number of reset = 0 +Battery stats: 0 mAH +Computed Drain: Null +Start: 50 % - End: 50 +Cc_info at the beginning: 0 mAh +Cc_info at the end: 0 mAh +Cc_info variation: 0.0 mAh + +Thread : 1 - ThreadProcess id: 7211 +---------------------------------------- +Starting time: Sat, 18 Dec 2021 19:59:24 +0100 +Core id: 2 +Ending time: Sat, 18 Dec 2021 20:09:24 +0100 - Duration: 600001 seconds +Real workload: 4.772386328998816E10 - Integer reached: 130111 - Number of reset = 0 +Battery stats: 0 mAH +Computed Drain: Null +Start: 50 % - End: 50 +Cc_info at the beginning: 0 mAh +Cc_info at the end: 0 mAh +Cc_info variation: 0.0 mAh + + +Expermiment results +------------------------------------------------------------ +Energy Consumed (mAh): 24.092534379540634 +Workload: 9.46278e+10 +Energy efficiency: 2.54603e-10 +-------------------------------------------------------------------------------- + + +--- Writing to the total result file +--- Removing previous tested configuration tmp_output folder +removed '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__03Oct22_21_42_41/app_output_folder/all_workloads.txt' +removed '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__03Oct22_21_42_41/app_output_folder/Thread_0_ended' +removed '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__03Oct22_21_42_41/app_output_folder/Thread_0_ready_for_sampling' +removed '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__03Oct22_21_42_41/app_output_folder/Thread_1_ended' +removed '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__03Oct22_21_42_41/app_output_folder/Thread_1_ready_for_sampling' +removed directory '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__03Oct22_21_42_41/app_output_folder' +removed '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__03Oct22_21_42_41/configuration_mesurement.csv' +removed '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__03Oct22_21_42_41/energy_power_workload_energyByWorkload_ccInfo' +removed '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__03Oct22_21_42_41/logcat_output' +removed '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__03Oct22_21_42_41/powermeter_summary.txt' +removed directory '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__03Oct22_21_42_41' +--- Moving the current experiment tmp_folder to the output result folder +writing a temporary file for the main script with format energy_power_workload_energyByWorkload_ccInfo +--- Obtaining experiment summary result to add to result folder +--- Experiment result, Energy consumed = 24.092534379540634 +--- Experiment result, Avg Power = 727.6323355556636 +--- Experiment result, Total Workload = 9.46278e+10 +--- Experiment result, Energy Efficiency = 2.54603e-10 +--- Adding result to summary file +--- Starting cc information : 0 +--- Ending cc information : 0 +--- The file /mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/output_folder/summary.csv exists we just appending the result to the file +--- Experiments performed on configuration 202000-0-0. +--- Observing a pause betwenn experiment; pause duration : 180 seconds; starting at 03Oct22_21_55_27 +--- Performing experiments on configuration 202000-0-0 +--- Cleaning the tmp expermiment folder : /mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/last_tmp_expermiment_folder +--- Second step : verifying the battery level +--- Verifying the battery level +--- Getting current battery level, adb command path: /mnt/c/Program Files/Android/platform-tools_r33.0.1-windows/platform-tools/adb.exe +--- Current battery level : 50 +Current battery level: OKAY +--- Third step calibrating phone core frequency +--- Resetting all frequency configurations + -- Command used : echo schedutil > /sys/devices/system/cpu/cpu1/cpufreq/scaling_governor + -- Command used : echo schedutil > /sys/devices/system/cpu/cpu2/cpufreq/scaling_governor + -- Command used : echo schedutil > /sys/devices/system/cpu/cpu3/cpufreq/scaling_governor + -- Command used : echo schedutil > /sys/devices/system/cpu/cpu4/cpufreq/scaling_governor + -- Command used : echo schedutil > /sys/devices/system/cpu/cpu5/cpufreq/scaling_governor + -- Command used : echo schedutil > /sys/devices/system/cpu/cpu6/cpufreq/scaling_governor + -- Command used : echo schedutil > /sys/devices/system/cpu/cpu7/cpufreq/scaling_governor +--- Frequency level of core 0 is 2 +--- Exact frequency of core 0: 1363200 +--- Modifying the governor of core 0 +--- Modifying the the current frequency of core 0 with frequency 1363200 +--- Frequency level of core 1 is 0 +--- Exact frequency of core 1: 0 +--- Modifying the governor of core 1 +--- Modifying the the current frequency of core 1 with frequency 0 +--- Frequency level of core 2 is 2 +--- Exact frequency of core 2: 1363200 +--- Modifying the governor of core 2 +--- Modifying the the current frequency of core 2 with frequency 1363200 +--- Frequency level of core 3 is 0 +--- Exact frequency of core 3: 0 +--- Modifying the governor of core 3 +--- Modifying the the current frequency of core 3 with frequency 0 +--- Frequency level of core 4 is 0 +--- Exact frequency of core 4: 0 +--- Modifying the governor of core 4 +--- Modifying the the current frequency of core 4 with frequency 0 +--- Frequency level of core 5 is 0 +--- Exact frequency of core 5: 0 +--- Modifying the governor of core 5 +--- Modifying the the current frequency of core 5 with frequency 0 +--- Frequency level of core 6 is 0 +--- Exact frequency of core 6: 0 +--- Modifying the governor of core 6 +--- Modifying the the current frequency of core 6 with frequency 0 +--- Frequency level of core 7 is 0 +--- Exact frequency of core 7: 0 +--- Modifying the governor of core 7 +--- Modifying the the current frequency of core 7 with frequency 0 +--- Calibrating Monsoon power meter, please wait for 10 seconds... +powermeter script : --- Inside the monsoon_power_meter, arg function: 1 +powermeter script : calibration duration = 10 +powermeter script : Creating the Monsoon engine +powermeter script : Creating the Monsoon engine +powermeter script : Configuring channels the Monsoon engine +powermeter script : Configuring output to : C:\Users\lavoi\opportunist_task_on_android\scripts_valuable_files\experiment_automatization\last_tmp_expermiment_folder\configuration_mesurement.csv +powermeter script : Starting sampling; number of sample = 50000 + returning 50000 samples after experiments +powermeter script : Power meter calibration okay +--- Monsoon power meter Calibrated +--- starting the benchmarking app +## writing the configuration inside the phone file + --- Removing file /sdcard/experiments_automatization +rm '/sdcard/experiments_automatization/current_configuration.txt' +rm '/sdcard/experiments_automatization/experiment_duration.txt' +rm '/sdcard/experiments_automatization/app_output_folder/Thread_0_ready_for_sampling' +rm '/sdcard/experiments_automatization/app_output_folder/Thread_1_ready_for_sampling' +rm '/sdcard/experiments_automatization/app_output_folder/Thread_0_ended' +rm '/sdcard/experiments_automatization/app_output_folder/Thread_1_ended' +rmdir '/sdcard/experiments_automatization/app_output_folder' +rmdir '/sdcard/experiments_automatization' + --- Clearing the logcat + --- Creating file /sdcard/experiments_automatization +----- Uninstalling experiment app +Success +----- Installing experiment app +Performing Streamed Install +Success +------ Giving rights to experiment app +----- Starting experiment app +Starting: Intent { cmp=com.opportunistask.scheduling.benchmarking_app_to_test_big_cores/.MainActivity } +adb command : ps -A | grep com.opportunistask.scheduling.benchmarking_app_to_test_big_cores + ----- Experiment app started with pid: 8020 +---- waiting for benchmarking app thread to be pinned and to be ready +--- frequency level of core 0 is 2 +--- frequency level of core 1 is 0 +--- frequency level of core 2 is 2 +--- frequency level of core 3 is 0 +--- frequency level of core 4 is 0 +--- frequency level of core 5 is 0 +--- frequency level of core 6 is 0 +--- frequency level of core 7 is 0 +--- Number of cores to occupy = 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 2 +--- Now threads are running and the phone is ready to be sampled with the power meter \n--- Threads pids +Thread_0_ready_for_sampling +Thread_1_ready_for_sampling +--- Printing cc_info beginning datas (for the samsung galaxy s8) + --- Starting power meter sampling for about 600 seconds +--- Sampling with the Monsoon power meter +powermeter script : --- Inside the monsoon_power_meter, arg function: 2 +powermeter script : Experiment duration = 600 +powermeter script : Creating the Monsoon engine +powermeter script : Creating the Monsoon engine +powermeter script : Configuring channels the Monsoon engine +powermeter script : Configuring output to : C:\Users\lavoi\opportunist_task_on_android\scripts_valuable_files\experiment_automatization\last_tmp_expermiment_folder\configuration_mesurement.csv +powermeter script : Starting sampling; number of sample = 3000000 + returning 3000000 samples after experiments +powermeter script : Total nomber of sample measured : 3000000 +powermeter script : Computing powermeter summary result + Number of samples = 3000000 +powermeter script : We computed the energy on 600 samples +powermeter script : average_power = 727.6231161055088 +powermeter script : average_power with numpy arrays = 727.6231161054499 +powermeter script : Summary Result = time (s): 601.1753022670746 +Ins Current (mA):193.95735254341886 +Samples: 3000000 +Consumed Energy (mAs): 87167.24220609097 +Consumed Energy (mAh): 24.21312283502527 +Consumed Energy (mWs): 439242.42416581203 +Consumed Energy (mWh): 122.01178449050335 +Avg power (mW): 727.6231161055088 +Avg Current (mA): 144.33147272445504 +Avg Voltage (V): 5.041333690917315 +Exp Batt Life (hrs for 1000mAh battery): NOT COMPUTED +--- Monsoon power meter sampling is finished ! + --- experiment folder path /mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/last_tmp_expermiment_folder +--- frequency level of core 0 is 2 +--- frequency level of core 1 is 0 +--- frequency level of core 2 is 2 +--- frequency level of core 3 is 0 +--- frequency level of core 4 is 0 +--- frequency level of core 5 is 0 +--- frequency level of core 6 is 0 +--- frequency level of core 7 is 0 +--- Number of threads normally started = 2 +--- Number of thread ended: 2 +--- Now threads are stopped, getting the cc_info_level for samsung +--- Copying thread results locally +command /mnt/c/Program Files/Android/platform-tools_r33.0.1-windows/platform-tools/adb.exe pull /sdcard/experiments_automatization/app_output_folder C:\Users\lavoi\opportunist_task_on_android\scripts_valuable_files\experiment_automatization\last_tmp_expermiment_folder </dev/null +/sdcard/experiments_automatization/app_output_folder/: 4 files pulled, 0 skipped. 0.0 MB/s (905 bytes in 0.044s) +saving the logcat file to /mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/last_tmp_expermiment_folder -/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/last_tmp_expermiment_folder- +--- Parsing result from /mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/last_tmp_expermiment_folder to /mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/output_folder/raw_result.txt +--- Getting exact configuration with frequency +--- Configuration with frequencies = [1363200- 0- 1363200- 0- 0- 0- 0- 0] +--- Getting the powermeter summary +--- Powermeter summary: +time (s): 601.1753022670746 +Ins Current (mA):193.95735254341886 +Samples: 3000000 +Consumed Energy (mAs): 87167.24220609097 +Consumed Energy (mAh): 24.21312283502527 +Consumed Energy (mWs): 439242.42416581203 +Consumed Energy (mWh): 122.01178449050335 +Avg power (mW): 727.6231161055088 +Avg Current (mA): 144.33147272445504 +Avg Voltage (V): 5.041333690917315 + +--- Getting the total energy consumed of the google pixel +--- Energy consumed = 24.21312283502527 +--- Starting cc_info = 0 +--- Ending cc_info = 0 +--- Getting the average power +--- Avg Power = 727.6231161055088 +--- Printing the total threads summary +--- Thread results +Thread : 0 - ThreadProcess id: 8045 +---------------------------------------- +Starting time: Sat, 18 Dec 2021 20:15:12 +0100 +Core id: 0 +Ending time: Sat, 18 Dec 2021 20:25:12 +0100 - Duration: 600006 seconds +Real workload: 4.677197425996361E10 - Integer reached: 128862 - Number of reset = 0 +Battery stats: 0 mAH +Computed Drain: Null +Start: 50 % - End: 50 +Cc_info at the beginning: 0 mAh +Cc_info at the end: 0 mAh +Cc_info variation: 0.0 mAh + +Thread : 1 - ThreadProcess id: 8046 +---------------------------------------- +Starting time: Sat, 18 Dec 2021 20:15:12 +0100 +Core id: 2 +Ending time: Sat, 18 Dec 2021 20:25:12 +0100 - Duration: 600018 seconds +Real workload: 4.6875898467020775E10 - Integer reached: 128999 - Number of reset = 0 +Battery stats: 0 mAH +Computed Drain: Null +Start: 50 % - End: 50 +Cc_info at the beginning: 0 mAh +Cc_info at the end: 0 mAh +Cc_info variation: 0.0 mAh + + +--- Counting the total workload command : print_total_workload /mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/last_tmp_expermiment_folder app_output_folder 2,0,2,0,0,0,0,0 /mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first +--- Total workload : 9.36479e+10 +--- Getting energy efficiency +--- Energy efficiency: 2.58555e-10 +--- Building what we will add to the total result file command +------ + (build_configuration_raw_result 202000-0-0 2,0,2,0,0,0,0,0 [1363200- 0- 1363200- 0- 0- 0- 0- 0] time (s): 601.1753022670746 +Ins Current (mA):193.95735254341886 +Samples: 3000000 +Consumed Energy (mAs): 87167.24220609097 +Consumed Energy (mAh): 24.21312283502527 +Consumed Energy (mWs): 439242.42416581203 +Consumed Energy (mWh): 122.01178449050335 +Avg power (mW): 727.6231161055088 +Avg Current (mA): 144.33147272445504 +Avg Voltage (V): 5.041333690917315 + Thread : 0 - ThreadProcess id: 8045 +---------------------------------------- +Starting time: Sat, 18 Dec 2021 20:15:12 +0100 +Core id: 0 +Ending time: Sat, 18 Dec 2021 20:25:12 +0100 - Duration: 600006 seconds +Real workload: 4.677197425996361E10 - Integer reached: 128862 - Number of reset = 0 +Battery stats: 0 mAH +Computed Drain: Null +Start: 50 % - End: 50 +Cc_info at the beginning: 0 mAh +Cc_info at the end: 0 mAh +Cc_info variation: 0.0 mAh + +Thread : 1 - ThreadProcess id: 8046 +---------------------------------------- +Starting time: Sat, 18 Dec 2021 20:15:12 +0100 +Core id: 2 +Ending time: Sat, 18 Dec 2021 20:25:12 +0100 - Duration: 600018 seconds +Real workload: 4.6875898467020775E10 - Integer reached: 128999 - Number of reset = 0 +Battery stats: 0 mAH +Computed Drain: Null +Start: 50 % - End: 50 +Cc_info at the beginning: 0 mAh +Cc_info at the end: 0 mAh +Cc_info variation: 0.0 mAh + + 24.21312283502527 9.36479e+10 2.58555e-10 0 0 +------ + +--- Final result to print to File + -------------------------------------------------------------------------------- + +++++ +++++ +++++ Configuration Description +-------------------------------------------------------------------------------- +Configuration: 202000-0-0 +phone format: 2,0,2,0,0,0,0,0 +Exact values of frequencies: [1363200- 0- 1363200- 0- 0- 0- 0- 0] + +Power meter results +------------------------------------------------------------ +time (s): 601.1753022670746 +Ins Current (mA):193.95735254341886 +Samples: 3000000 +Consumed Energy (mAs): 87167.24220609097 +Consumed Energy (mAh): 24.21312283502527 +Consumed Energy (mWs): 439242.42416581203 +Consumed Energy (mWh): 122.01178449050335 +Avg power (mW): 727.6231161055088 +Avg Current (mA): 144.33147272445504 +Avg Voltage (V): 5.041333690917315 + +Threads results +------------------------------------------------------------ +Thread : 0 - ThreadProcess id: 8045 +---------------------------------------- +Starting time: Sat, 18 Dec 2021 20:15:12 +0100 +Core id: 0 +Ending time: Sat, 18 Dec 2021 20:25:12 +0100 - Duration: 600006 seconds +Real workload: 4.677197425996361E10 - Integer reached: 128862 - Number of reset = 0 +Battery stats: 0 mAH +Computed Drain: Null +Start: 50 % - End: 50 +Cc_info at the beginning: 0 mAh +Cc_info at the end: 0 mAh +Cc_info variation: 0.0 mAh + +Thread : 1 - ThreadProcess id: 8046 +---------------------------------------- +Starting time: Sat, 18 Dec 2021 20:15:12 +0100 +Core id: 2 +Ending time: Sat, 18 Dec 2021 20:25:12 +0100 - Duration: 600018 seconds +Real workload: 4.6875898467020775E10 - Integer reached: 128999 - Number of reset = 0 +Battery stats: 0 mAH +Computed Drain: Null +Start: 50 % - End: 50 +Cc_info at the beginning: 0 mAh +Cc_info at the end: 0 mAh +Cc_info variation: 0.0 mAh + + +Expermiment results +------------------------------------------------------------ +Energy Consumed (mAh): 24.21312283502527 +Workload: 9.36479e+10 +Energy efficiency: 2.58555e-10 +-------------------------------------------------------------------------------- + + +--- Writing to the total result file +--- Removing previous tested configuration tmp_output folder +removed '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__03Oct22_21_58_29/app_output_folder/all_workloads.txt' +removed '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__03Oct22_21_58_29/app_output_folder/Thread_0_ended' +removed '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__03Oct22_21_58_29/app_output_folder/Thread_0_ready_for_sampling' +removed '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__03Oct22_21_58_29/app_output_folder/Thread_1_ended' +removed '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__03Oct22_21_58_29/app_output_folder/Thread_1_ready_for_sampling' +removed directory '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__03Oct22_21_58_29/app_output_folder' +removed '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__03Oct22_21_58_29/configuration_mesurement.csv' +removed '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__03Oct22_21_58_29/energy_power_workload_energyByWorkload_ccInfo' +removed '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__03Oct22_21_58_29/logcat_output' +removed '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__03Oct22_21_58_29/powermeter_summary.txt' +removed directory '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__03Oct22_21_58_29' +--- Moving the current experiment tmp_folder to the output result folder +writing a temporary file for the main script with format energy_power_workload_energyByWorkload_ccInfo +--- Obtaining experiment summary result to add to result folder +--- Experiment result, Energy consumed = 24.21312283502527 +--- Experiment result, Avg Power = 727.6231161055088 +--- Experiment result, Total Workload = 9.36479e+10 +--- Experiment result, Energy Efficiency = 2.58555e-10 +--- Adding result to summary file +--- Starting cc information : 0 +--- Ending cc information : 0 +--- The file /mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/output_folder/summary.csv exists we just appending the result to the file +--- Experiments performed on configuration 202000-0-0. +--- Observing a pause betwenn experiment; pause duration : 180 seconds; starting at 03Oct22_22_11_16 +--- Performing experiments on configuration 202000-0-0 +--- Cleaning the tmp expermiment folder : /mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/last_tmp_expermiment_folder +--- Second step : verifying the battery level +--- Verifying the battery level +--- Getting current battery level, adb command path: /mnt/c/Program Files/Android/platform-tools_r33.0.1-windows/platform-tools/adb.exe +--- Current battery level : 50 +Current battery level: OKAY +--- Third step calibrating phone core frequency +--- Resetting all frequency configurations + -- Command used : echo schedutil > /sys/devices/system/cpu/cpu1/cpufreq/scaling_governor + -- Command used : echo schedutil > /sys/devices/system/cpu/cpu2/cpufreq/scaling_governor + -- Command used : echo schedutil > /sys/devices/system/cpu/cpu3/cpufreq/scaling_governor + -- Command used : echo schedutil > /sys/devices/system/cpu/cpu4/cpufreq/scaling_governor + -- Command used : echo schedutil > /sys/devices/system/cpu/cpu5/cpufreq/scaling_governor + -- Command used : echo schedutil > /sys/devices/system/cpu/cpu6/cpufreq/scaling_governor + -- Command used : echo schedutil > /sys/devices/system/cpu/cpu7/cpufreq/scaling_governor +--- Frequency level of core 0 is 2 +--- Exact frequency of core 0: 1363200 +--- Modifying the governor of core 0 +--- Modifying the the current frequency of core 0 with frequency 1363200 +--- Frequency level of core 1 is 0 +--- Exact frequency of core 1: 0 +--- Modifying the governor of core 1 +--- Modifying the the current frequency of core 1 with frequency 0 +--- Frequency level of core 2 is 2 +--- Exact frequency of core 2: 1363200 +--- Modifying the governor of core 2 +--- Modifying the the current frequency of core 2 with frequency 1363200 +--- Frequency level of core 3 is 0 +--- Exact frequency of core 3: 0 +--- Modifying the governor of core 3 +--- Modifying the the current frequency of core 3 with frequency 0 +--- Frequency level of core 4 is 0 +--- Exact frequency of core 4: 0 +--- Modifying the governor of core 4 +--- Modifying the the current frequency of core 4 with frequency 0 +--- Frequency level of core 5 is 0 +--- Exact frequency of core 5: 0 +--- Modifying the governor of core 5 +--- Modifying the the current frequency of core 5 with frequency 0 +--- Frequency level of core 6 is 0 +--- Exact frequency of core 6: 0 +--- Modifying the governor of core 6 +--- Modifying the the current frequency of core 6 with frequency 0 +--- Frequency level of core 7 is 0 +--- Exact frequency of core 7: 0 +--- Modifying the governor of core 7 +--- Modifying the the current frequency of core 7 with frequency 0 +--- Calibrating Monsoon power meter, please wait for 10 seconds... +powermeter script : --- Inside the monsoon_power_meter, arg function: 1 +powermeter script : calibration duration = 10 +powermeter script : Creating the Monsoon engine +powermeter script : Creating the Monsoon engine +powermeter script : Configuring channels the Monsoon engine +powermeter script : Configuring output to : C:\Users\lavoi\opportunist_task_on_android\scripts_valuable_files\experiment_automatization\last_tmp_expermiment_folder\configuration_mesurement.csv +powermeter script : Starting sampling; number of sample = 50000 + returning 50000 samples after experiments +powermeter script : Power meter calibration okay +--- Monsoon power meter Calibrated +--- starting the benchmarking app +## writing the configuration inside the phone file + --- Removing file /sdcard/experiments_automatization +rm '/sdcard/experiments_automatization/current_configuration.txt' +rm '/sdcard/experiments_automatization/experiment_duration.txt' +rm '/sdcard/experiments_automatization/app_output_folder/Thread_0_ready_for_sampling' +rm '/sdcard/experiments_automatization/app_output_folder/Thread_1_ready_for_sampling' +rm '/sdcard/experiments_automatization/app_output_folder/Thread_0_ended' +rm '/sdcard/experiments_automatization/app_output_folder/Thread_1_ended' +rmdir '/sdcard/experiments_automatization/app_output_folder' +rmdir '/sdcard/experiments_automatization' + --- Clearing the logcat + --- Creating file /sdcard/experiments_automatization +----- Uninstalling experiment app +Success +----- Installing experiment app +Performing Streamed Install +Success +------ Giving rights to experiment app +----- Starting experiment app +Starting: Intent { cmp=com.opportunistask.scheduling.benchmarking_app_to_test_big_cores/.MainActivity } +adb command : ps -A | grep com.opportunistask.scheduling.benchmarking_app_to_test_big_cores + ----- Experiment app started with pid: 8855 +---- waiting for benchmarking app thread to be pinned and to be ready +--- frequency level of core 0 is 2 +--- frequency level of core 1 is 0 +--- frequency level of core 2 is 2 +--- frequency level of core 3 is 0 +--- frequency level of core 4 is 0 +--- frequency level of core 5 is 0 +--- frequency level of core 6 is 0 +--- frequency level of core 7 is 0 +--- Number of cores to occupy = 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 2 +--- Now threads are running and the phone is ready to be sampled with the power meter \n--- Threads pids +Thread_0_ready_for_sampling +Thread_1_ready_for_sampling +--- Printing cc_info beginning datas (for the samsung galaxy s8) + --- Starting power meter sampling for about 600 seconds +--- Sampling with the Monsoon power meter +powermeter script : --- Inside the monsoon_power_meter, arg function: 2 +powermeter script : Experiment duration = 600 +powermeter script : Creating the Monsoon engine +powermeter script : Creating the Monsoon engine +powermeter script : Configuring channels the Monsoon engine +powermeter script : Configuring output to : C:\Users\lavoi\opportunist_task_on_android\scripts_valuable_files\experiment_automatization\last_tmp_expermiment_folder\configuration_mesurement.csv +powermeter script : Starting sampling; number of sample = 3000000 + returning 3000000 samples after experiments +powermeter script : Total nomber of sample measured : 3000000 +powermeter script : Computing powermeter summary result + Number of samples = 3000000 +powermeter script : We computed the energy on 600 samples +powermeter script : average_power = 724.8966738025193 +powermeter script : average_power with numpy arrays = 724.8966738024386 +powermeter script : Summary Result = time (s): 601.195641040802 +Ins Current (mA):137.7705390207105 +Samples: 3000000 +Consumed Energy (mAs): 87059.55676922263 +Consumed Energy (mAh): 24.183210213672954 +Consumed Energy (mWs): 438666.6942424996 +Consumed Energy (mWh): 121.85185951180544 +Avg power (mW): 724.8966738025193 +Avg Current (mA): 143.77942548098702 +Avg Voltage (V): 5.041727433375908 +Exp Batt Life (hrs for 1000mAh battery): NOT COMPUTED +--- Monsoon power meter sampling is finished ! + --- experiment folder path /mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/last_tmp_expermiment_folder +--- frequency level of core 0 is 2 +--- frequency level of core 1 is 0 +--- frequency level of core 2 is 2 +--- frequency level of core 3 is 0 +--- frequency level of core 4 is 0 +--- frequency level of core 5 is 0 +--- frequency level of core 6 is 0 +--- frequency level of core 7 is 0 +--- Number of threads normally started = 2 +--- Number of thread ended: 2 +--- Now threads are stopped, getting the cc_info_level for samsung +--- Copying thread results locally +command /mnt/c/Program Files/Android/platform-tools_r33.0.1-windows/platform-tools/adb.exe pull /sdcard/experiments_automatization/app_output_folder C:\Users\lavoi\opportunist_task_on_android\scripts_valuable_files\experiment_automatization\last_tmp_expermiment_folder </dev/null +/sdcard/experiments_automatization/app_output_folder/: 4 files pulled, 0 skipped. 0.0 MB/s (904 bytes in 0.034s) +saving the logcat file to /mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/last_tmp_expermiment_folder -/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/last_tmp_expermiment_folder- +--- Parsing result from /mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/last_tmp_expermiment_folder to /mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/output_folder/raw_result.txt +--- Getting exact configuration with frequency +--- Configuration with frequencies = [1363200- 0- 1363200- 0- 0- 0- 0- 0] +--- Getting the powermeter summary +--- Powermeter summary: +time (s): 601.195641040802 +Ins Current (mA):137.7705390207105 +Samples: 3000000 +Consumed Energy (mAs): 87059.55676922263 +Consumed Energy (mAh): 24.183210213672954 +Consumed Energy (mWs): 438666.6942424996 +Consumed Energy (mWh): 121.85185951180544 +Avg power (mW): 724.8966738025193 +Avg Current (mA): 143.77942548098702 +Avg Voltage (V): 5.041727433375908 + +--- Getting the total energy consumed of the google pixel +--- Energy consumed = 24.183210213672954 +--- Starting cc_info = 0 +--- Ending cc_info = 0 +--- Getting the average power +--- Avg Power = 724.8966738025193 +--- Printing the total threads summary +--- Thread results +Thread : 0 - ThreadProcess id: 8880 +---------------------------------------- +Starting time: Sat, 18 Dec 2021 20:31:00 +0100 +Core id: 0 +Ending time: Sat, 18 Dec 2021 20:41:00 +0100 - Duration: 600022 seconds +Real workload: 4.679472114142877E10 - Integer reached: 128892 - Number of reset = 0 +Battery stats: 0 mAH +Computed Drain: Null +Start: 50 % - End: 50 +Cc_info at the beginning: 0 mAh +Cc_info at the end: 0 mAh +Cc_info variation: 0.0 mAh + +Thread : 1 - ThreadProcess id: 8881 +---------------------------------------- +Starting time: Sat, 18 Dec 2021 20:31:00 +0100 +Core id: 2 +Ending time: Sat, 18 Dec 2021 20:41:00 +0100 - Duration: 600011 seconds +Real workload: 4.659398912340574E10 - Integer reached: 128627 - Number of reset = 0 +Battery stats: 0 mAH +Computed Drain: Null +Start: 50 % - End: 50 +Cc_info at the beginning: 0 mAh +Cc_info at the end: 0 mAh +Cc_info variation: 0.0 mAh + + +--- Counting the total workload command : print_total_workload /mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/last_tmp_expermiment_folder app_output_folder 2,0,2,0,0,0,0,0 /mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first +--- Total workload : 9.33887e+10 +--- Getting energy efficiency +--- Energy efficiency: 2.58952e-10 +--- Building what we will add to the total result file command +------ + (build_configuration_raw_result 202000-0-0 2,0,2,0,0,0,0,0 [1363200- 0- 1363200- 0- 0- 0- 0- 0] time (s): 601.195641040802 +Ins Current (mA):137.7705390207105 +Samples: 3000000 +Consumed Energy (mAs): 87059.55676922263 +Consumed Energy (mAh): 24.183210213672954 +Consumed Energy (mWs): 438666.6942424996 +Consumed Energy (mWh): 121.85185951180544 +Avg power (mW): 724.8966738025193 +Avg Current (mA): 143.77942548098702 +Avg Voltage (V): 5.041727433375908 + Thread : 0 - ThreadProcess id: 8880 +---------------------------------------- +Starting time: Sat, 18 Dec 2021 20:31:00 +0100 +Core id: 0 +Ending time: Sat, 18 Dec 2021 20:41:00 +0100 - Duration: 600022 seconds +Real workload: 4.679472114142877E10 - Integer reached: 128892 - Number of reset = 0 +Battery stats: 0 mAH +Computed Drain: Null +Start: 50 % - End: 50 +Cc_info at the beginning: 0 mAh +Cc_info at the end: 0 mAh +Cc_info variation: 0.0 mAh + +Thread : 1 - ThreadProcess id: 8881 +---------------------------------------- +Starting time: Sat, 18 Dec 2021 20:31:00 +0100 +Core id: 2 +Ending time: Sat, 18 Dec 2021 20:41:00 +0100 - Duration: 600011 seconds +Real workload: 4.659398912340574E10 - Integer reached: 128627 - Number of reset = 0 +Battery stats: 0 mAH +Computed Drain: Null +Start: 50 % - End: 50 +Cc_info at the beginning: 0 mAh +Cc_info at the end: 0 mAh +Cc_info variation: 0.0 mAh + + 24.183210213672954 9.33887e+10 2.58952e-10 0 0 +------ + +--- Final result to print to File + -------------------------------------------------------------------------------- + +++++ +++++ +++++ Configuration Description +-------------------------------------------------------------------------------- +Configuration: 202000-0-0 +phone format: 2,0,2,0,0,0,0,0 +Exact values of frequencies: [1363200- 0- 1363200- 0- 0- 0- 0- 0] + +Power meter results +------------------------------------------------------------ +time (s): 601.195641040802 +Ins Current (mA):137.7705390207105 +Samples: 3000000 +Consumed Energy (mAs): 87059.55676922263 +Consumed Energy (mAh): 24.183210213672954 +Consumed Energy (mWs): 438666.6942424996 +Consumed Energy (mWh): 121.85185951180544 +Avg power (mW): 724.8966738025193 +Avg Current (mA): 143.77942548098702 +Avg Voltage (V): 5.041727433375908 + +Threads results +------------------------------------------------------------ +Thread : 0 - ThreadProcess id: 8880 +---------------------------------------- +Starting time: Sat, 18 Dec 2021 20:31:00 +0100 +Core id: 0 +Ending time: Sat, 18 Dec 2021 20:41:00 +0100 - Duration: 600022 seconds +Real workload: 4.679472114142877E10 - Integer reached: 128892 - Number of reset = 0 +Battery stats: 0 mAH +Computed Drain: Null +Start: 50 % - End: 50 +Cc_info at the beginning: 0 mAh +Cc_info at the end: 0 mAh +Cc_info variation: 0.0 mAh + +Thread : 1 - ThreadProcess id: 8881 +---------------------------------------- +Starting time: Sat, 18 Dec 2021 20:31:00 +0100 +Core id: 2 +Ending time: Sat, 18 Dec 2021 20:41:00 +0100 - Duration: 600011 seconds +Real workload: 4.659398912340574E10 - Integer reached: 128627 - Number of reset = 0 +Battery stats: 0 mAH +Computed Drain: Null +Start: 50 % - End: 50 +Cc_info at the beginning: 0 mAh +Cc_info at the end: 0 mAh +Cc_info variation: 0.0 mAh + + +Expermiment results +------------------------------------------------------------ +Energy Consumed (mAh): 24.183210213672954 +Workload: 9.33887e+10 +Energy efficiency: 2.58952e-10 +-------------------------------------------------------------------------------- + + +--- Writing to the total result file +--- Removing previous tested configuration tmp_output folder +removed '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__03Oct22_22_14_18/app_output_folder/all_workloads.txt' +removed '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__03Oct22_22_14_18/app_output_folder/Thread_0_ended' +removed '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__03Oct22_22_14_18/app_output_folder/Thread_0_ready_for_sampling' +removed '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__03Oct22_22_14_18/app_output_folder/Thread_1_ended' +removed '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__03Oct22_22_14_18/app_output_folder/Thread_1_ready_for_sampling' +removed directory '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__03Oct22_22_14_18/app_output_folder' +removed '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__03Oct22_22_14_18/configuration_mesurement.csv' +removed '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__03Oct22_22_14_18/energy_power_workload_energyByWorkload_ccInfo' +removed '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__03Oct22_22_14_18/logcat_output' +removed '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__03Oct22_22_14_18/powermeter_summary.txt' +removed directory '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__03Oct22_22_14_18' +--- Moving the current experiment tmp_folder to the output result folder +writing a temporary file for the main script with format energy_power_workload_energyByWorkload_ccInfo +--- Obtaining experiment summary result to add to result folder +--- Experiment result, Energy consumed = 24.183210213672954 +--- Experiment result, Avg Power = 724.8966738025193 +--- Experiment result, Total Workload = 9.33887e+10 +--- Experiment result, Energy Efficiency = 2.58952e-10 +--- Adding result to summary file +--- Starting cc information : 0 +--- Ending cc information : 0 +--- The file /mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/output_folder/summary.csv exists we just appending the result to the file +--- Experiments performed on configuration 202000-0-0. +--- Observing a pause betwenn experiment; pause duration : 180 seconds; starting at 03Oct22_22_27_04 +--- Performing experiments on configuration 220000-0-0 +--- Cleaning the tmp expermiment folder : /mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/last_tmp_expermiment_folder +--- Second step : verifying the battery level +--- Verifying the battery level +--- Getting current battery level, adb command path: /mnt/c/Program Files/Android/platform-tools_r33.0.1-windows/platform-tools/adb.exe +--- Current battery level : 50 +Current battery level: OKAY +--- Third step calibrating phone core frequency +--- Resetting all frequency configurations + -- Command used : echo schedutil > /sys/devices/system/cpu/cpu1/cpufreq/scaling_governor + -- Command used : echo schedutil > /sys/devices/system/cpu/cpu2/cpufreq/scaling_governor + -- Command used : echo schedutil > /sys/devices/system/cpu/cpu3/cpufreq/scaling_governor + -- Command used : echo schedutil > /sys/devices/system/cpu/cpu4/cpufreq/scaling_governor + -- Command used : echo schedutil > /sys/devices/system/cpu/cpu5/cpufreq/scaling_governor + -- Command used : echo schedutil > /sys/devices/system/cpu/cpu6/cpufreq/scaling_governor + -- Command used : echo schedutil > /sys/devices/system/cpu/cpu7/cpufreq/scaling_governor +--- Frequency level of core 0 is 2 +--- Exact frequency of core 0: 1363200 +--- Modifying the governor of core 0 +--- Modifying the the current frequency of core 0 with frequency 1363200 +--- Frequency level of core 1 is 2 +--- Exact frequency of core 1: 1363200 +--- Modifying the governor of core 1 +--- Modifying the the current frequency of core 1 with frequency 1363200 +--- Frequency level of core 2 is 0 +--- Exact frequency of core 2: 0 +--- Modifying the governor of core 2 +--- Modifying the the current frequency of core 2 with frequency 0 +--- Frequency level of core 3 is 0 +--- Exact frequency of core 3: 0 +--- Modifying the governor of core 3 +--- Modifying the the current frequency of core 3 with frequency 0 +--- Frequency level of core 4 is 0 +--- Exact frequency of core 4: 0 +--- Modifying the governor of core 4 +--- Modifying the the current frequency of core 4 with frequency 0 +--- Frequency level of core 5 is 0 +--- Exact frequency of core 5: 0 +--- Modifying the governor of core 5 +--- Modifying the the current frequency of core 5 with frequency 0 +--- Frequency level of core 6 is 0 +--- Exact frequency of core 6: 0 +--- Modifying the governor of core 6 +--- Modifying the the current frequency of core 6 with frequency 0 +--- Frequency level of core 7 is 0 +--- Exact frequency of core 7: 0 +--- Modifying the governor of core 7 +--- Modifying the the current frequency of core 7 with frequency 0 +--- Calibrating Monsoon power meter, please wait for 10 seconds... +powermeter script : --- Inside the monsoon_power_meter, arg function: 1 +powermeter script : calibration duration = 10 +powermeter script : Creating the Monsoon engine +powermeter script : Creating the Monsoon engine +powermeter script : Configuring channels the Monsoon engine +powermeter script : Configuring output to : C:\Users\lavoi\opportunist_task_on_android\scripts_valuable_files\experiment_automatization\last_tmp_expermiment_folder\configuration_mesurement.csv +powermeter script : Starting sampling; number of sample = 50000 + returning 50000 samples after experiments +powermeter script : Power meter calibration okay +--- Monsoon power meter Calibrated +--- starting the benchmarking app +## writing the configuration inside the phone file + --- Removing file /sdcard/experiments_automatization +rm '/sdcard/experiments_automatization/current_configuration.txt' +rm '/sdcard/experiments_automatization/experiment_duration.txt' +rm '/sdcard/experiments_automatization/app_output_folder/Thread_0_ready_for_sampling' +rm '/sdcard/experiments_automatization/app_output_folder/Thread_1_ready_for_sampling' +rm '/sdcard/experiments_automatization/app_output_folder/Thread_0_ended' +rm '/sdcard/experiments_automatization/app_output_folder/Thread_1_ended' +rmdir '/sdcard/experiments_automatization/app_output_folder' +rmdir '/sdcard/experiments_automatization' + --- Clearing the logcat + --- Creating file /sdcard/experiments_automatization +----- Uninstalling experiment app +Success +----- Installing experiment app +Performing Streamed Install +Success +------ Giving rights to experiment app +----- Starting experiment app +Starting: Intent { cmp=com.opportunistask.scheduling.benchmarking_app_to_test_big_cores/.MainActivity } +adb command : ps -A | grep com.opportunistask.scheduling.benchmarking_app_to_test_big_cores + ----- Experiment app started with pid: 9693 +---- waiting for benchmarking app thread to be pinned and to be ready +--- frequency level of core 0 is 2 +--- frequency level of core 1 is 2 +--- frequency level of core 2 is 0 +--- frequency level of core 3 is 0 +--- frequency level of core 4 is 0 +--- frequency level of core 5 is 0 +--- frequency level of core 6 is 0 +--- frequency level of core 7 is 0 +--- Number of cores to occupy = 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 1 +--- The current number of thread ready to be sambled : 1, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 2 +--- Now threads are running and the phone is ready to be sampled with the power meter \n--- Threads pids +Thread_0_ready_for_sampling +Thread_1_ready_for_sampling +--- Printing cc_info beginning datas (for the samsung galaxy s8) + --- Starting power meter sampling for about 600 seconds +--- Sampling with the Monsoon power meter +powermeter script : --- Inside the monsoon_power_meter, arg function: 2 +powermeter script : Experiment duration = 600 +powermeter script : Creating the Monsoon engine +powermeter script : Creating the Monsoon engine +powermeter script : Configuring channels the Monsoon engine +powermeter script : Configuring output to : C:\Users\lavoi\opportunist_task_on_android\scripts_valuable_files\experiment_automatization\last_tmp_expermiment_folder\configuration_mesurement.csv +powermeter script : Starting sampling; number of sample = 3000000 + returning 3000000 samples after experiments +powermeter script : Total nomber of sample measured : 3000000 +powermeter script : Computing powermeter summary result + Number of samples = 3000000 +powermeter script : We computed the energy on 600 samples +powermeter script : average_power = 723.8593883501256 +powermeter script : average_power with numpy arrays = 723.8593883500184 +powermeter script : Summary Result = time (s): 601.2021062374115 +Ins Current (mA):133.69288644909122 +Samples: 3000000 +Consumed Energy (mAs): 85957.79190228348 +Consumed Energy (mAh): 23.877164417300968 +Consumed Energy (mWs): 433243.8018318768 +Consumed Energy (mWh): 120.34550050885467 +Avg power (mW): 723.8593883501256 +Avg Current (mA): 143.5685163810891 +Avg Voltage (V): 5.041908954667394 +Exp Batt Life (hrs for 1000mAh battery): NOT COMPUTED +--- Monsoon power meter sampling is finished ! + --- experiment folder path /mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/last_tmp_expermiment_folder +--- frequency level of core 0 is 2 +--- frequency level of core 1 is 2 +--- frequency level of core 2 is 0 +--- frequency level of core 3 is 0 +--- frequency level of core 4 is 0 +--- frequency level of core 5 is 0 +--- frequency level of core 6 is 0 +--- frequency level of core 7 is 0 +--- Number of threads normally started = 2 +--- Number of thread ended: 2 +--- Now threads are stopped, getting the cc_info_level for samsung +--- Copying thread results locally +command /mnt/c/Program Files/Android/platform-tools_r33.0.1-windows/platform-tools/adb.exe pull /sdcard/experiments_automatization/app_output_folder C:\Users\lavoi\opportunist_task_on_android\scripts_valuable_files\experiment_automatization\last_tmp_expermiment_folder </dev/null +/sdcard/experiments_automatization/app_output_folder/: 4 files pulled, 0 skipped. 0.0 MB/s (905 bytes in 0.029s) +saving the logcat file to /mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/last_tmp_expermiment_folder -/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/last_tmp_expermiment_folder- +--- Parsing result from /mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/last_tmp_expermiment_folder to /mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/output_folder/raw_result.txt +--- Getting exact configuration with frequency +--- Configuration with frequencies = [1363200- 1363200- 0- 0- 0- 0- 0- 0] +--- Getting the powermeter summary +--- Powermeter summary: +time (s): 601.2021062374115 +Ins Current (mA):133.69288644909122 +Samples: 3000000 +Consumed Energy (mAs): 85957.79190228348 +Consumed Energy (mAh): 23.877164417300968 +Consumed Energy (mWs): 433243.8018318768 +Consumed Energy (mWh): 120.34550050885467 +Avg power (mW): 723.8593883501256 +Avg Current (mA): 143.5685163810891 +Avg Voltage (V): 5.041908954667394 + +--- Getting the total energy consumed of the google pixel +--- Energy consumed = 23.877164417300968 +--- Starting cc_info = 0 +--- Ending cc_info = 0 +--- Getting the average power +--- Avg Power = 723.8593883501256 +--- Printing the total threads summary +--- Thread results +Thread : 0 - ThreadProcess id: 9718 +---------------------------------------- +Starting time: Sat, 18 Dec 2021 20:46:48 +0100 +Core id: 0 +Ending time: Sat, 18 Dec 2021 20:56:48 +0100 - Duration: 600017 seconds +Real workload: 4.643448149688173E10 - Integer reached: 128416 - Number of reset = 0 +Battery stats: 0 mAH +Computed Drain: Null +Start: 50 % - End: 50 +Cc_info at the beginning: 0 mAh +Cc_info at the end: 0 mAh +Cc_info variation: 0.0 mAh + +Thread : 1 - ThreadProcess id: 9719 +---------------------------------------- +Starting time: Sat, 18 Dec 2021 20:46:48 +0100 +Core id: 1 +Ending time: Sat, 18 Dec 2021 20:56:48 +0100 - Duration: 600016 seconds +Real workload: 4.6713616902025856E10 - Integer reached: 128785 - Number of reset = 0 +Battery stats: 0 mAH +Computed Drain: Null +Start: 50 % - End: 50 +Cc_info at the beginning: 0 mAh +Cc_info at the end: 0 mAh +Cc_info variation: 0.0 mAh + + +--- Counting the total workload command : print_total_workload /mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/last_tmp_expermiment_folder app_output_folder 2,2,0,0,0,0,0,0 /mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first +--- Total workload : 9.31481e+10 +--- Getting energy efficiency +--- Energy efficiency: 2.56335e-10 +--- Building what we will add to the total result file command +------ + (build_configuration_raw_result 220000-0-0 2,2,0,0,0,0,0,0 [1363200- 1363200- 0- 0- 0- 0- 0- 0] time (s): 601.2021062374115 +Ins Current (mA):133.69288644909122 +Samples: 3000000 +Consumed Energy (mAs): 85957.79190228348 +Consumed Energy (mAh): 23.877164417300968 +Consumed Energy (mWs): 433243.8018318768 +Consumed Energy (mWh): 120.34550050885467 +Avg power (mW): 723.8593883501256 +Avg Current (mA): 143.5685163810891 +Avg Voltage (V): 5.041908954667394 + Thread : 0 - ThreadProcess id: 9718 +---------------------------------------- +Starting time: Sat, 18 Dec 2021 20:46:48 +0100 +Core id: 0 +Ending time: Sat, 18 Dec 2021 20:56:48 +0100 - Duration: 600017 seconds +Real workload: 4.643448149688173E10 - Integer reached: 128416 - Number of reset = 0 +Battery stats: 0 mAH +Computed Drain: Null +Start: 50 % - End: 50 +Cc_info at the beginning: 0 mAh +Cc_info at the end: 0 mAh +Cc_info variation: 0.0 mAh + +Thread : 1 - ThreadProcess id: 9719 +---------------------------------------- +Starting time: Sat, 18 Dec 2021 20:46:48 +0100 +Core id: 1 +Ending time: Sat, 18 Dec 2021 20:56:48 +0100 - Duration: 600016 seconds +Real workload: 4.6713616902025856E10 - Integer reached: 128785 - Number of reset = 0 +Battery stats: 0 mAH +Computed Drain: Null +Start: 50 % - End: 50 +Cc_info at the beginning: 0 mAh +Cc_info at the end: 0 mAh +Cc_info variation: 0.0 mAh + + 23.877164417300968 9.31481e+10 2.56335e-10 0 0 +------ + +--- Final result to print to File + -------------------------------------------------------------------------------- + +++++ +++++ +++++ Configuration Description +-------------------------------------------------------------------------------- +Configuration: 220000-0-0 +phone format: 2,2,0,0,0,0,0,0 +Exact values of frequencies: [1363200- 1363200- 0- 0- 0- 0- 0- 0] + +Power meter results +------------------------------------------------------------ +time (s): 601.2021062374115 +Ins Current (mA):133.69288644909122 +Samples: 3000000 +Consumed Energy (mAs): 85957.79190228348 +Consumed Energy (mAh): 23.877164417300968 +Consumed Energy (mWs): 433243.8018318768 +Consumed Energy (mWh): 120.34550050885467 +Avg power (mW): 723.8593883501256 +Avg Current (mA): 143.5685163810891 +Avg Voltage (V): 5.041908954667394 + +Threads results +------------------------------------------------------------ +Thread : 0 - ThreadProcess id: 9718 +---------------------------------------- +Starting time: Sat, 18 Dec 2021 20:46:48 +0100 +Core id: 0 +Ending time: Sat, 18 Dec 2021 20:56:48 +0100 - Duration: 600017 seconds +Real workload: 4.643448149688173E10 - Integer reached: 128416 - Number of reset = 0 +Battery stats: 0 mAH +Computed Drain: Null +Start: 50 % - End: 50 +Cc_info at the beginning: 0 mAh +Cc_info at the end: 0 mAh +Cc_info variation: 0.0 mAh + +Thread : 1 - ThreadProcess id: 9719 +---------------------------------------- +Starting time: Sat, 18 Dec 2021 20:46:48 +0100 +Core id: 1 +Ending time: Sat, 18 Dec 2021 20:56:48 +0100 - Duration: 600016 seconds +Real workload: 4.6713616902025856E10 - Integer reached: 128785 - Number of reset = 0 +Battery stats: 0 mAH +Computed Drain: Null +Start: 50 % - End: 50 +Cc_info at the beginning: 0 mAh +Cc_info at the end: 0 mAh +Cc_info variation: 0.0 mAh + + +Expermiment results +------------------------------------------------------------ +Energy Consumed (mAh): 23.877164417300968 +Workload: 9.31481e+10 +Energy efficiency: 2.56335e-10 +-------------------------------------------------------------------------------- + + +--- Writing to the total result file +--- Removing previous tested configuration tmp_output folder +removed '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__03Oct22_22_30_06/app_output_folder/all_workloads.txt' +removed '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__03Oct22_22_30_06/app_output_folder/Thread_0_ended' +removed '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__03Oct22_22_30_06/app_output_folder/Thread_0_ready_for_sampling' +removed '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__03Oct22_22_30_06/app_output_folder/Thread_1_ended' +removed '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__03Oct22_22_30_06/app_output_folder/Thread_1_ready_for_sampling' +removed directory '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__03Oct22_22_30_06/app_output_folder' +removed '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__03Oct22_22_30_06/configuration_mesurement.csv' +removed '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__03Oct22_22_30_06/energy_power_workload_energyByWorkload_ccInfo' +removed '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__03Oct22_22_30_06/logcat_output' +removed '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__03Oct22_22_30_06/powermeter_summary.txt' +removed directory '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__03Oct22_22_30_06' +--- Moving the current experiment tmp_folder to the output result folder +writing a temporary file for the main script with format energy_power_workload_energyByWorkload_ccInfo +--- Obtaining experiment summary result to add to result folder +--- Experiment result, Energy consumed = 23.877164417300968 +--- Experiment result, Avg Power = 723.8593883501256 +--- Experiment result, Total Workload = 9.31481e+10 +--- Experiment result, Energy Efficiency = 2.56335e-10 +--- Adding result to summary file +--- Starting cc information : 0 +--- Ending cc information : 0 +--- The file /mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/output_folder/summary.csv exists we just appending the result to the file +--- Experiments performed on configuration 220000-0-0. +--- Observing a pause betwenn experiment; pause duration : 180 seconds; starting at 03Oct22_22_42_53 +--- Performing experiments on configuration 220000-0-0 +--- Cleaning the tmp expermiment folder : /mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/last_tmp_expermiment_folder +--- Second step : verifying the battery level +--- Verifying the battery level +--- Getting current battery level, adb command path: /mnt/c/Program Files/Android/platform-tools_r33.0.1-windows/platform-tools/adb.exe +--- Current battery level : 50 +Current battery level: OKAY +--- Third step calibrating phone core frequency +--- Resetting all frequency configurations + -- Command used : echo schedutil > /sys/devices/system/cpu/cpu1/cpufreq/scaling_governor + -- Command used : echo schedutil > /sys/devices/system/cpu/cpu2/cpufreq/scaling_governor + -- Command used : echo schedutil > /sys/devices/system/cpu/cpu3/cpufreq/scaling_governor + -- Command used : echo schedutil > /sys/devices/system/cpu/cpu4/cpufreq/scaling_governor + -- Command used : echo schedutil > /sys/devices/system/cpu/cpu5/cpufreq/scaling_governor + -- Command used : echo schedutil > /sys/devices/system/cpu/cpu6/cpufreq/scaling_governor + -- Command used : echo schedutil > /sys/devices/system/cpu/cpu7/cpufreq/scaling_governor +--- Frequency level of core 0 is 2 +--- Exact frequency of core 0: 1363200 +--- Modifying the governor of core 0 +--- Modifying the the current frequency of core 0 with frequency 1363200 +--- Frequency level of core 1 is 2 +--- Exact frequency of core 1: 1363200 +--- Modifying the governor of core 1 +--- Modifying the the current frequency of core 1 with frequency 1363200 +--- Frequency level of core 2 is 0 +--- Exact frequency of core 2: 0 +--- Modifying the governor of core 2 +--- Modifying the the current frequency of core 2 with frequency 0 +--- Frequency level of core 3 is 0 +--- Exact frequency of core 3: 0 +--- Modifying the governor of core 3 +--- Modifying the the current frequency of core 3 with frequency 0 +--- Frequency level of core 4 is 0 +--- Exact frequency of core 4: 0 +--- Modifying the governor of core 4 +--- Modifying the the current frequency of core 4 with frequency 0 +--- Frequency level of core 5 is 0 +--- Exact frequency of core 5: 0 +--- Modifying the governor of core 5 +--- Modifying the the current frequency of core 5 with frequency 0 +--- Frequency level of core 6 is 0 +--- Exact frequency of core 6: 0 +--- Modifying the governor of core 6 +--- Modifying the the current frequency of core 6 with frequency 0 +--- Frequency level of core 7 is 0 +--- Exact frequency of core 7: 0 +--- Modifying the governor of core 7 +--- Modifying the the current frequency of core 7 with frequency 0 +--- Calibrating Monsoon power meter, please wait for 10 seconds... +powermeter script : --- Inside the monsoon_power_meter, arg function: 1 +powermeter script : calibration duration = 10 +powermeter script : Creating the Monsoon engine +powermeter script : Creating the Monsoon engine +powermeter script : Configuring channels the Monsoon engine +powermeter script : Configuring output to : C:\Users\lavoi\opportunist_task_on_android\scripts_valuable_files\experiment_automatization\last_tmp_expermiment_folder\configuration_mesurement.csv +powermeter script : Starting sampling; number of sample = 50000 + returning 50000 samples after experiments +powermeter script : Power meter calibration okay +--- Monsoon power meter Calibrated +--- starting the benchmarking app +## writing the configuration inside the phone file + --- Removing file /sdcard/experiments_automatization +rm '/sdcard/experiments_automatization/current_configuration.txt' +rm '/sdcard/experiments_automatization/experiment_duration.txt' +rm '/sdcard/experiments_automatization/app_output_folder/Thread_0_ready_for_sampling' +rm '/sdcard/experiments_automatization/app_output_folder/Thread_1_ready_for_sampling' +rm '/sdcard/experiments_automatization/app_output_folder/Thread_0_ended' +rm '/sdcard/experiments_automatization/app_output_folder/Thread_1_ended' +rmdir '/sdcard/experiments_automatization/app_output_folder' +rmdir '/sdcard/experiments_automatization' + --- Clearing the logcat + --- Creating file /sdcard/experiments_automatization +----- Uninstalling experiment app +Success +----- Installing experiment app +Performing Streamed Install +Success +------ Giving rights to experiment app +----- Starting experiment app +Starting: Intent { cmp=com.opportunistask.scheduling.benchmarking_app_to_test_big_cores/.MainActivity } +adb command : ps -A | grep com.opportunistask.scheduling.benchmarking_app_to_test_big_cores + ----- Experiment app started with pid: 10548 +---- waiting for benchmarking app thread to be pinned and to be ready +--- frequency level of core 0 is 2 +--- frequency level of core 1 is 2 +--- frequency level of core 2 is 0 +--- frequency level of core 3 is 0 +--- frequency level of core 4 is 0 +--- frequency level of core 5 is 0 +--- frequency level of core 6 is 0 +--- frequency level of core 7 is 0 +--- Number of cores to occupy = 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 2 +--- Now threads are running and the phone is ready to be sampled with the power meter \n--- Threads pids +Thread_0_ready_for_sampling +Thread_1_ready_for_sampling +--- Printing cc_info beginning datas (for the samsung galaxy s8) + --- Starting power meter sampling for about 600 seconds +--- Sampling with the Monsoon power meter +powermeter script : --- Inside the monsoon_power_meter, arg function: 2 +powermeter script : Experiment duration = 600 +powermeter script : Creating the Monsoon engine +powermeter script : Creating the Monsoon engine +powermeter script : Configuring channels the Monsoon engine +powermeter script : Configuring output to : C:\Users\lavoi\opportunist_task_on_android\scripts_valuable_files\experiment_automatization\last_tmp_expermiment_folder\configuration_mesurement.csv +powermeter script : Starting sampling; number of sample = 3000000 + returning 3000000 samples after experiments +powermeter script : Total nomber of sample measured : 3000000 +powermeter script : Computing powermeter summary result + Number of samples = 3000000 +powermeter script : We computed the energy on 600 samples +powermeter script : average_power = 729.5652161595167 +powermeter script : average_power with numpy arrays = 729.565216159491 +powermeter script : Summary Result = time (s): 606.2593667507172 +Ins Current (mA):130.86690540592022 +Samples: 3000000 +Consumed Energy (mAs): 87351.02678801218 +Consumed Energy (mAh): 24.264174107781162 +Consumed Energy (mWs): 440069.83466813795 +Consumed Energy (mWh): 122.24162074114943 +Avg power (mW): 729.5652161595167 +Avg Current (mA): 144.72738033335216 +Avg Voltage (V): 5.040961941542099 +Exp Batt Life (hrs for 1000mAh battery): NOT COMPUTED +--- Monsoon power meter sampling is finished ! + --- experiment folder path /mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/last_tmp_expermiment_folder +--- frequency level of core 0 is 2 +--- frequency level of core 1 is 2 +--- frequency level of core 2 is 0 +--- frequency level of core 3 is 0 +--- frequency level of core 4 is 0 +--- frequency level of core 5 is 0 +--- frequency level of core 6 is 0 +--- frequency level of core 7 is 0 +--- Number of threads normally started = 2 +--- Number of thread ended: 2 +--- Now threads are stopped, getting the cc_info_level for samsung +--- Copying thread results locally +command /mnt/c/Program Files/Android/platform-tools_r33.0.1-windows/platform-tools/adb.exe pull /sdcard/experiments_automatization/app_output_folder C:\Users\lavoi\opportunist_task_on_android\scripts_valuable_files\experiment_automatization\last_tmp_expermiment_folder </dev/null +/sdcard/experiments_automatization/app_output_folder/: 4 files pulled, 0 skipped. 0.0 MB/s (908 bytes in 0.043s) +saving the logcat file to /mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/last_tmp_expermiment_folder -/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/last_tmp_expermiment_folder- +--- Parsing result from /mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/last_tmp_expermiment_folder to /mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/output_folder/raw_result.txt +--- Getting exact configuration with frequency +--- Configuration with frequencies = [1363200- 1363200- 0- 0- 0- 0- 0- 0] +--- Getting the powermeter summary +--- Powermeter summary: +time (s): 606.2593667507172 +Ins Current (mA):130.86690540592022 +Samples: 3000000 +Consumed Energy (mAs): 87351.02678801218 +Consumed Energy (mAh): 24.264174107781162 +Consumed Energy (mWs): 440069.83466813795 +Consumed Energy (mWh): 122.24162074114943 +Avg power (mW): 729.5652161595167 +Avg Current (mA): 144.72738033335216 +Avg Voltage (V): 5.040961941542099 + +--- Getting the total energy consumed of the google pixel +--- Energy consumed = 24.264174107781162 +--- Starting cc_info = 0 +--- Ending cc_info = 0 +--- Getting the average power +--- Avg Power = 729.5652161595167 +--- Printing the total threads summary +--- Thread results +Thread : 0 - ThreadProcess id: 10573 +---------------------------------------- +Starting time: Sat, 18 Dec 2021 21:02:36 +0100 +Core id: 0 +Ending time: Sat, 18 Dec 2021 21:12:37 +0100 - Duration: 600003 seconds +Real workload: 4.667044166974455E10 - Integer reached: 128728 - Number of reset = 0 +Battery stats: 0 mAH +Computed Drain: Null +Start: 50 % - End: 50 +Cc_info at the beginning: 0 mAh +Cc_info at the end: 0 mAh +Cc_info variation: 0.0 mAh + +Thread : 1 - ThreadProcess id: 10574 +---------------------------------------- +Starting time: Sat, 18 Dec 2021 21:02:37 +0100 +Core id: 1 +Ending time: Sat, 18 Dec 2021 21:12:37 +0100 - Duration: 600013 seconds +Real workload: 4.669392036272715E10 - Integer reached: 128759 - Number of reset = 0 +Battery stats: 0 mAH +Computed Drain: Null +Start: 50 % - End: 50 +Cc_info at the beginning: 0 mAh +Cc_info at the end: 0 mAh +Cc_info variation: 0.0 mAh + + +--- Counting the total workload command : print_total_workload /mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/last_tmp_expermiment_folder app_output_folder 2,2,0,0,0,0,0,0 /mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first +--- Total workload : 9.33644e+10 +--- Getting energy efficiency +--- Energy efficiency: 2.59887e-10 +--- Building what we will add to the total result file command +------ + (build_configuration_raw_result 220000-0-0 2,2,0,0,0,0,0,0 [1363200- 1363200- 0- 0- 0- 0- 0- 0] time (s): 606.2593667507172 +Ins Current (mA):130.86690540592022 +Samples: 3000000 +Consumed Energy (mAs): 87351.02678801218 +Consumed Energy (mAh): 24.264174107781162 +Consumed Energy (mWs): 440069.83466813795 +Consumed Energy (mWh): 122.24162074114943 +Avg power (mW): 729.5652161595167 +Avg Current (mA): 144.72738033335216 +Avg Voltage (V): 5.040961941542099 + Thread : 0 - ThreadProcess id: 10573 +---------------------------------------- +Starting time: Sat, 18 Dec 2021 21:02:36 +0100 +Core id: 0 +Ending time: Sat, 18 Dec 2021 21:12:37 +0100 - Duration: 600003 seconds +Real workload: 4.667044166974455E10 - Integer reached: 128728 - Number of reset = 0 +Battery stats: 0 mAH +Computed Drain: Null +Start: 50 % - End: 50 +Cc_info at the beginning: 0 mAh +Cc_info at the end: 0 mAh +Cc_info variation: 0.0 mAh + +Thread : 1 - ThreadProcess id: 10574 +---------------------------------------- +Starting time: Sat, 18 Dec 2021 21:02:37 +0100 +Core id: 1 +Ending time: Sat, 18 Dec 2021 21:12:37 +0100 - Duration: 600013 seconds +Real workload: 4.669392036272715E10 - Integer reached: 128759 - Number of reset = 0 +Battery stats: 0 mAH +Computed Drain: Null +Start: 50 % - End: 50 +Cc_info at the beginning: 0 mAh +Cc_info at the end: 0 mAh +Cc_info variation: 0.0 mAh + + 24.264174107781162 9.33644e+10 2.59887e-10 0 0 +------ + +--- Final result to print to File + -------------------------------------------------------------------------------- + +++++ +++++ +++++ Configuration Description +-------------------------------------------------------------------------------- +Configuration: 220000-0-0 +phone format: 2,2,0,0,0,0,0,0 +Exact values of frequencies: [1363200- 1363200- 0- 0- 0- 0- 0- 0] + +Power meter results +------------------------------------------------------------ +time (s): 606.2593667507172 +Ins Current (mA):130.86690540592022 +Samples: 3000000 +Consumed Energy (mAs): 87351.02678801218 +Consumed Energy (mAh): 24.264174107781162 +Consumed Energy (mWs): 440069.83466813795 +Consumed Energy (mWh): 122.24162074114943 +Avg power (mW): 729.5652161595167 +Avg Current (mA): 144.72738033335216 +Avg Voltage (V): 5.040961941542099 + +Threads results +------------------------------------------------------------ +Thread : 0 - ThreadProcess id: 10573 +---------------------------------------- +Starting time: Sat, 18 Dec 2021 21:02:36 +0100 +Core id: 0 +Ending time: Sat, 18 Dec 2021 21:12:37 +0100 - Duration: 600003 seconds +Real workload: 4.667044166974455E10 - Integer reached: 128728 - Number of reset = 0 +Battery stats: 0 mAH +Computed Drain: Null +Start: 50 % - End: 50 +Cc_info at the beginning: 0 mAh +Cc_info at the end: 0 mAh +Cc_info variation: 0.0 mAh + +Thread : 1 - ThreadProcess id: 10574 +---------------------------------------- +Starting time: Sat, 18 Dec 2021 21:02:37 +0100 +Core id: 1 +Ending time: Sat, 18 Dec 2021 21:12:37 +0100 - Duration: 600013 seconds +Real workload: 4.669392036272715E10 - Integer reached: 128759 - Number of reset = 0 +Battery stats: 0 mAH +Computed Drain: Null +Start: 50 % - End: 50 +Cc_info at the beginning: 0 mAh +Cc_info at the end: 0 mAh +Cc_info variation: 0.0 mAh + + +Expermiment results +------------------------------------------------------------ +Energy Consumed (mAh): 24.264174107781162 +Workload: 9.33644e+10 +Energy efficiency: 2.59887e-10 +-------------------------------------------------------------------------------- + + +--- Writing to the total result file +--- Removing previous tested configuration tmp_output folder +removed '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__03Oct22_22_45_55/app_output_folder/all_workloads.txt' +removed '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__03Oct22_22_45_55/app_output_folder/Thread_0_ended' +removed '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__03Oct22_22_45_55/app_output_folder/Thread_0_ready_for_sampling' +removed '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__03Oct22_22_45_55/app_output_folder/Thread_1_ended' +removed '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__03Oct22_22_45_55/app_output_folder/Thread_1_ready_for_sampling' +removed directory '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__03Oct22_22_45_55/app_output_folder' +removed '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__03Oct22_22_45_55/configuration_mesurement.csv' +removed '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__03Oct22_22_45_55/energy_power_workload_energyByWorkload_ccInfo' +removed '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__03Oct22_22_45_55/logcat_output' +removed '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__03Oct22_22_45_55/powermeter_summary.txt' +removed directory '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__03Oct22_22_45_55' +--- Moving the current experiment tmp_folder to the output result folder +writing a temporary file for the main script with format energy_power_workload_energyByWorkload_ccInfo +--- Obtaining experiment summary result to add to result folder +--- Experiment result, Energy consumed = 24.264174107781162 +--- Experiment result, Avg Power = 729.5652161595167 +--- Experiment result, Total Workload = 9.33644e+10 +--- Experiment result, Energy Efficiency = 2.59887e-10 +--- Adding result to summary file +--- Starting cc information : 0 +--- Ending cc information : 0 +--- The file /mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/output_folder/summary.csv exists we just appending the result to the file +--- Experiments performed on configuration 220000-0-0. +--- Observing a pause betwenn experiment; pause duration : 180 seconds; starting at 03Oct22_22_58_45 +--- Performing experiments on configuration 220000-0-0 +--- Cleaning the tmp expermiment folder : /mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/last_tmp_expermiment_folder +--- Second step : verifying the battery level +--- Verifying the battery level +--- Getting current battery level, adb command path: /mnt/c/Program Files/Android/platform-tools_r33.0.1-windows/platform-tools/adb.exe +--- Current battery level : 50 +Current battery level: OKAY +--- Third step calibrating phone core frequency +--- Resetting all frequency configurations + -- Command used : echo schedutil > /sys/devices/system/cpu/cpu1/cpufreq/scaling_governor + -- Command used : echo schedutil > /sys/devices/system/cpu/cpu2/cpufreq/scaling_governor + -- Command used : echo schedutil > /sys/devices/system/cpu/cpu3/cpufreq/scaling_governor + -- Command used : echo schedutil > /sys/devices/system/cpu/cpu4/cpufreq/scaling_governor + -- Command used : echo schedutil > /sys/devices/system/cpu/cpu5/cpufreq/scaling_governor + -- Command used : echo schedutil > /sys/devices/system/cpu/cpu6/cpufreq/scaling_governor + -- Command used : echo schedutil > /sys/devices/system/cpu/cpu7/cpufreq/scaling_governor +--- Frequency level of core 0 is 2 +--- Exact frequency of core 0: 1363200 +--- Modifying the governor of core 0 +--- Modifying the the current frequency of core 0 with frequency 1363200 +--- Frequency level of core 1 is 2 +--- Exact frequency of core 1: 1363200 +--- Modifying the governor of core 1 +--- Modifying the the current frequency of core 1 with frequency 1363200 +--- Frequency level of core 2 is 0 +--- Exact frequency of core 2: 0 +--- Modifying the governor of core 2 +--- Modifying the the current frequency of core 2 with frequency 0 +--- Frequency level of core 3 is 0 +--- Exact frequency of core 3: 0 +--- Modifying the governor of core 3 +--- Modifying the the current frequency of core 3 with frequency 0 +--- Frequency level of core 4 is 0 +--- Exact frequency of core 4: 0 +--- Modifying the governor of core 4 +--- Modifying the the current frequency of core 4 with frequency 0 +--- Frequency level of core 5 is 0 +--- Exact frequency of core 5: 0 +--- Modifying the governor of core 5 +--- Modifying the the current frequency of core 5 with frequency 0 +--- Frequency level of core 6 is 0 +--- Exact frequency of core 6: 0 +--- Modifying the governor of core 6 +--- Modifying the the current frequency of core 6 with frequency 0 +--- Frequency level of core 7 is 0 +--- Exact frequency of core 7: 0 +--- Modifying the governor of core 7 +--- Modifying the the current frequency of core 7 with frequency 0 +--- Calibrating Monsoon power meter, please wait for 10 seconds... +powermeter script : --- Inside the monsoon_power_meter, arg function: 1 +powermeter script : calibration duration = 10 +powermeter script : Creating the Monsoon engine +powermeter script : Creating the Monsoon engine +powermeter script : Configuring channels the Monsoon engine +powermeter script : Configuring output to : C:\Users\lavoi\opportunist_task_on_android\scripts_valuable_files\experiment_automatization\last_tmp_expermiment_folder\configuration_mesurement.csv +powermeter script : Starting sampling; number of sample = 50000 + returning 50000 samples after experiments +powermeter script : Power meter calibration okay +--- Monsoon power meter Calibrated +--- starting the benchmarking app +## writing the configuration inside the phone file + --- Removing file /sdcard/experiments_automatization +rm '/sdcard/experiments_automatization/current_configuration.txt' +rm '/sdcard/experiments_automatization/experiment_duration.txt' +rm '/sdcard/experiments_automatization/app_output_folder/Thread_0_ready_for_sampling' +rm '/sdcard/experiments_automatization/app_output_folder/Thread_1_ready_for_sampling' +rm '/sdcard/experiments_automatization/app_output_folder/Thread_0_ended' +rm '/sdcard/experiments_automatization/app_output_folder/Thread_1_ended' +rmdir '/sdcard/experiments_automatization/app_output_folder' +rmdir '/sdcard/experiments_automatization' + --- Clearing the logcat + --- Creating file /sdcard/experiments_automatization +----- Uninstalling experiment app +Success +----- Installing experiment app +Performing Streamed Install +Success +------ Giving rights to experiment app +----- Starting experiment app +Starting: Intent { cmp=com.opportunistask.scheduling.benchmarking_app_to_test_big_cores/.MainActivity } +adb command : ps -A | grep com.opportunistask.scheduling.benchmarking_app_to_test_big_cores + ----- Experiment app started with pid: 11411 +---- waiting for benchmarking app thread to be pinned and to be ready +--- frequency level of core 0 is 2 +--- frequency level of core 1 is 2 +--- frequency level of core 2 is 0 +--- frequency level of core 3 is 0 +--- frequency level of core 4 is 0 +--- frequency level of core 5 is 0 +--- frequency level of core 6 is 0 +--- frequency level of core 7 is 0 +--- Number of cores to occupy = 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 2 +--- Now threads are running and the phone is ready to be sampled with the power meter \n--- Threads pids +Thread_0_ready_for_sampling +Thread_1_ready_for_sampling +--- Printing cc_info beginning datas (for the samsung galaxy s8) + --- Starting power meter sampling for about 600 seconds +--- Sampling with the Monsoon power meter +powermeter script : --- Inside the monsoon_power_meter, arg function: 2 +powermeter script : Experiment duration = 600 +powermeter script : Creating the Monsoon engine +powermeter script : Creating the Monsoon engine +powermeter script : Configuring channels the Monsoon engine +powermeter script : Configuring output to : C:\Users\lavoi\opportunist_task_on_android\scripts_valuable_files\experiment_automatization\last_tmp_expermiment_folder\configuration_mesurement.csv +powermeter script : Starting sampling; number of sample = 3000000 + returning 3000000 samples after experiments +powermeter script : Total nomber of sample measured : 3000000 +powermeter script : Computing powermeter summary result + Number of samples = 3000000 +powermeter script : We computed the energy on 600 samples +powermeter script : average_power = 730.7086812082333 +powermeter script : average_power with numpy arrays = 730.7086812081985 +powermeter script : Summary Result = time (s): 601.4860439300537 +Ins Current (mA):127.82013341511453 +Samples: 3000000 +Consumed Energy (mAs): 87638.51190752091 +Consumed Energy (mAh): 24.344031085422476 +Consumed Energy (mWs): 441529.32730660896 +Consumed Energy (mWh): 122.64703536294694 +Avg power (mW): 730.7086812082333 +Avg Current (mA): 144.95682270892323 +Avg Voltage (V): 5.040871257750412 +Exp Batt Life (hrs for 1000mAh battery): NOT COMPUTED +--- Monsoon power meter sampling is finished ! + --- experiment folder path /mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/last_tmp_expermiment_folder +--- frequency level of core 0 is 2 +--- frequency level of core 1 is 2 +--- frequency level of core 2 is 0 +--- frequency level of core 3 is 0 +--- frequency level of core 4 is 0 +--- frequency level of core 5 is 0 +--- frequency level of core 6 is 0 +--- frequency level of core 7 is 0 +--- Number of threads normally started = 2 +--- Number of thread ended: 2 +--- Now threads are stopped, getting the cc_info_level for samsung +--- Copying thread results locally +command /mnt/c/Program Files/Android/platform-tools_r33.0.1-windows/platform-tools/adb.exe pull /sdcard/experiments_automatization/app_output_folder C:\Users\lavoi\opportunist_task_on_android\scripts_valuable_files\experiment_automatization\last_tmp_expermiment_folder </dev/null +/sdcard/experiments_automatization/app_output_folder/: 4 files pulled, 0 skipped. 0.0 MB/s (909 bytes in 0.030s) +saving the logcat file to /mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/last_tmp_expermiment_folder -/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/last_tmp_expermiment_folder- +--- Parsing result from /mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/last_tmp_expermiment_folder to /mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/output_folder/raw_result.txt +--- Getting exact configuration with frequency +--- Configuration with frequencies = [1363200- 1363200- 0- 0- 0- 0- 0- 0] +--- Getting the powermeter summary +--- Powermeter summary: +time (s): 601.4860439300537 +Ins Current (mA):127.82013341511453 +Samples: 3000000 +Consumed Energy (mAs): 87638.51190752091 +Consumed Energy (mAh): 24.344031085422476 +Consumed Energy (mWs): 441529.32730660896 +Consumed Energy (mWh): 122.64703536294694 +Avg power (mW): 730.7086812082333 +Avg Current (mA): 144.95682270892323 +Avg Voltage (V): 5.040871257750412 + +--- Getting the total energy consumed of the google pixel +--- Energy consumed = 24.344031085422476 +--- Starting cc_info = 0 +--- Ending cc_info = 0 +--- Getting the average power +--- Avg Power = 730.7086812082333 +--- Printing the total threads summary +--- Thread results +Thread : 0 - ThreadProcess id: 11436 +---------------------------------------- +Starting time: Sat, 18 Dec 2021 21:18:29 +0100 +Core id: 0 +Ending time: Sat, 18 Dec 2021 21:28:29 +0100 - Duration: 600017 seconds +Real workload: 4.6428439404235916E10 - Integer reached: 128408 - Number of reset = 0 +Battery stats: 0 mAH +Computed Drain: Null +Start: 50 % - End: 50 +Cc_info at the beginning: 0 mAh +Cc_info at the end: 0 mAh +Cc_info variation: 0.0 mAh + +Thread : 1 - ThreadProcess id: 11437 +---------------------------------------- +Starting time: Sat, 18 Dec 2021 21:18:29 +0100 +Core id: 1 +Ending time: Sat, 18 Dec 2021 21:28:29 +0100 - Duration: 600022 seconds +Real workload: 4.679396282136006E10 - Integer reached: 128891 - Number of reset = 0 +Battery stats: 0 mAH +Computed Drain: Null +Start: 50 % - End: 50 +Cc_info at the beginning: 0 mAh +Cc_info at the end: 0 mAh +Cc_info variation: 0.0 mAh + + +--- Counting the total workload command : print_total_workload /mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/last_tmp_expermiment_folder app_output_folder 2,2,0,0,0,0,0,0 /mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first +--- Total workload : 9.32224e+10 +--- Getting energy efficiency +--- Energy efficiency: 2.61139e-10 +--- Building what we will add to the total result file command +------ + (build_configuration_raw_result 220000-0-0 2,2,0,0,0,0,0,0 [1363200- 1363200- 0- 0- 0- 0- 0- 0] time (s): 601.4860439300537 +Ins Current (mA):127.82013341511453 +Samples: 3000000 +Consumed Energy (mAs): 87638.51190752091 +Consumed Energy (mAh): 24.344031085422476 +Consumed Energy (mWs): 441529.32730660896 +Consumed Energy (mWh): 122.64703536294694 +Avg power (mW): 730.7086812082333 +Avg Current (mA): 144.95682270892323 +Avg Voltage (V): 5.040871257750412 + Thread : 0 - ThreadProcess id: 11436 +---------------------------------------- +Starting time: Sat, 18 Dec 2021 21:18:29 +0100 +Core id: 0 +Ending time: Sat, 18 Dec 2021 21:28:29 +0100 - Duration: 600017 seconds +Real workload: 4.6428439404235916E10 - Integer reached: 128408 - Number of reset = 0 +Battery stats: 0 mAH +Computed Drain: Null +Start: 50 % - End: 50 +Cc_info at the beginning: 0 mAh +Cc_info at the end: 0 mAh +Cc_info variation: 0.0 mAh + +Thread : 1 - ThreadProcess id: 11437 +---------------------------------------- +Starting time: Sat, 18 Dec 2021 21:18:29 +0100 +Core id: 1 +Ending time: Sat, 18 Dec 2021 21:28:29 +0100 - Duration: 600022 seconds +Real workload: 4.679396282136006E10 - Integer reached: 128891 - Number of reset = 0 +Battery stats: 0 mAH +Computed Drain: Null +Start: 50 % - End: 50 +Cc_info at the beginning: 0 mAh +Cc_info at the end: 0 mAh +Cc_info variation: 0.0 mAh + + 24.344031085422476 9.32224e+10 2.61139e-10 0 0 +------ + +--- Final result to print to File + -------------------------------------------------------------------------------- + +++++ +++++ +++++ Configuration Description +-------------------------------------------------------------------------------- +Configuration: 220000-0-0 +phone format: 2,2,0,0,0,0,0,0 +Exact values of frequencies: [1363200- 1363200- 0- 0- 0- 0- 0- 0] + +Power meter results +------------------------------------------------------------ +time (s): 601.4860439300537 +Ins Current (mA):127.82013341511453 +Samples: 3000000 +Consumed Energy (mAs): 87638.51190752091 +Consumed Energy (mAh): 24.344031085422476 +Consumed Energy (mWs): 441529.32730660896 +Consumed Energy (mWh): 122.64703536294694 +Avg power (mW): 730.7086812082333 +Avg Current (mA): 144.95682270892323 +Avg Voltage (V): 5.040871257750412 + +Threads results +------------------------------------------------------------ +Thread : 0 - ThreadProcess id: 11436 +---------------------------------------- +Starting time: Sat, 18 Dec 2021 21:18:29 +0100 +Core id: 0 +Ending time: Sat, 18 Dec 2021 21:28:29 +0100 - Duration: 600017 seconds +Real workload: 4.6428439404235916E10 - Integer reached: 128408 - Number of reset = 0 +Battery stats: 0 mAH +Computed Drain: Null +Start: 50 % - End: 50 +Cc_info at the beginning: 0 mAh +Cc_info at the end: 0 mAh +Cc_info variation: 0.0 mAh + +Thread : 1 - ThreadProcess id: 11437 +---------------------------------------- +Starting time: Sat, 18 Dec 2021 21:18:29 +0100 +Core id: 1 +Ending time: Sat, 18 Dec 2021 21:28:29 +0100 - Duration: 600022 seconds +Real workload: 4.679396282136006E10 - Integer reached: 128891 - Number of reset = 0 +Battery stats: 0 mAH +Computed Drain: Null +Start: 50 % - End: 50 +Cc_info at the beginning: 0 mAh +Cc_info at the end: 0 mAh +Cc_info variation: 0.0 mAh + + +Expermiment results +------------------------------------------------------------ +Energy Consumed (mAh): 24.344031085422476 +Workload: 9.32224e+10 +Energy efficiency: 2.61139e-10 +-------------------------------------------------------------------------------- + + +--- Writing to the total result file +--- Removing previous tested configuration tmp_output folder +removed '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__03Oct22_23_01_47/app_output_folder/all_workloads.txt' +removed '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__03Oct22_23_01_47/app_output_folder/Thread_0_ended' +removed '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__03Oct22_23_01_47/app_output_folder/Thread_0_ready_for_sampling' +removed '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__03Oct22_23_01_47/app_output_folder/Thread_1_ended' +removed '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__03Oct22_23_01_47/app_output_folder/Thread_1_ready_for_sampling' +removed directory '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__03Oct22_23_01_47/app_output_folder' +removed '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__03Oct22_23_01_47/configuration_mesurement.csv' +removed '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__03Oct22_23_01_47/energy_power_workload_energyByWorkload_ccInfo' +removed '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__03Oct22_23_01_47/logcat_output' +removed '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__03Oct22_23_01_47/powermeter_summary.txt' +removed directory '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__03Oct22_23_01_47' +--- Moving the current experiment tmp_folder to the output result folder +writing a temporary file for the main script with format energy_power_workload_energyByWorkload_ccInfo +--- Obtaining experiment summary result to add to result folder +--- Experiment result, Energy consumed = 24.344031085422476 +--- Experiment result, Avg Power = 730.7086812082333 +--- Experiment result, Total Workload = 9.32224e+10 +--- Experiment result, Energy Efficiency = 2.61139e-10 +--- Adding result to summary file +--- Starting cc information : 0 +--- Ending cc information : 0 +--- The file /mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/output_folder/summary.csv exists we just appending the result to the file +--- Experiments performed on configuration 220000-0-0. +--- Observing a pause betwenn experiment; pause duration : 180 seconds; starting at 03Oct22_23_14_33 +--- Performing experiments on configuration 300003-0-0 +--- Cleaning the tmp expermiment folder : /mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/last_tmp_expermiment_folder +--- Second step : verifying the battery level +--- Verifying the battery level +--- Getting current battery level, adb command path: /mnt/c/Program Files/Android/platform-tools_r33.0.1-windows/platform-tools/adb.exe +--- Current battery level : 50 +Current battery level: OKAY +--- Third step calibrating phone core frequency +--- Resetting all frequency configurations + -- Command used : echo schedutil > /sys/devices/system/cpu/cpu1/cpufreq/scaling_governor + -- Command used : echo schedutil > /sys/devices/system/cpu/cpu2/cpufreq/scaling_governor + -- Command used : echo schedutil > /sys/devices/system/cpu/cpu3/cpufreq/scaling_governor + -- Command used : echo schedutil > /sys/devices/system/cpu/cpu4/cpufreq/scaling_governor + -- Command used : echo schedutil > /sys/devices/system/cpu/cpu5/cpufreq/scaling_governor + -- Command used : echo schedutil > /sys/devices/system/cpu/cpu6/cpufreq/scaling_governor + -- Command used : echo schedutil > /sys/devices/system/cpu/cpu7/cpufreq/scaling_governor +--- Frequency level of core 0 is 3 +--- Exact frequency of core 0: 1804800 +--- Modifying the governor of core 0 +--- Modifying the the current frequency of core 0 with frequency 1804800 +--- Frequency level of core 1 is 0 +--- Exact frequency of core 1: 0 +--- Modifying the governor of core 1 +--- Modifying the the current frequency of core 1 with frequency 0 +--- Frequency level of core 2 is 0 +--- Exact frequency of core 2: 0 +--- Modifying the governor of core 2 +--- Modifying the the current frequency of core 2 with frequency 0 +--- Frequency level of core 3 is 0 +--- Exact frequency of core 3: 0 +--- Modifying the governor of core 3 +--- Modifying the the current frequency of core 3 with frequency 0 +--- Frequency level of core 4 is 0 +--- Exact frequency of core 4: 0 +--- Modifying the governor of core 4 +--- Modifying the the current frequency of core 4 with frequency 0 +--- Frequency level of core 5 is 3 +--- Exact frequency of core 5: 1804800 +--- Modifying the governor of core 5 +--- Modifying the the current frequency of core 5 with frequency 1804800 +--- Frequency level of core 6 is 0 +--- Exact frequency of core 6: 0 +--- Modifying the governor of core 6 +--- Modifying the the current frequency of core 6 with frequency 0 +--- Frequency level of core 7 is 0 +--- Exact frequency of core 7: 0 +--- Modifying the governor of core 7 +--- Modifying the the current frequency of core 7 with frequency 0 +--- Calibrating Monsoon power meter, please wait for 10 seconds... +powermeter script : --- Inside the monsoon_power_meter, arg function: 1 +powermeter script : calibration duration = 10 +powermeter script : Creating the Monsoon engine +powermeter script : Creating the Monsoon engine +powermeter script : Configuring channels the Monsoon engine +powermeter script : Configuring output to : C:\Users\lavoi\opportunist_task_on_android\scripts_valuable_files\experiment_automatization\last_tmp_expermiment_folder\configuration_mesurement.csv +powermeter script : Starting sampling; number of sample = 50000 + returning 50000 samples after experiments +powermeter script : Power meter calibration okay +--- Monsoon power meter Calibrated +--- starting the benchmarking app +## writing the configuration inside the phone file + --- Removing file /sdcard/experiments_automatization +rm '/sdcard/experiments_automatization/current_configuration.txt' +rm '/sdcard/experiments_automatization/experiment_duration.txt' +rm '/sdcard/experiments_automatization/app_output_folder/Thread_0_ready_for_sampling' +rm '/sdcard/experiments_automatization/app_output_folder/Thread_1_ready_for_sampling' +rm '/sdcard/experiments_automatization/app_output_folder/Thread_0_ended' +rm '/sdcard/experiments_automatization/app_output_folder/Thread_1_ended' +rmdir '/sdcard/experiments_automatization/app_output_folder' +rmdir '/sdcard/experiments_automatization' + --- Clearing the logcat + --- Creating file /sdcard/experiments_automatization +----- Uninstalling experiment app +Success +----- Installing experiment app +Performing Streamed Install +Success +------ Giving rights to experiment app +----- Starting experiment app +Starting: Intent { cmp=com.opportunistask.scheduling.benchmarking_app_to_test_big_cores/.MainActivity } +adb command : ps -A | grep com.opportunistask.scheduling.benchmarking_app_to_test_big_cores + ----- Experiment app started with pid: 12293 +---- waiting for benchmarking app thread to be pinned and to be ready +--- frequency level of core 0 is 3 +--- frequency level of core 1 is 0 +--- frequency level of core 2 is 0 +--- frequency level of core 3 is 0 +--- frequency level of core 4 is 0 +--- frequency level of core 5 is 3 +--- frequency level of core 6 is 0 +--- frequency level of core 7 is 0 +--- Number of cores to occupy = 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 2 +--- Now threads are running and the phone is ready to be sampled with the power meter \n--- Threads pids +Thread_0_ready_for_sampling +Thread_1_ready_for_sampling +--- Printing cc_info beginning datas (for the samsung galaxy s8) + --- Starting power meter sampling for about 600 seconds +--- Sampling with the Monsoon power meter +powermeter script : --- Inside the monsoon_power_meter, arg function: 2 +powermeter script : Experiment duration = 600 +powermeter script : Creating the Monsoon engine +powermeter script : Creating the Monsoon engine +powermeter script : Configuring channels the Monsoon engine +powermeter script : Configuring output to : C:\Users\lavoi\opportunist_task_on_android\scripts_valuable_files\experiment_automatization\last_tmp_expermiment_folder\configuration_mesurement.csv +powermeter script : Starting sampling; number of sample = 3000000 + returning 3000000 samples after experiments +powermeter script : Total nomber of sample measured : 3000000 +powermeter script : Computing powermeter summary result + Number of samples = 3000000 +powermeter script : We computed the energy on 600 samples +powermeter script : average_power = 1062.5906794670752 +powermeter script : average_power with numpy arrays = 1062.5906794671175 +powermeter script : Summary Result = time (s): 601.6380348205566 +Ins Current (mA):237.92908247234158 +Samples: 3000000 +Consumed Energy (mAs): 127160.38051081261 +Consumed Energy (mAh): 35.32232791967017 +Consumed Energy (mWs): 634444.9087143756 +Consumed Energy (mWh): 176.23469686510433 +Avg power (mW): 1062.5906794670752 +Avg Current (mA): 212.9257662822509 +Avg Voltage (V): 4.990427875499682 +Exp Batt Life (hrs for 1000mAh battery): NOT COMPUTED +--- Monsoon power meter sampling is finished ! + --- experiment folder path /mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/last_tmp_expermiment_folder +--- frequency level of core 0 is 3 +--- frequency level of core 1 is 0 +--- frequency level of core 2 is 0 +--- frequency level of core 3 is 0 +--- frequency level of core 4 is 0 +--- frequency level of core 5 is 3 +--- frequency level of core 6 is 0 +--- frequency level of core 7 is 0 +--- Number of threads normally started = 2 +--- Number of thread ended: 2 +--- Now threads are stopped, getting the cc_info_level for samsung +--- Copying thread results locally +command /mnt/c/Program Files/Android/platform-tools_r33.0.1-windows/platform-tools/adb.exe pull /sdcard/experiments_automatization/app_output_folder C:\Users\lavoi\opportunist_task_on_android\scripts_valuable_files\experiment_automatization\last_tmp_expermiment_folder </dev/null +/sdcard/experiments_automatization/app_output_folder/: 4 files pulled, 0 skipped. 0.0 MB/s (910 bytes in 0.020s) +saving the logcat file to /mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/last_tmp_expermiment_folder -/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/last_tmp_expermiment_folder- +--- Parsing result from /mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/last_tmp_expermiment_folder to /mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/output_folder/raw_result.txt +--- Getting exact configuration with frequency +--- Configuration with frequencies = [1804800- 0- 0- 0- 0- 1804800- 0- 0] +--- Getting the powermeter summary +--- Powermeter summary: +time (s): 601.6380348205566 +Ins Current (mA):237.92908247234158 +Samples: 3000000 +Consumed Energy (mAs): 127160.38051081261 +Consumed Energy (mAh): 35.32232791967017 +Consumed Energy (mWs): 634444.9087143756 +Consumed Energy (mWh): 176.23469686510433 +Avg power (mW): 1062.5906794670752 +Avg Current (mA): 212.9257662822509 +Avg Voltage (V): 4.990427875499682 + +--- Getting the total energy consumed of the google pixel +--- Energy consumed = 35.32232791967017 +--- Starting cc_info = 0 +--- Ending cc_info = 0 +--- Getting the average power +--- Avg Power = 1062.5906794670752 +--- Printing the total threads summary +--- Thread results +Thread : 0 - ThreadProcess id: 12318 +---------------------------------------- +Starting time: Sat, 18 Dec 2021 21:34:15 +0100 +Core id: 0 +Ending time: Sat, 18 Dec 2021 21:44:15 +0100 - Duration: 600009 seconds +Real workload: 1.5430367412140735E11 - Integer reached: 228332 - Number of reset = 0 +Battery stats: 0 mAH +Computed Drain: Null +Start: 50 % - End: 50 +Cc_info at the beginning: 0 mAh +Cc_info at the end: 0 mAh +Cc_info variation: 0.0 mAh + +Thread : 1 - ThreadProcess id: 12319 +---------------------------------------- +Starting time: Sat, 18 Dec 2021 21:34:15 +0100 +Core id: 5 +Ending time: Sat, 18 Dec 2021 21:44:15 +0100 - Duration: 600007 seconds +Real workload: 1.5403474349021585E11 - Integer reached: 228141 - Number of reset = 0 +Battery stats: 0 mAH +Computed Drain: Null +Start: 50 % - End: 50 +Cc_info at the beginning: 0 mAh +Cc_info at the end: 0 mAh +Cc_info variation: 0.0 mAh + + +--- Counting the total workload command : print_total_workload /mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/last_tmp_expermiment_folder app_output_folder 3,0,0,0,0,3,0,0 /mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first +--- Total workload : 3.08338e+11 +--- Getting energy efficiency +--- Energy efficiency: 1.14557e-10 +--- Building what we will add to the total result file command +------ + (build_configuration_raw_result 300003-0-0 3,0,0,0,0,3,0,0 [1804800- 0- 0- 0- 0- 1804800- 0- 0] time (s): 601.6380348205566 +Ins Current (mA):237.92908247234158 +Samples: 3000000 +Consumed Energy (mAs): 127160.38051081261 +Consumed Energy (mAh): 35.32232791967017 +Consumed Energy (mWs): 634444.9087143756 +Consumed Energy (mWh): 176.23469686510433 +Avg power (mW): 1062.5906794670752 +Avg Current (mA): 212.9257662822509 +Avg Voltage (V): 4.990427875499682 + Thread : 0 - ThreadProcess id: 12318 +---------------------------------------- +Starting time: Sat, 18 Dec 2021 21:34:15 +0100 +Core id: 0 +Ending time: Sat, 18 Dec 2021 21:44:15 +0100 - Duration: 600009 seconds +Real workload: 1.5430367412140735E11 - Integer reached: 228332 - Number of reset = 0 +Battery stats: 0 mAH +Computed Drain: Null +Start: 50 % - End: 50 +Cc_info at the beginning: 0 mAh +Cc_info at the end: 0 mAh +Cc_info variation: 0.0 mAh + +Thread : 1 - ThreadProcess id: 12319 +---------------------------------------- +Starting time: Sat, 18 Dec 2021 21:34:15 +0100 +Core id: 5 +Ending time: Sat, 18 Dec 2021 21:44:15 +0100 - Duration: 600007 seconds +Real workload: 1.5403474349021585E11 - Integer reached: 228141 - Number of reset = 0 +Battery stats: 0 mAH +Computed Drain: Null +Start: 50 % - End: 50 +Cc_info at the beginning: 0 mAh +Cc_info at the end: 0 mAh +Cc_info variation: 0.0 mAh + + 35.32232791967017 3.08338e+11 1.14557e-10 0 0 +------ + +--- Final result to print to File + -------------------------------------------------------------------------------- + +++++ +++++ +++++ Configuration Description +-------------------------------------------------------------------------------- +Configuration: 300003-0-0 +phone format: 3,0,0,0,0,3,0,0 +Exact values of frequencies: [1804800- 0- 0- 0- 0- 1804800- 0- 0] + +Power meter results +------------------------------------------------------------ +time (s): 601.6380348205566 +Ins Current (mA):237.92908247234158 +Samples: 3000000 +Consumed Energy (mAs): 127160.38051081261 +Consumed Energy (mAh): 35.32232791967017 +Consumed Energy (mWs): 634444.9087143756 +Consumed Energy (mWh): 176.23469686510433 +Avg power (mW): 1062.5906794670752 +Avg Current (mA): 212.9257662822509 +Avg Voltage (V): 4.990427875499682 + +Threads results +------------------------------------------------------------ +Thread : 0 - ThreadProcess id: 12318 +---------------------------------------- +Starting time: Sat, 18 Dec 2021 21:34:15 +0100 +Core id: 0 +Ending time: Sat, 18 Dec 2021 21:44:15 +0100 - Duration: 600009 seconds +Real workload: 1.5430367412140735E11 - Integer reached: 228332 - Number of reset = 0 +Battery stats: 0 mAH +Computed Drain: Null +Start: 50 % - End: 50 +Cc_info at the beginning: 0 mAh +Cc_info at the end: 0 mAh +Cc_info variation: 0.0 mAh + +Thread : 1 - ThreadProcess id: 12319 +---------------------------------------- +Starting time: Sat, 18 Dec 2021 21:34:15 +0100 +Core id: 5 +Ending time: Sat, 18 Dec 2021 21:44:15 +0100 - Duration: 600007 seconds +Real workload: 1.5403474349021585E11 - Integer reached: 228141 - Number of reset = 0 +Battery stats: 0 mAH +Computed Drain: Null +Start: 50 % - End: 50 +Cc_info at the beginning: 0 mAh +Cc_info at the end: 0 mAh +Cc_info variation: 0.0 mAh + + +Expermiment results +------------------------------------------------------------ +Energy Consumed (mAh): 35.32232791967017 +Workload: 3.08338e+11 +Energy efficiency: 1.14557e-10 +-------------------------------------------------------------------------------- + + +--- Writing to the total result file +--- Removing previous tested configuration tmp_output folder +removed '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__03Oct22_23_17_35/app_output_folder/all_workloads.txt' +removed '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__03Oct22_23_17_35/app_output_folder/Thread_0_ended' +removed '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__03Oct22_23_17_35/app_output_folder/Thread_0_ready_for_sampling' +removed '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__03Oct22_23_17_35/app_output_folder/Thread_1_ended' +removed '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__03Oct22_23_17_35/app_output_folder/Thread_1_ready_for_sampling' +removed directory '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__03Oct22_23_17_35/app_output_folder' +removed '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__03Oct22_23_17_35/configuration_mesurement.csv' +removed '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__03Oct22_23_17_35/energy_power_workload_energyByWorkload_ccInfo' +removed '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__03Oct22_23_17_35/logcat_output' +removed '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__03Oct22_23_17_35/powermeter_summary.txt' +removed directory '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__03Oct22_23_17_35' +--- Moving the current experiment tmp_folder to the output result folder +writing a temporary file for the main script with format energy_power_workload_energyByWorkload_ccInfo +--- Obtaining experiment summary result to add to result folder +--- Experiment result, Energy consumed = 35.32232791967017 +--- Experiment result, Avg Power = 1062.5906794670752 +--- Experiment result, Total Workload = 3.08338e+11 +--- Experiment result, Energy Efficiency = 1.14557e-10 +--- Adding result to summary file +--- Starting cc information : 0 +--- Ending cc information : 0 +--- The file /mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/output_folder/summary.csv exists we just appending the result to the file +--- Experiments performed on configuration 300003-0-0. +--- Observing a pause betwenn experiment; pause duration : 180 seconds; starting at 03Oct22_23_30_19 +--- Performing experiments on configuration 300003-0-0 +--- Cleaning the tmp expermiment folder : /mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/last_tmp_expermiment_folder +--- Second step : verifying the battery level +--- Verifying the battery level +--- Getting current battery level, adb command path: /mnt/c/Program Files/Android/platform-tools_r33.0.1-windows/platform-tools/adb.exe +--- Current battery level : 50 +Current battery level: OKAY +--- Third step calibrating phone core frequency +--- Resetting all frequency configurations + -- Command used : echo schedutil > /sys/devices/system/cpu/cpu1/cpufreq/scaling_governor + -- Command used : echo schedutil > /sys/devices/system/cpu/cpu2/cpufreq/scaling_governor + -- Command used : echo schedutil > /sys/devices/system/cpu/cpu3/cpufreq/scaling_governor + -- Command used : echo schedutil > /sys/devices/system/cpu/cpu4/cpufreq/scaling_governor + -- Command used : echo schedutil > /sys/devices/system/cpu/cpu5/cpufreq/scaling_governor + -- Command used : echo schedutil > /sys/devices/system/cpu/cpu6/cpufreq/scaling_governor + -- Command used : echo schedutil > /sys/devices/system/cpu/cpu7/cpufreq/scaling_governor +--- Frequency level of core 0 is 3 +--- Exact frequency of core 0: 1804800 +--- Modifying the governor of core 0 +--- Modifying the the current frequency of core 0 with frequency 1804800 +--- Frequency level of core 1 is 0 +--- Exact frequency of core 1: 0 +--- Modifying the governor of core 1 +--- Modifying the the current frequency of core 1 with frequency 0 +--- Frequency level of core 2 is 0 +--- Exact frequency of core 2: 0 +--- Modifying the governor of core 2 +--- Modifying the the current frequency of core 2 with frequency 0 +--- Frequency level of core 3 is 0 +--- Exact frequency of core 3: 0 +--- Modifying the governor of core 3 +--- Modifying the the current frequency of core 3 with frequency 0 +--- Frequency level of core 4 is 0 +--- Exact frequency of core 4: 0 +--- Modifying the governor of core 4 +--- Modifying the the current frequency of core 4 with frequency 0 +--- Frequency level of core 5 is 3 +--- Exact frequency of core 5: 1804800 +--- Modifying the governor of core 5 +--- Modifying the the current frequency of core 5 with frequency 1804800 +--- Frequency level of core 6 is 0 +--- Exact frequency of core 6: 0 +--- Modifying the governor of core 6 +--- Modifying the the current frequency of core 6 with frequency 0 +--- Frequency level of core 7 is 0 +--- Exact frequency of core 7: 0 +--- Modifying the governor of core 7 +--- Modifying the the current frequency of core 7 with frequency 0 +--- Calibrating Monsoon power meter, please wait for 10 seconds... +powermeter script : --- Inside the monsoon_power_meter, arg function: 1 +powermeter script : calibration duration = 10 +powermeter script : Creating the Monsoon engine +powermeter script : Creating the Monsoon engine +powermeter script : Configuring channels the Monsoon engine +powermeter script : Configuring output to : C:\Users\lavoi\opportunist_task_on_android\scripts_valuable_files\experiment_automatization\last_tmp_expermiment_folder\configuration_mesurement.csv +powermeter script : Starting sampling; number of sample = 50000 + returning 50000 samples after experiments +powermeter script : Power meter calibration okay +--- Monsoon power meter Calibrated +--- starting the benchmarking app +## writing the configuration inside the phone file + --- Removing file /sdcard/experiments_automatization +rm '/sdcard/experiments_automatization/current_configuration.txt' +rm '/sdcard/experiments_automatization/experiment_duration.txt' +rm '/sdcard/experiments_automatization/app_output_folder/Thread_0_ready_for_sampling' +rm '/sdcard/experiments_automatization/app_output_folder/Thread_1_ready_for_sampling' +rm '/sdcard/experiments_automatization/app_output_folder/Thread_0_ended' +rm '/sdcard/experiments_automatization/app_output_folder/Thread_1_ended' +rmdir '/sdcard/experiments_automatization/app_output_folder' +rmdir '/sdcard/experiments_automatization' + --- Clearing the logcat + --- Creating file /sdcard/experiments_automatization +----- Uninstalling experiment app +Success +----- Installing experiment app +Performing Streamed Install +Success +------ Giving rights to experiment app +----- Starting experiment app +Starting: Intent { cmp=com.opportunistask.scheduling.benchmarking_app_to_test_big_cores/.MainActivity } +adb command : ps -A | grep com.opportunistask.scheduling.benchmarking_app_to_test_big_cores + ----- Experiment app started with pid: 13141 +---- waiting for benchmarking app thread to be pinned and to be ready +--- frequency level of core 0 is 3 +--- frequency level of core 1 is 0 +--- frequency level of core 2 is 0 +--- frequency level of core 3 is 0 +--- frequency level of core 4 is 0 +--- frequency level of core 5 is 3 +--- frequency level of core 6 is 0 +--- frequency level of core 7 is 0 +--- Number of cores to occupy = 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 2 +--- Now threads are running and the phone is ready to be sampled with the power meter \n--- Threads pids +Thread_0_ready_for_sampling +Thread_1_ready_for_sampling +--- Printing cc_info beginning datas (for the samsung galaxy s8) + --- Starting power meter sampling for about 600 seconds +--- Sampling with the Monsoon power meter +powermeter script : --- Inside the monsoon_power_meter, arg function: 2 +powermeter script : Experiment duration = 600 +powermeter script : Creating the Monsoon engine +powermeter script : Creating the Monsoon engine +powermeter script : Configuring channels the Monsoon engine +powermeter script : Configuring output to : C:\Users\lavoi\opportunist_task_on_android\scripts_valuable_files\experiment_automatization\last_tmp_expermiment_folder\configuration_mesurement.csv +powermeter script : Starting sampling; number of sample = 3000000 + returning 3000000 samples after experiments +powermeter script : Total nomber of sample measured : 3000000 +powermeter script : Computing powermeter summary result + Number of samples = 3000000 +powermeter script : We computed the energy on 600 samples +powermeter script : average_power = 1054.6014541487316 +powermeter script : average_power with numpy arrays = 1054.6014541488285 +powermeter script : Summary Result = time (s): 601.4238367080688 +Ins Current (mA):219.54640314217897 +Samples: 3000000 +Consumed Energy (mAs): 127943.69804824845 +Consumed Energy (mAh): 35.53991612451346 +Consumed Energy (mWs): 638213.3090708976 +Consumed Energy (mWh): 177.281474741916 +Avg power (mW): 1054.6014541487316 +Avg Current (mA): 211.2719801557268 +Avg Voltage (V): 4.991676858291354 +Exp Batt Life (hrs for 1000mAh battery): NOT COMPUTED +--- Monsoon power meter sampling is finished ! + --- experiment folder path /mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/last_tmp_expermiment_folder +--- frequency level of core 0 is 3 +--- frequency level of core 1 is 0 +--- frequency level of core 2 is 0 +--- frequency level of core 3 is 0 +--- frequency level of core 4 is 0 +--- frequency level of core 5 is 3 +--- frequency level of core 6 is 0 +--- frequency level of core 7 is 0 +--- Number of threads normally started = 2 +--- Number of thread ended: 2 +--- Now threads are stopped, getting the cc_info_level for samsung +--- Copying thread results locally +command /mnt/c/Program Files/Android/platform-tools_r33.0.1-windows/platform-tools/adb.exe pull /sdcard/experiments_automatization/app_output_folder C:\Users\lavoi\opportunist_task_on_android\scripts_valuable_files\experiment_automatization\last_tmp_expermiment_folder </dev/null +/sdcard/experiments_automatization/app_output_folder/: 4 files pulled, 0 skipped. 0.1 MB/s (910 bytes in 0.017s) +saving the logcat file to /mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/last_tmp_expermiment_folder -/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/last_tmp_expermiment_folder- +--- Parsing result from /mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/last_tmp_expermiment_folder to /mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/output_folder/raw_result.txt +--- Getting exact configuration with frequency +--- Configuration with frequencies = [1804800- 0- 0- 0- 0- 1804800- 0- 0] +--- Getting the powermeter summary +--- Powermeter summary: +time (s): 601.4238367080688 +Ins Current (mA):219.54640314217897 +Samples: 3000000 +Consumed Energy (mAs): 127943.69804824845 +Consumed Energy (mAh): 35.53991612451346 +Consumed Energy (mWs): 638213.3090708976 +Consumed Energy (mWh): 177.281474741916 +Avg power (mW): 1054.6014541487316 +Avg Current (mA): 211.2719801557268 +Avg Voltage (V): 4.991676858291354 + +--- Getting the total energy consumed of the google pixel +--- Energy consumed = 35.53991612451346 +--- Starting cc_info = 0 +--- Ending cc_info = 0 +--- Getting the average power +--- Avg Power = 1054.6014541487316 +--- Printing the total threads summary +--- Thread results +Thread : 0 - ThreadProcess id: 13166 +---------------------------------------- +Starting time: Sat, 18 Dec 2021 21:50:00 +0100 +Core id: 0 +Ending time: Sat, 18 Dec 2021 22:00:00 +0100 - Duration: 600012 seconds +Real workload: 1.5383636978575958E11 - Integer reached: 228000 - Number of reset = 0 +Battery stats: 0 mAH +Computed Drain: Null +Start: 50 % - End: 50 +Cc_info at the beginning: 0 mAh +Cc_info at the end: 0 mAh +Cc_info variation: 0.0 mAh + +Thread : 1 - ThreadProcess id: 13167 +---------------------------------------- +Starting time: Sat, 18 Dec 2021 21:50:00 +0100 +Core id: 5 +Ending time: Sat, 18 Dec 2021 22:00:01 +0100 - Duration: 600002 seconds +Real workload: 1.5377308682551254E11 - Integer reached: 227955 - Number of reset = 0 +Battery stats: 0 mAH +Computed Drain: Null +Start: 50 % - End: 50 +Cc_info at the beginning: 0 mAh +Cc_info at the end: 0 mAh +Cc_info variation: 0.0 mAh + + +--- Counting the total workload command : print_total_workload /mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/last_tmp_expermiment_folder app_output_folder 3,0,0,0,0,3,0,0 /mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first +--- Total workload : 3.07609e+11 +--- Getting energy efficiency +--- Energy efficiency: 1.15536e-10 +--- Building what we will add to the total result file command +------ + (build_configuration_raw_result 300003-0-0 3,0,0,0,0,3,0,0 [1804800- 0- 0- 0- 0- 1804800- 0- 0] time (s): 601.4238367080688 +Ins Current (mA):219.54640314217897 +Samples: 3000000 +Consumed Energy (mAs): 127943.69804824845 +Consumed Energy (mAh): 35.53991612451346 +Consumed Energy (mWs): 638213.3090708976 +Consumed Energy (mWh): 177.281474741916 +Avg power (mW): 1054.6014541487316 +Avg Current (mA): 211.2719801557268 +Avg Voltage (V): 4.991676858291354 + Thread : 0 - ThreadProcess id: 13166 +---------------------------------------- +Starting time: Sat, 18 Dec 2021 21:50:00 +0100 +Core id: 0 +Ending time: Sat, 18 Dec 2021 22:00:00 +0100 - Duration: 600012 seconds +Real workload: 1.5383636978575958E11 - Integer reached: 228000 - Number of reset = 0 +Battery stats: 0 mAH +Computed Drain: Null +Start: 50 % - End: 50 +Cc_info at the beginning: 0 mAh +Cc_info at the end: 0 mAh +Cc_info variation: 0.0 mAh + +Thread : 1 - ThreadProcess id: 13167 +---------------------------------------- +Starting time: Sat, 18 Dec 2021 21:50:00 +0100 +Core id: 5 +Ending time: Sat, 18 Dec 2021 22:00:01 +0100 - Duration: 600002 seconds +Real workload: 1.5377308682551254E11 - Integer reached: 227955 - Number of reset = 0 +Battery stats: 0 mAH +Computed Drain: Null +Start: 50 % - End: 50 +Cc_info at the beginning: 0 mAh +Cc_info at the end: 0 mAh +Cc_info variation: 0.0 mAh + + 35.53991612451346 3.07609e+11 1.15536e-10 0 0 +------ + +--- Final result to print to File + -------------------------------------------------------------------------------- + +++++ +++++ +++++ Configuration Description +-------------------------------------------------------------------------------- +Configuration: 300003-0-0 +phone format: 3,0,0,0,0,3,0,0 +Exact values of frequencies: [1804800- 0- 0- 0- 0- 1804800- 0- 0] + +Power meter results +------------------------------------------------------------ +time (s): 601.4238367080688 +Ins Current (mA):219.54640314217897 +Samples: 3000000 +Consumed Energy (mAs): 127943.69804824845 +Consumed Energy (mAh): 35.53991612451346 +Consumed Energy (mWs): 638213.3090708976 +Consumed Energy (mWh): 177.281474741916 +Avg power (mW): 1054.6014541487316 +Avg Current (mA): 211.2719801557268 +Avg Voltage (V): 4.991676858291354 + +Threads results +------------------------------------------------------------ +Thread : 0 - ThreadProcess id: 13166 +---------------------------------------- +Starting time: Sat, 18 Dec 2021 21:50:00 +0100 +Core id: 0 +Ending time: Sat, 18 Dec 2021 22:00:00 +0100 - Duration: 600012 seconds +Real workload: 1.5383636978575958E11 - Integer reached: 228000 - Number of reset = 0 +Battery stats: 0 mAH +Computed Drain: Null +Start: 50 % - End: 50 +Cc_info at the beginning: 0 mAh +Cc_info at the end: 0 mAh +Cc_info variation: 0.0 mAh + +Thread : 1 - ThreadProcess id: 13167 +---------------------------------------- +Starting time: Sat, 18 Dec 2021 21:50:00 +0100 +Core id: 5 +Ending time: Sat, 18 Dec 2021 22:00:01 +0100 - Duration: 600002 seconds +Real workload: 1.5377308682551254E11 - Integer reached: 227955 - Number of reset = 0 +Battery stats: 0 mAH +Computed Drain: Null +Start: 50 % - End: 50 +Cc_info at the beginning: 0 mAh +Cc_info at the end: 0 mAh +Cc_info variation: 0.0 mAh + + +Expermiment results +------------------------------------------------------------ +Energy Consumed (mAh): 35.53991612451346 +Workload: 3.07609e+11 +Energy efficiency: 1.15536e-10 +-------------------------------------------------------------------------------- + + +--- Writing to the total result file +--- Removing previous tested configuration tmp_output folder +removed '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__03Oct22_23_33_21/app_output_folder/all_workloads.txt' +removed '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__03Oct22_23_33_21/app_output_folder/Thread_0_ended' +removed '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__03Oct22_23_33_21/app_output_folder/Thread_0_ready_for_sampling' +removed '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__03Oct22_23_33_21/app_output_folder/Thread_1_ended' +removed '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__03Oct22_23_33_21/app_output_folder/Thread_1_ready_for_sampling' +removed directory '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__03Oct22_23_33_21/app_output_folder' +removed '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__03Oct22_23_33_21/configuration_mesurement.csv' +removed '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__03Oct22_23_33_21/energy_power_workload_energyByWorkload_ccInfo' +removed '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__03Oct22_23_33_21/logcat_output' +removed '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__03Oct22_23_33_21/powermeter_summary.txt' +removed directory '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__03Oct22_23_33_21' +--- Moving the current experiment tmp_folder to the output result folder +writing a temporary file for the main script with format energy_power_workload_energyByWorkload_ccInfo +--- Obtaining experiment summary result to add to result folder +--- Experiment result, Energy consumed = 35.53991612451346 +--- Experiment result, Avg Power = 1054.6014541487316 +--- Experiment result, Total Workload = 3.07609e+11 +--- Experiment result, Energy Efficiency = 1.15536e-10 +--- Adding result to summary file +--- Starting cc information : 0 +--- Ending cc information : 0 +--- The file /mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/output_folder/summary.csv exists we just appending the result to the file +--- Experiments performed on configuration 300003-0-0. +--- Observing a pause betwenn experiment; pause duration : 180 seconds; starting at 03Oct22_23_46_05 +--- Performing experiments on configuration 300003-0-0 +--- Cleaning the tmp expermiment folder : /mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/last_tmp_expermiment_folder +--- Second step : verifying the battery level +--- Verifying the battery level +--- Getting current battery level, adb command path: /mnt/c/Program Files/Android/platform-tools_r33.0.1-windows/platform-tools/adb.exe +--- Current battery level : 50 +Current battery level: OKAY +--- Third step calibrating phone core frequency +--- Resetting all frequency configurations + -- Command used : echo schedutil > /sys/devices/system/cpu/cpu1/cpufreq/scaling_governor + -- Command used : echo schedutil > /sys/devices/system/cpu/cpu2/cpufreq/scaling_governor + -- Command used : echo schedutil > /sys/devices/system/cpu/cpu3/cpufreq/scaling_governor + -- Command used : echo schedutil > /sys/devices/system/cpu/cpu4/cpufreq/scaling_governor + -- Command used : echo schedutil > /sys/devices/system/cpu/cpu5/cpufreq/scaling_governor + -- Command used : echo schedutil > /sys/devices/system/cpu/cpu6/cpufreq/scaling_governor + -- Command used : echo schedutil > /sys/devices/system/cpu/cpu7/cpufreq/scaling_governor +--- Frequency level of core 0 is 3 +--- Exact frequency of core 0: 1804800 +--- Modifying the governor of core 0 +--- Modifying the the current frequency of core 0 with frequency 1804800 +--- Frequency level of core 1 is 0 +--- Exact frequency of core 1: 0 +--- Modifying the governor of core 1 +--- Modifying the the current frequency of core 1 with frequency 0 +--- Frequency level of core 2 is 0 +--- Exact frequency of core 2: 0 +--- Modifying the governor of core 2 +--- Modifying the the current frequency of core 2 with frequency 0 +--- Frequency level of core 3 is 0 +--- Exact frequency of core 3: 0 +--- Modifying the governor of core 3 +--- Modifying the the current frequency of core 3 with frequency 0 +--- Frequency level of core 4 is 0 +--- Exact frequency of core 4: 0 +--- Modifying the governor of core 4 +--- Modifying the the current frequency of core 4 with frequency 0 +--- Frequency level of core 5 is 3 +--- Exact frequency of core 5: 1804800 +--- Modifying the governor of core 5 +--- Modifying the the current frequency of core 5 with frequency 1804800 +--- Frequency level of core 6 is 0 +--- Exact frequency of core 6: 0 +--- Modifying the governor of core 6 +--- Modifying the the current frequency of core 6 with frequency 0 +--- Frequency level of core 7 is 0 +--- Exact frequency of core 7: 0 +--- Modifying the governor of core 7 +--- Modifying the the current frequency of core 7 with frequency 0 +--- Calibrating Monsoon power meter, please wait for 10 seconds... +powermeter script : --- Inside the monsoon_power_meter, arg function: 1 +powermeter script : calibration duration = 10 +powermeter script : Creating the Monsoon engine +powermeter script : Creating the Monsoon engine +powermeter script : Configuring channels the Monsoon engine +powermeter script : Configuring output to : C:\Users\lavoi\opportunist_task_on_android\scripts_valuable_files\experiment_automatization\last_tmp_expermiment_folder\configuration_mesurement.csv +powermeter script : Starting sampling; number of sample = 50000 + returning 50000 samples after experiments +powermeter script : Power meter calibration okay +--- Monsoon power meter Calibrated +--- starting the benchmarking app +## writing the configuration inside the phone file + --- Removing file /sdcard/experiments_automatization +rm '/sdcard/experiments_automatization/current_configuration.txt' +rm '/sdcard/experiments_automatization/experiment_duration.txt' +rm '/sdcard/experiments_automatization/app_output_folder/Thread_0_ready_for_sampling' +rm '/sdcard/experiments_automatization/app_output_folder/Thread_1_ready_for_sampling' +rm '/sdcard/experiments_automatization/app_output_folder/Thread_0_ended' +rm '/sdcard/experiments_automatization/app_output_folder/Thread_1_ended' +rmdir '/sdcard/experiments_automatization/app_output_folder' +rmdir '/sdcard/experiments_automatization' + --- Clearing the logcat + --- Creating file /sdcard/experiments_automatization +----- Uninstalling experiment app +Success +----- Installing experiment app +Performing Streamed Install +Success +------ Giving rights to experiment app +----- Starting experiment app +Starting: Intent { cmp=com.opportunistask.scheduling.benchmarking_app_to_test_big_cores/.MainActivity } +adb command : ps -A | grep com.opportunistask.scheduling.benchmarking_app_to_test_big_cores + ----- Experiment app started with pid: 13979 +---- waiting for benchmarking app thread to be pinned and to be ready +--- frequency level of core 0 is 3 +--- frequency level of core 1 is 0 +--- frequency level of core 2 is 0 +--- frequency level of core 3 is 0 +--- frequency level of core 4 is 0 +--- frequency level of core 5 is 3 +--- frequency level of core 6 is 0 +--- frequency level of core 7 is 0 +--- Number of cores to occupy = 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 2 +--- Now threads are running and the phone is ready to be sampled with the power meter \n--- Threads pids +Thread_0_ready_for_sampling +Thread_1_ready_for_sampling +--- Printing cc_info beginning datas (for the samsung galaxy s8) + --- Starting power meter sampling for about 600 seconds +--- Sampling with the Monsoon power meter +powermeter script : --- Inside the monsoon_power_meter, arg function: 2 +powermeter script : Experiment duration = 600 +powermeter script : Creating the Monsoon engine +powermeter script : Creating the Monsoon engine +powermeter script : Configuring channels the Monsoon engine +powermeter script : Configuring output to : C:\Users\lavoi\opportunist_task_on_android\scripts_valuable_files\experiment_automatization\last_tmp_expermiment_folder\configuration_mesurement.csv +powermeter script : Starting sampling; number of sample = 3000000 + returning 3000000 samples after experiments +powermeter script : Total nomber of sample measured : 3000000 +powermeter script : Computing powermeter summary result + Number of samples = 3000000 +powermeter script : We computed the energy on 600 samples +powermeter script : average_power = 1067.4886839615626 +powermeter script : average_power with numpy arrays = 1067.4886839615303 +powermeter script : Summary Result = time (s): 601.2559251785278 +Ins Current (mA):190.05018515132122 +Samples: 3000000 +Consumed Energy (mAs): 128583.14999373817 +Consumed Energy (mAh): 35.71754166492727 +Consumed Energy (mWs): 641336.9967637004 +Consumed Energy (mWh): 178.14916576769454 +Avg power (mW): 1067.4886839615626 +Avg Current (mA): 213.94079139297617 +Avg Voltage (V): 4.989645392125109 +Exp Batt Life (hrs for 1000mAh battery): NOT COMPUTED +--- Monsoon power meter sampling is finished ! + --- experiment folder path /mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/last_tmp_expermiment_folder +--- frequency level of core 0 is 3 +--- frequency level of core 1 is 0 +--- frequency level of core 2 is 0 +--- frequency level of core 3 is 0 +--- frequency level of core 4 is 0 +--- frequency level of core 5 is 3 +--- frequency level of core 6 is 0 +--- frequency level of core 7 is 0 +--- Number of threads normally started = 2 +--- Number of thread ended: 2 +--- Now threads are stopped, getting the cc_info_level for samsung +--- Copying thread results locally +command /mnt/c/Program Files/Android/platform-tools_r33.0.1-windows/platform-tools/adb.exe pull /sdcard/experiments_automatization/app_output_folder C:\Users\lavoi\opportunist_task_on_android\scripts_valuable_files\experiment_automatization\last_tmp_expermiment_folder </dev/null +/sdcard/experiments_automatization/app_output_folder/: 4 files pulled, 0 skipped. 0.0 MB/s (910 bytes in 0.018s) +saving the logcat file to /mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/last_tmp_expermiment_folder -/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/last_tmp_expermiment_folder- +--- Parsing result from /mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/last_tmp_expermiment_folder to /mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/output_folder/raw_result.txt +--- Getting exact configuration with frequency +--- Configuration with frequencies = [1804800- 0- 0- 0- 0- 1804800- 0- 0] +--- Getting the powermeter summary +--- Powermeter summary: +time (s): 601.2559251785278 +Ins Current (mA):190.05018515132122 +Samples: 3000000 +Consumed Energy (mAs): 128583.14999373817 +Consumed Energy (mAh): 35.71754166492727 +Consumed Energy (mWs): 641336.9967637004 +Consumed Energy (mWh): 178.14916576769454 +Avg power (mW): 1067.4886839615626 +Avg Current (mA): 213.94079139297617 +Avg Voltage (V): 4.989645392125109 + +--- Getting the total energy consumed of the google pixel +--- Energy consumed = 35.71754166492727 +--- Starting cc_info = 0 +--- Ending cc_info = 0 +--- Getting the average power +--- Avg Power = 1067.4886839615626 +--- Printing the total threads summary +--- Thread results +Thread : 0 - ThreadProcess id: 14004 +---------------------------------------- +Starting time: Sat, 18 Dec 2021 22:05:46 +0100 +Core id: 0 +Ending time: Sat, 18 Dec 2021 22:15:46 +0100 - Duration: 600004 seconds +Real workload: 1.5409808227258325E11 - Integer reached: 228186 - Number of reset = 0 +Battery stats: 0 mAH +Computed Drain: Null +Start: 50 % - End: 50 +Cc_info at the beginning: 0 mAh +Cc_info at the end: 0 mAh +Cc_info variation: 0.0 mAh + +Thread : 1 - ThreadProcess id: 14005 +---------------------------------------- +Starting time: Sat, 18 Dec 2021 22:05:46 +0100 +Core id: 5 +Ending time: Sat, 18 Dec 2021 22:15:47 +0100 - Duration: 600001 seconds +Real workload: 1.5399815395314246E11 - Integer reached: 228115 - Number of reset = 0 +Battery stats: 0 mAH +Computed Drain: Null +Start: 50 % - End: 50 +Cc_info at the beginning: 0 mAh +Cc_info at the end: 0 mAh +Cc_info variation: 0.0 mAh + + +--- Counting the total workload command : print_total_workload /mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/last_tmp_expermiment_folder app_output_folder 3,0,0,0,0,3,0,0 /mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first +--- Total workload : 3.08096e+11 +--- Getting energy efficiency +--- Energy efficiency: 1.1593e-10 +--- Building what we will add to the total result file command +------ + (build_configuration_raw_result 300003-0-0 3,0,0,0,0,3,0,0 [1804800- 0- 0- 0- 0- 1804800- 0- 0] time (s): 601.2559251785278 +Ins Current (mA):190.05018515132122 +Samples: 3000000 +Consumed Energy (mAs): 128583.14999373817 +Consumed Energy (mAh): 35.71754166492727 +Consumed Energy (mWs): 641336.9967637004 +Consumed Energy (mWh): 178.14916576769454 +Avg power (mW): 1067.4886839615626 +Avg Current (mA): 213.94079139297617 +Avg Voltage (V): 4.989645392125109 + Thread : 0 - ThreadProcess id: 14004 +---------------------------------------- +Starting time: Sat, 18 Dec 2021 22:05:46 +0100 +Core id: 0 +Ending time: Sat, 18 Dec 2021 22:15:46 +0100 - Duration: 600004 seconds +Real workload: 1.5409808227258325E11 - Integer reached: 228186 - Number of reset = 0 +Battery stats: 0 mAH +Computed Drain: Null +Start: 50 % - End: 50 +Cc_info at the beginning: 0 mAh +Cc_info at the end: 0 mAh +Cc_info variation: 0.0 mAh + +Thread : 1 - ThreadProcess id: 14005 +---------------------------------------- +Starting time: Sat, 18 Dec 2021 22:05:46 +0100 +Core id: 5 +Ending time: Sat, 18 Dec 2021 22:15:47 +0100 - Duration: 600001 seconds +Real workload: 1.5399815395314246E11 - Integer reached: 228115 - Number of reset = 0 +Battery stats: 0 mAH +Computed Drain: Null +Start: 50 % - End: 50 +Cc_info at the beginning: 0 mAh +Cc_info at the end: 0 mAh +Cc_info variation: 0.0 mAh + + 35.71754166492727 3.08096e+11 1.1593e-10 0 0 +------ + +--- Final result to print to File + -------------------------------------------------------------------------------- + +++++ +++++ +++++ Configuration Description +-------------------------------------------------------------------------------- +Configuration: 300003-0-0 +phone format: 3,0,0,0,0,3,0,0 +Exact values of frequencies: [1804800- 0- 0- 0- 0- 1804800- 0- 0] + +Power meter results +------------------------------------------------------------ +time (s): 601.2559251785278 +Ins Current (mA):190.05018515132122 +Samples: 3000000 +Consumed Energy (mAs): 128583.14999373817 +Consumed Energy (mAh): 35.71754166492727 +Consumed Energy (mWs): 641336.9967637004 +Consumed Energy (mWh): 178.14916576769454 +Avg power (mW): 1067.4886839615626 +Avg Current (mA): 213.94079139297617 +Avg Voltage (V): 4.989645392125109 + +Threads results +------------------------------------------------------------ +Thread : 0 - ThreadProcess id: 14004 +---------------------------------------- +Starting time: Sat, 18 Dec 2021 22:05:46 +0100 +Core id: 0 +Ending time: Sat, 18 Dec 2021 22:15:46 +0100 - Duration: 600004 seconds +Real workload: 1.5409808227258325E11 - Integer reached: 228186 - Number of reset = 0 +Battery stats: 0 mAH +Computed Drain: Null +Start: 50 % - End: 50 +Cc_info at the beginning: 0 mAh +Cc_info at the end: 0 mAh +Cc_info variation: 0.0 mAh + +Thread : 1 - ThreadProcess id: 14005 +---------------------------------------- +Starting time: Sat, 18 Dec 2021 22:05:46 +0100 +Core id: 5 +Ending time: Sat, 18 Dec 2021 22:15:47 +0100 - Duration: 600001 seconds +Real workload: 1.5399815395314246E11 - Integer reached: 228115 - Number of reset = 0 +Battery stats: 0 mAH +Computed Drain: Null +Start: 50 % - End: 50 +Cc_info at the beginning: 0 mAh +Cc_info at the end: 0 mAh +Cc_info variation: 0.0 mAh + + +Expermiment results +------------------------------------------------------------ +Energy Consumed (mAh): 35.71754166492727 +Workload: 3.08096e+11 +Energy efficiency: 1.1593e-10 +-------------------------------------------------------------------------------- + + +--- Writing to the total result file +--- Removing previous tested configuration tmp_output folder +removed '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__03Oct22_23_49_07/app_output_folder/all_workloads.txt' +removed '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__03Oct22_23_49_07/app_output_folder/Thread_0_ended' +removed '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__03Oct22_23_49_07/app_output_folder/Thread_0_ready_for_sampling' +removed '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__03Oct22_23_49_07/app_output_folder/Thread_1_ended' +removed '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__03Oct22_23_49_07/app_output_folder/Thread_1_ready_for_sampling' +removed directory '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__03Oct22_23_49_07/app_output_folder' +removed '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__03Oct22_23_49_07/configuration_mesurement.csv' +removed '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__03Oct22_23_49_07/energy_power_workload_energyByWorkload_ccInfo' +removed '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__03Oct22_23_49_07/logcat_output' +removed '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__03Oct22_23_49_07/powermeter_summary.txt' +removed directory '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__03Oct22_23_49_07' +--- Moving the current experiment tmp_folder to the output result folder +writing a temporary file for the main script with format energy_power_workload_energyByWorkload_ccInfo +--- Obtaining experiment summary result to add to result folder +--- Experiment result, Energy consumed = 35.71754166492727 +--- Experiment result, Avg Power = 1067.4886839615626 +--- Experiment result, Total Workload = 3.08096e+11 +--- Experiment result, Energy Efficiency = 1.1593e-10 +--- Adding result to summary file +--- Starting cc information : 0 +--- Ending cc information : 0 +--- The file /mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/output_folder/summary.csv exists we just appending the result to the file +--- Experiments performed on configuration 300003-0-0. +--- Observing a pause betwenn experiment; pause duration : 180 seconds; starting at 04Oct22_00_01_50 +--- Performing experiments on configuration 300030-0-0 +--- Cleaning the tmp expermiment folder : /mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/last_tmp_expermiment_folder +--- Second step : verifying the battery level +--- Verifying the battery level +--- Getting current battery level, adb command path: /mnt/c/Program Files/Android/platform-tools_r33.0.1-windows/platform-tools/adb.exe +--- Current battery level : 50 +Current battery level: OKAY +--- Third step calibrating phone core frequency +--- Resetting all frequency configurations + -- Command used : echo schedutil > /sys/devices/system/cpu/cpu1/cpufreq/scaling_governor + -- Command used : echo schedutil > /sys/devices/system/cpu/cpu2/cpufreq/scaling_governor + -- Command used : echo schedutil > /sys/devices/system/cpu/cpu3/cpufreq/scaling_governor + -- Command used : echo schedutil > /sys/devices/system/cpu/cpu4/cpufreq/scaling_governor + -- Command used : echo schedutil > /sys/devices/system/cpu/cpu5/cpufreq/scaling_governor + -- Command used : echo schedutil > /sys/devices/system/cpu/cpu6/cpufreq/scaling_governor + -- Command used : echo schedutil > /sys/devices/system/cpu/cpu7/cpufreq/scaling_governor +--- Frequency level of core 0 is 3 +--- Exact frequency of core 0: 1804800 +--- Modifying the governor of core 0 +--- Modifying the the current frequency of core 0 with frequency 1804800 +--- Frequency level of core 1 is 0 +--- Exact frequency of core 1: 0 +--- Modifying the governor of core 1 +--- Modifying the the current frequency of core 1 with frequency 0 +--- Frequency level of core 2 is 0 +--- Exact frequency of core 2: 0 +--- Modifying the governor of core 2 +--- Modifying the the current frequency of core 2 with frequency 0 +--- Frequency level of core 3 is 0 +--- Exact frequency of core 3: 0 +--- Modifying the governor of core 3 +--- Modifying the the current frequency of core 3 with frequency 0 +--- Frequency level of core 4 is 3 +--- Exact frequency of core 4: 1804800 +--- Modifying the governor of core 4 +--- Modifying the the current frequency of core 4 with frequency 1804800 +--- Frequency level of core 5 is 0 +--- Exact frequency of core 5: 0 +--- Modifying the governor of core 5 +--- Modifying the the current frequency of core 5 with frequency 0 +--- Frequency level of core 6 is 0 +--- Exact frequency of core 6: 0 +--- Modifying the governor of core 6 +--- Modifying the the current frequency of core 6 with frequency 0 +--- Frequency level of core 7 is 0 +--- Exact frequency of core 7: 0 +--- Modifying the governor of core 7 +--- Modifying the the current frequency of core 7 with frequency 0 +--- Calibrating Monsoon power meter, please wait for 10 seconds... +powermeter script : --- Inside the monsoon_power_meter, arg function: 1 +powermeter script : calibration duration = 10 +powermeter script : Creating the Monsoon engine +powermeter script : Creating the Monsoon engine +powermeter script : Configuring channels the Monsoon engine +powermeter script : Configuring output to : C:\Users\lavoi\opportunist_task_on_android\scripts_valuable_files\experiment_automatization\last_tmp_expermiment_folder\configuration_mesurement.csv +powermeter script : Starting sampling; number of sample = 50000 + returning 50000 samples after experiments +powermeter script : Power meter calibration okay +--- Monsoon power meter Calibrated +--- starting the benchmarking app +## writing the configuration inside the phone file + --- Removing file /sdcard/experiments_automatization +rm '/sdcard/experiments_automatization/current_configuration.txt' +rm '/sdcard/experiments_automatization/experiment_duration.txt' +rm '/sdcard/experiments_automatization/app_output_folder/Thread_0_ready_for_sampling' +rm '/sdcard/experiments_automatization/app_output_folder/Thread_1_ready_for_sampling' +rm '/sdcard/experiments_automatization/app_output_folder/Thread_0_ended' +rm '/sdcard/experiments_automatization/app_output_folder/Thread_1_ended' +rmdir '/sdcard/experiments_automatization/app_output_folder' +rmdir '/sdcard/experiments_automatization' + --- Clearing the logcat + --- Creating file /sdcard/experiments_automatization +----- Uninstalling experiment app +Success +----- Installing experiment app +Performing Streamed Install +Success +------ Giving rights to experiment app +----- Starting experiment app +Starting: Intent { cmp=com.opportunistask.scheduling.benchmarking_app_to_test_big_cores/.MainActivity } +adb command : ps -A | grep com.opportunistask.scheduling.benchmarking_app_to_test_big_cores + ----- Experiment app started with pid: 14813 +---- waiting for benchmarking app thread to be pinned and to be ready +--- frequency level of core 0 is 3 +--- frequency level of core 1 is 0 +--- frequency level of core 2 is 0 +--- frequency level of core 3 is 0 +--- frequency level of core 4 is 3 +--- frequency level of core 5 is 0 +--- frequency level of core 6 is 0 +--- frequency level of core 7 is 0 +--- Number of cores to occupy = 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 2 +--- Now threads are running and the phone is ready to be sampled with the power meter \n--- Threads pids +Thread_0_ready_for_sampling +Thread_1_ready_for_sampling +--- Printing cc_info beginning datas (for the samsung galaxy s8) + --- Starting power meter sampling for about 600 seconds +--- Sampling with the Monsoon power meter +powermeter script : --- Inside the monsoon_power_meter, arg function: 2 +powermeter script : Experiment duration = 600 +powermeter script : Creating the Monsoon engine +powermeter script : Creating the Monsoon engine +powermeter script : Configuring channels the Monsoon engine +powermeter script : Configuring output to : C:\Users\lavoi\opportunist_task_on_android\scripts_valuable_files\experiment_automatization\last_tmp_expermiment_folder\configuration_mesurement.csv +powermeter script : Starting sampling; number of sample = 3000000 + returning 3000000 samples after experiments +powermeter script : Total nomber of sample measured : 3000000 +powermeter script : Computing powermeter summary result + Number of samples = 3000000 +powermeter script : We computed the energy on 600 samples +powermeter script : average_power = 716.9613184199904 +powermeter script : average_power with numpy arrays = 716.9613184199413 +powermeter script : Summary Result = time (s): 601.2030091285706 +Ins Current (mA):123.4251232390342 +Samples: 3000000 +Consumed Energy (mAs): 85381.09860735078 +Consumed Energy (mAh): 23.716971835375215 +Consumed Energy (mWs): 430447.31139882666 +Consumed Energy (mWh): 119.56869761078518 +Avg power (mW): 716.9613184199904 +Avg Current (mA): 142.1724843362255 +Avg Voltage (V): 5.042897869917217 +Exp Batt Life (hrs for 1000mAh battery): NOT COMPUTED +--- Monsoon power meter sampling is finished ! + --- experiment folder path /mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/last_tmp_expermiment_folder +--- frequency level of core 0 is 3 +--- frequency level of core 1 is 0 +--- frequency level of core 2 is 0 +--- frequency level of core 3 is 0 +--- frequency level of core 4 is 3 +--- frequency level of core 5 is 0 +--- frequency level of core 6 is 0 +--- frequency level of core 7 is 0 +--- Number of threads normally started = 2 +--- Number of thread ended: 2 +--- Now threads are stopped, getting the cc_info_level for samsung +--- Copying thread results locally +command /mnt/c/Program Files/Android/platform-tools_r33.0.1-windows/platform-tools/adb.exe pull /sdcard/experiments_automatization/app_output_folder C:\Users\lavoi\opportunist_task_on_android\scripts_valuable_files\experiment_automatization\last_tmp_expermiment_folder </dev/null +/sdcard/experiments_automatization/app_output_folder/: 4 files pulled, 0 skipped. 0.0 MB/s (908 bytes in 0.031s) +saving the logcat file to /mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/last_tmp_expermiment_folder -/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/last_tmp_expermiment_folder- +--- Parsing result from /mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/last_tmp_expermiment_folder to /mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/output_folder/raw_result.txt +--- Getting exact configuration with frequency +--- Configuration with frequencies = [1804800- 0- 0- 0- 1804800- 0- 0- 0] +--- Getting the powermeter summary +--- Powermeter summary: +time (s): 601.2030091285706 +Ins Current (mA):123.4251232390342 +Samples: 3000000 +Consumed Energy (mAs): 85381.09860735078 +Consumed Energy (mAh): 23.716971835375215 +Consumed Energy (mWs): 430447.31139882666 +Consumed Energy (mWh): 119.56869761078518 +Avg power (mW): 716.9613184199904 +Avg Current (mA): 142.1724843362255 +Avg Voltage (V): 5.042897869917217 + +--- Getting the total energy consumed of the google pixel +--- Energy consumed = 23.716971835375215 +--- Starting cc_info = 0 +--- Ending cc_info = 0 +--- Getting the average power +--- Avg Power = 716.9613184199904 +--- Printing the total threads summary +--- Thread results +Thread : 0 - ThreadProcess id: 14838 +---------------------------------------- +Starting time: Sat, 18 Dec 2021 22:21:34 +0100 +Core id: 0 +Ending time: Sat, 18 Dec 2021 22:31:34 +0100 - Duration: 600003 seconds +Real workload: 4.692676633799167E10 - Integer reached: 129066 - Number of reset = 0 +Battery stats: 0 mAH +Computed Drain: Null +Start: 50 % - End: 50 +Cc_info at the beginning: 0 mAh +Cc_info at the end: 0 mAh +Cc_info variation: 0.0 mAh + +Thread : 1 - ThreadProcess id: 14839 +---------------------------------------- +Starting time: Sat, 18 Dec 2021 22:21:34 +0100 +Core id: 4 +Ending time: Sat, 18 Dec 2021 22:31:34 +0100 - Duration: 600010 seconds +Real workload: 4.676363518063283E10 - Integer reached: 128851 - Number of reset = 0 +Battery stats: 0 mAH +Computed Drain: Null +Start: 50 % - End: 50 +Cc_info at the beginning: 0 mAh +Cc_info at the end: 0 mAh +Cc_info variation: 0.0 mAh + + +--- Counting the total workload command : print_total_workload /mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/last_tmp_expermiment_folder app_output_folder 3,0,0,0,3,0,0,0 /mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first +--- Total workload : 9.36904e+10 +--- Getting energy efficiency +--- Energy efficiency: 2.53142e-10 +--- Building what we will add to the total result file command +------ + (build_configuration_raw_result 300030-0-0 3,0,0,0,3,0,0,0 [1804800- 0- 0- 0- 1804800- 0- 0- 0] time (s): 601.2030091285706 +Ins Current (mA):123.4251232390342 +Samples: 3000000 +Consumed Energy (mAs): 85381.09860735078 +Consumed Energy (mAh): 23.716971835375215 +Consumed Energy (mWs): 430447.31139882666 +Consumed Energy (mWh): 119.56869761078518 +Avg power (mW): 716.9613184199904 +Avg Current (mA): 142.1724843362255 +Avg Voltage (V): 5.042897869917217 + Thread : 0 - ThreadProcess id: 14838 +---------------------------------------- +Starting time: Sat, 18 Dec 2021 22:21:34 +0100 +Core id: 0 +Ending time: Sat, 18 Dec 2021 22:31:34 +0100 - Duration: 600003 seconds +Real workload: 4.692676633799167E10 - Integer reached: 129066 - Number of reset = 0 +Battery stats: 0 mAH +Computed Drain: Null +Start: 50 % - End: 50 +Cc_info at the beginning: 0 mAh +Cc_info at the end: 0 mAh +Cc_info variation: 0.0 mAh + +Thread : 1 - ThreadProcess id: 14839 +---------------------------------------- +Starting time: Sat, 18 Dec 2021 22:21:34 +0100 +Core id: 4 +Ending time: Sat, 18 Dec 2021 22:31:34 +0100 - Duration: 600010 seconds +Real workload: 4.676363518063283E10 - Integer reached: 128851 - Number of reset = 0 +Battery stats: 0 mAH +Computed Drain: Null +Start: 50 % - End: 50 +Cc_info at the beginning: 0 mAh +Cc_info at the end: 0 mAh +Cc_info variation: 0.0 mAh + + 23.716971835375215 9.36904e+10 2.53142e-10 0 0 +------ + +--- Final result to print to File + -------------------------------------------------------------------------------- + +++++ +++++ +++++ Configuration Description +-------------------------------------------------------------------------------- +Configuration: 300030-0-0 +phone format: 3,0,0,0,3,0,0,0 +Exact values of frequencies: [1804800- 0- 0- 0- 1804800- 0- 0- 0] + +Power meter results +------------------------------------------------------------ +time (s): 601.2030091285706 +Ins Current (mA):123.4251232390342 +Samples: 3000000 +Consumed Energy (mAs): 85381.09860735078 +Consumed Energy (mAh): 23.716971835375215 +Consumed Energy (mWs): 430447.31139882666 +Consumed Energy (mWh): 119.56869761078518 +Avg power (mW): 716.9613184199904 +Avg Current (mA): 142.1724843362255 +Avg Voltage (V): 5.042897869917217 + +Threads results +------------------------------------------------------------ +Thread : 0 - ThreadProcess id: 14838 +---------------------------------------- +Starting time: Sat, 18 Dec 2021 22:21:34 +0100 +Core id: 0 +Ending time: Sat, 18 Dec 2021 22:31:34 +0100 - Duration: 600003 seconds +Real workload: 4.692676633799167E10 - Integer reached: 129066 - Number of reset = 0 +Battery stats: 0 mAH +Computed Drain: Null +Start: 50 % - End: 50 +Cc_info at the beginning: 0 mAh +Cc_info at the end: 0 mAh +Cc_info variation: 0.0 mAh + +Thread : 1 - ThreadProcess id: 14839 +---------------------------------------- +Starting time: Sat, 18 Dec 2021 22:21:34 +0100 +Core id: 4 +Ending time: Sat, 18 Dec 2021 22:31:34 +0100 - Duration: 600010 seconds +Real workload: 4.676363518063283E10 - Integer reached: 128851 - Number of reset = 0 +Battery stats: 0 mAH +Computed Drain: Null +Start: 50 % - End: 50 +Cc_info at the beginning: 0 mAh +Cc_info at the end: 0 mAh +Cc_info variation: 0.0 mAh + + +Expermiment results +------------------------------------------------------------ +Energy Consumed (mAh): 23.716971835375215 +Workload: 9.36904e+10 +Energy efficiency: 2.53142e-10 +-------------------------------------------------------------------------------- + + +--- Writing to the total result file +--- Removing previous tested configuration tmp_output folder +removed '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__04Oct22_00_04_52/app_output_folder/all_workloads.txt' +removed '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__04Oct22_00_04_52/app_output_folder/Thread_0_ended' +removed '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__04Oct22_00_04_52/app_output_folder/Thread_0_ready_for_sampling' +removed '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__04Oct22_00_04_52/app_output_folder/Thread_1_ended' +removed '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__04Oct22_00_04_52/app_output_folder/Thread_1_ready_for_sampling' +removed directory '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__04Oct22_00_04_52/app_output_folder' +removed '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__04Oct22_00_04_52/configuration_mesurement.csv' +removed '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__04Oct22_00_04_52/energy_power_workload_energyByWorkload_ccInfo' +removed '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__04Oct22_00_04_52/logcat_output' +removed '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__04Oct22_00_04_52/powermeter_summary.txt' +removed directory '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__04Oct22_00_04_52' +--- Moving the current experiment tmp_folder to the output result folder +writing a temporary file for the main script with format energy_power_workload_energyByWorkload_ccInfo +--- Obtaining experiment summary result to add to result folder +--- Experiment result, Energy consumed = 23.716971835375215 +--- Experiment result, Avg Power = 716.9613184199904 +--- Experiment result, Total Workload = 9.36904e+10 +--- Experiment result, Energy Efficiency = 2.53142e-10 +--- Adding result to summary file +--- Starting cc information : 0 +--- Ending cc information : 0 +--- The file /mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/output_folder/summary.csv exists we just appending the result to the file +--- Experiments performed on configuration 300030-0-0. +--- Observing a pause betwenn experiment; pause duration : 180 seconds; starting at 04Oct22_00_17_38 +--- Performing experiments on configuration 300030-0-0 +--- Cleaning the tmp expermiment folder : /mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/last_tmp_expermiment_folder +--- Second step : verifying the battery level +--- Verifying the battery level +--- Getting current battery level, adb command path: /mnt/c/Program Files/Android/platform-tools_r33.0.1-windows/platform-tools/adb.exe +--- Current battery level : 50 +Current battery level: OKAY +--- Third step calibrating phone core frequency +--- Resetting all frequency configurations + -- Command used : echo schedutil > /sys/devices/system/cpu/cpu1/cpufreq/scaling_governor + -- Command used : echo schedutil > /sys/devices/system/cpu/cpu2/cpufreq/scaling_governor + -- Command used : echo schedutil > /sys/devices/system/cpu/cpu3/cpufreq/scaling_governor + -- Command used : echo schedutil > /sys/devices/system/cpu/cpu4/cpufreq/scaling_governor + -- Command used : echo schedutil > /sys/devices/system/cpu/cpu5/cpufreq/scaling_governor + -- Command used : echo schedutil > /sys/devices/system/cpu/cpu6/cpufreq/scaling_governor + -- Command used : echo schedutil > /sys/devices/system/cpu/cpu7/cpufreq/scaling_governor +--- Frequency level of core 0 is 3 +--- Exact frequency of core 0: 1804800 +--- Modifying the governor of core 0 +--- Modifying the the current frequency of core 0 with frequency 1804800 +--- Frequency level of core 1 is 0 +--- Exact frequency of core 1: 0 +--- Modifying the governor of core 1 +--- Modifying the the current frequency of core 1 with frequency 0 +--- Frequency level of core 2 is 0 +--- Exact frequency of core 2: 0 +--- Modifying the governor of core 2 +--- Modifying the the current frequency of core 2 with frequency 0 +--- Frequency level of core 3 is 0 +--- Exact frequency of core 3: 0 +--- Modifying the governor of core 3 +--- Modifying the the current frequency of core 3 with frequency 0 +--- Frequency level of core 4 is 3 +--- Exact frequency of core 4: 1804800 +--- Modifying the governor of core 4 +--- Modifying the the current frequency of core 4 with frequency 1804800 +--- Frequency level of core 5 is 0 +--- Exact frequency of core 5: 0 +--- Modifying the governor of core 5 +--- Modifying the the current frequency of core 5 with frequency 0 +--- Frequency level of core 6 is 0 +--- Exact frequency of core 6: 0 +--- Modifying the governor of core 6 +--- Modifying the the current frequency of core 6 with frequency 0 +--- Frequency level of core 7 is 0 +--- Exact frequency of core 7: 0 +--- Modifying the governor of core 7 +--- Modifying the the current frequency of core 7 with frequency 0 +--- Calibrating Monsoon power meter, please wait for 10 seconds... +powermeter script : --- Inside the monsoon_power_meter, arg function: 1 +powermeter script : calibration duration = 10 +powermeter script : Creating the Monsoon engine +powermeter script : Creating the Monsoon engine +powermeter script : Configuring channels the Monsoon engine +powermeter script : Configuring output to : C:\Users\lavoi\opportunist_task_on_android\scripts_valuable_files\experiment_automatization\last_tmp_expermiment_folder\configuration_mesurement.csv +powermeter script : Starting sampling; number of sample = 50000 + returning 50000 samples after experiments +powermeter script : Power meter calibration okay +--- Monsoon power meter Calibrated +--- starting the benchmarking app +## writing the configuration inside the phone file + --- Removing file /sdcard/experiments_automatization +rm '/sdcard/experiments_automatization/current_configuration.txt' +rm '/sdcard/experiments_automatization/experiment_duration.txt' +rm '/sdcard/experiments_automatization/app_output_folder/Thread_0_ready_for_sampling' +rm '/sdcard/experiments_automatization/app_output_folder/Thread_1_ready_for_sampling' +rm '/sdcard/experiments_automatization/app_output_folder/Thread_0_ended' +rm '/sdcard/experiments_automatization/app_output_folder/Thread_1_ended' +rmdir '/sdcard/experiments_automatization/app_output_folder' +rmdir '/sdcard/experiments_automatization' + --- Clearing the logcat + --- Creating file /sdcard/experiments_automatization +----- Uninstalling experiment app +Success +----- Installing experiment app +Performing Streamed Install +Success +------ Giving rights to experiment app +----- Starting experiment app +Starting: Intent { cmp=com.opportunistask.scheduling.benchmarking_app_to_test_big_cores/.MainActivity } +adb command : ps -A | grep com.opportunistask.scheduling.benchmarking_app_to_test_big_cores + ----- Experiment app started with pid: 15743 +---- waiting for benchmarking app thread to be pinned and to be ready +--- frequency level of core 0 is 3 +--- frequency level of core 1 is 0 +--- frequency level of core 2 is 0 +--- frequency level of core 3 is 0 +--- frequency level of core 4 is 3 +--- frequency level of core 5 is 0 +--- frequency level of core 6 is 0 +--- frequency level of core 7 is 0 +--- Number of cores to occupy = 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 1 +--- The current number of thread ready to be sambled : 1, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 2 +--- Now threads are running and the phone is ready to be sampled with the power meter \n--- Threads pids +Thread_0_ready_for_sampling +Thread_1_ready_for_sampling +--- Printing cc_info beginning datas (for the samsung galaxy s8) + --- Starting power meter sampling for about 600 seconds +--- Sampling with the Monsoon power meter +powermeter script : --- Inside the monsoon_power_meter, arg function: 2 +powermeter script : Experiment duration = 600 +powermeter script : Creating the Monsoon engine +powermeter script : Creating the Monsoon engine +powermeter script : Configuring channels the Monsoon engine +powermeter script : Configuring output to : C:\Users\lavoi\opportunist_task_on_android\scripts_valuable_files\experiment_automatization\last_tmp_expermiment_folder\configuration_mesurement.csv +powermeter script : Starting sampling; number of sample = 3000000 + returning 3000000 samples after experiments +powermeter script : Total nomber of sample measured : 3000000 +powermeter script : Computing powermeter summary result + Number of samples = 3000000 +powermeter script : We computed the energy on 600 samples +powermeter script : average_power = 725.4706873172738 +powermeter script : average_power with numpy arrays = 725.4706873171948 +powermeter script : Summary Result = time (s): 601.1792325973511 +Ins Current (mA):144.70442146808284 +Samples: 3000000 +Consumed Energy (mAs): 86233.69521816686 +Consumed Energy (mAh): 23.953804227268574 +Consumed Energy (mWs): 434631.8041210424 +Consumed Energy (mWh): 120.73105670028956 +Avg power (mW): 725.4706873172738 +Avg Current (mA): 143.8971059218102 +Avg Voltage (V): 5.041593315375467 +Exp Batt Life (hrs for 1000mAh battery): NOT COMPUTED +--- Monsoon power meter sampling is finished ! + --- experiment folder path /mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/last_tmp_expermiment_folder +--- frequency level of core 0 is 3 +--- frequency level of core 1 is 0 +--- frequency level of core 2 is 0 +--- frequency level of core 3 is 0 +--- frequency level of core 4 is 3 +--- frequency level of core 5 is 0 +--- frequency level of core 6 is 0 +--- frequency level of core 7 is 0 +--- Number of threads normally started = 2 +--- Number of thread ended: 2 +--- Now threads are stopped, getting the cc_info_level for samsung +--- Copying thread results locally +command /mnt/c/Program Files/Android/platform-tools_r33.0.1-windows/platform-tools/adb.exe pull /sdcard/experiments_automatization/app_output_folder C:\Users\lavoi\opportunist_task_on_android\scripts_valuable_files\experiment_automatization\last_tmp_expermiment_folder </dev/null +/sdcard/experiments_automatization/app_output_folder/: 4 files pulled, 0 skipped. 0.0 MB/s (908 bytes in 0.030s) +saving the logcat file to /mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/last_tmp_expermiment_folder -/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/last_tmp_expermiment_folder- +--- Parsing result from /mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/last_tmp_expermiment_folder to /mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/output_folder/raw_result.txt +--- Getting exact configuration with frequency +--- Configuration with frequencies = [1804800- 0- 0- 0- 1804800- 0- 0- 0] +--- Getting the powermeter summary +--- Powermeter summary: +time (s): 601.1792325973511 +Ins Current (mA):144.70442146808284 +Samples: 3000000 +Consumed Energy (mAs): 86233.69521816686 +Consumed Energy (mAh): 23.953804227268574 +Consumed Energy (mWs): 434631.8041210424 +Consumed Energy (mWh): 120.73105670028956 +Avg power (mW): 725.4706873172738 +Avg Current (mA): 143.8971059218102 +Avg Voltage (V): 5.041593315375467 + +--- Getting the total energy consumed of the google pixel +--- Energy consumed = 23.953804227268574 +--- Starting cc_info = 0 +--- Ending cc_info = 0 +--- Getting the average power +--- Avg Power = 725.4706873172738 +--- Printing the total threads summary +--- Thread results +Thread : 0 - ThreadProcess id: 15769 +---------------------------------------- +Starting time: Sat, 18 Dec 2021 22:37:21 +0100 +Core id: 0 +Ending time: Sat, 18 Dec 2021 22:47:22 +0100 - Duration: 600007 seconds +Real workload: 4.6978422735853455E10 - Integer reached: 129134 - Number of reset = 0 +Battery stats: 0 mAH +Computed Drain: Null +Start: 50 % - End: 50 +Cc_info at the beginning: 0 mAh +Cc_info at the end: 0 mAh +Cc_info variation: 0.0 mAh + +Thread : 1 - ThreadProcess id: 15770 +---------------------------------------- +Starting time: Sat, 18 Dec 2021 22:37:22 +0100 +Core id: 4 +Ending time: Sat, 18 Dec 2021 22:47:22 +0100 - Duration: 600023 seconds +Real workload: 4.71678282843284E10 - Integer reached: 129383 - Number of reset = 0 +Battery stats: 0 mAH +Computed Drain: Null +Start: 50 % - End: 50 +Cc_info at the beginning: 0 mAh +Cc_info at the end: 0 mAh +Cc_info variation: 0.0 mAh + + +--- Counting the total workload command : print_total_workload /mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/last_tmp_expermiment_folder app_output_folder 3,0,0,0,3,0,0,0 /mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first +--- Total workload : 9.41463e+10 +--- Getting energy efficiency +--- Energy efficiency: 2.54432e-10 +--- Building what we will add to the total result file command +------ + (build_configuration_raw_result 300030-0-0 3,0,0,0,3,0,0,0 [1804800- 0- 0- 0- 1804800- 0- 0- 0] time (s): 601.1792325973511 +Ins Current (mA):144.70442146808284 +Samples: 3000000 +Consumed Energy (mAs): 86233.69521816686 +Consumed Energy (mAh): 23.953804227268574 +Consumed Energy (mWs): 434631.8041210424 +Consumed Energy (mWh): 120.73105670028956 +Avg power (mW): 725.4706873172738 +Avg Current (mA): 143.8971059218102 +Avg Voltage (V): 5.041593315375467 + Thread : 0 - ThreadProcess id: 15769 +---------------------------------------- +Starting time: Sat, 18 Dec 2021 22:37:21 +0100 +Core id: 0 +Ending time: Sat, 18 Dec 2021 22:47:22 +0100 - Duration: 600007 seconds +Real workload: 4.6978422735853455E10 - Integer reached: 129134 - Number of reset = 0 +Battery stats: 0 mAH +Computed Drain: Null +Start: 50 % - End: 50 +Cc_info at the beginning: 0 mAh +Cc_info at the end: 0 mAh +Cc_info variation: 0.0 mAh + +Thread : 1 - ThreadProcess id: 15770 +---------------------------------------- +Starting time: Sat, 18 Dec 2021 22:37:22 +0100 +Core id: 4 +Ending time: Sat, 18 Dec 2021 22:47:22 +0100 - Duration: 600023 seconds +Real workload: 4.71678282843284E10 - Integer reached: 129383 - Number of reset = 0 +Battery stats: 0 mAH +Computed Drain: Null +Start: 50 % - End: 50 +Cc_info at the beginning: 0 mAh +Cc_info at the end: 0 mAh +Cc_info variation: 0.0 mAh + + 23.953804227268574 9.41463e+10 2.54432e-10 0 0 +------ + +--- Final result to print to File + -------------------------------------------------------------------------------- + +++++ +++++ +++++ Configuration Description +-------------------------------------------------------------------------------- +Configuration: 300030-0-0 +phone format: 3,0,0,0,3,0,0,0 +Exact values of frequencies: [1804800- 0- 0- 0- 1804800- 0- 0- 0] + +Power meter results +------------------------------------------------------------ +time (s): 601.1792325973511 +Ins Current (mA):144.70442146808284 +Samples: 3000000 +Consumed Energy (mAs): 86233.69521816686 +Consumed Energy (mAh): 23.953804227268574 +Consumed Energy (mWs): 434631.8041210424 +Consumed Energy (mWh): 120.73105670028956 +Avg power (mW): 725.4706873172738 +Avg Current (mA): 143.8971059218102 +Avg Voltage (V): 5.041593315375467 + +Threads results +------------------------------------------------------------ +Thread : 0 - ThreadProcess id: 15769 +---------------------------------------- +Starting time: Sat, 18 Dec 2021 22:37:21 +0100 +Core id: 0 +Ending time: Sat, 18 Dec 2021 22:47:22 +0100 - Duration: 600007 seconds +Real workload: 4.6978422735853455E10 - Integer reached: 129134 - Number of reset = 0 +Battery stats: 0 mAH +Computed Drain: Null +Start: 50 % - End: 50 +Cc_info at the beginning: 0 mAh +Cc_info at the end: 0 mAh +Cc_info variation: 0.0 mAh + +Thread : 1 - ThreadProcess id: 15770 +---------------------------------------- +Starting time: Sat, 18 Dec 2021 22:37:22 +0100 +Core id: 4 +Ending time: Sat, 18 Dec 2021 22:47:22 +0100 - Duration: 600023 seconds +Real workload: 4.71678282843284E10 - Integer reached: 129383 - Number of reset = 0 +Battery stats: 0 mAH +Computed Drain: Null +Start: 50 % - End: 50 +Cc_info at the beginning: 0 mAh +Cc_info at the end: 0 mAh +Cc_info variation: 0.0 mAh + + +Expermiment results +------------------------------------------------------------ +Energy Consumed (mAh): 23.953804227268574 +Workload: 9.41463e+10 +Energy efficiency: 2.54432e-10 +-------------------------------------------------------------------------------- + + +--- Writing to the total result file +--- Removing previous tested configuration tmp_output folder +removed '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__04Oct22_00_20_40/app_output_folder/all_workloads.txt' +removed '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__04Oct22_00_20_40/app_output_folder/Thread_0_ended' +removed '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__04Oct22_00_20_40/app_output_folder/Thread_0_ready_for_sampling' +removed '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__04Oct22_00_20_40/app_output_folder/Thread_1_ended' +removed '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__04Oct22_00_20_40/app_output_folder/Thread_1_ready_for_sampling' +removed directory '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__04Oct22_00_20_40/app_output_folder' +removed '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__04Oct22_00_20_40/configuration_mesurement.csv' +removed '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__04Oct22_00_20_40/energy_power_workload_energyByWorkload_ccInfo' +removed '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__04Oct22_00_20_40/logcat_output' +removed '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__04Oct22_00_20_40/powermeter_summary.txt' +removed directory '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__04Oct22_00_20_40' +--- Moving the current experiment tmp_folder to the output result folder +writing a temporary file for the main script with format energy_power_workload_energyByWorkload_ccInfo +--- Obtaining experiment summary result to add to result folder +--- Experiment result, Energy consumed = 23.953804227268574 +--- Experiment result, Avg Power = 725.4706873172738 +--- Experiment result, Total Workload = 9.41463e+10 +--- Experiment result, Energy Efficiency = 2.54432e-10 +--- Adding result to summary file +--- Starting cc information : 0 +--- Ending cc information : 0 +--- The file /mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/output_folder/summary.csv exists we just appending the result to the file +--- Experiments performed on configuration 300030-0-0. +--- Observing a pause betwenn experiment; pause duration : 180 seconds; starting at 04Oct22_00_33_26 +--- Performing experiments on configuration 300030-0-0 +--- Cleaning the tmp expermiment folder : /mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/last_tmp_expermiment_folder +--- Second step : verifying the battery level +--- Verifying the battery level +--- Getting current battery level, adb command path: /mnt/c/Program Files/Android/platform-tools_r33.0.1-windows/platform-tools/adb.exe +--- Current battery level : 50 +Current battery level: OKAY +--- Third step calibrating phone core frequency +--- Resetting all frequency configurations + -- Command used : echo schedutil > /sys/devices/system/cpu/cpu1/cpufreq/scaling_governor + -- Command used : echo schedutil > /sys/devices/system/cpu/cpu2/cpufreq/scaling_governor + -- Command used : echo schedutil > /sys/devices/system/cpu/cpu3/cpufreq/scaling_governor + -- Command used : echo schedutil > /sys/devices/system/cpu/cpu4/cpufreq/scaling_governor + -- Command used : echo schedutil > /sys/devices/system/cpu/cpu5/cpufreq/scaling_governor + -- Command used : echo schedutil > /sys/devices/system/cpu/cpu6/cpufreq/scaling_governor + -- Command used : echo schedutil > /sys/devices/system/cpu/cpu7/cpufreq/scaling_governor +--- Frequency level of core 0 is 3 +--- Exact frequency of core 0: 1804800 +--- Modifying the governor of core 0 +--- Modifying the the current frequency of core 0 with frequency 1804800 +--- Frequency level of core 1 is 0 +--- Exact frequency of core 1: 0 +--- Modifying the governor of core 1 +--- Modifying the the current frequency of core 1 with frequency 0 +--- Frequency level of core 2 is 0 +--- Exact frequency of core 2: 0 +--- Modifying the governor of core 2 +--- Modifying the the current frequency of core 2 with frequency 0 +--- Frequency level of core 3 is 0 +--- Exact frequency of core 3: 0 +--- Modifying the governor of core 3 +--- Modifying the the current frequency of core 3 with frequency 0 +--- Frequency level of core 4 is 3 +--- Exact frequency of core 4: 1804800 +--- Modifying the governor of core 4 +--- Modifying the the current frequency of core 4 with frequency 1804800 +--- Frequency level of core 5 is 0 +--- Exact frequency of core 5: 0 +--- Modifying the governor of core 5 +--- Modifying the the current frequency of core 5 with frequency 0 +--- Frequency level of core 6 is 0 +--- Exact frequency of core 6: 0 +--- Modifying the governor of core 6 +--- Modifying the the current frequency of core 6 with frequency 0 +--- Frequency level of core 7 is 0 +--- Exact frequency of core 7: 0 +--- Modifying the governor of core 7 +--- Modifying the the current frequency of core 7 with frequency 0 +--- Calibrating Monsoon power meter, please wait for 10 seconds... +powermeter script : --- Inside the monsoon_power_meter, arg function: 1 +powermeter script : calibration duration = 10 +powermeter script : Creating the Monsoon engine +powermeter script : Creating the Monsoon engine +powermeter script : Configuring channels the Monsoon engine +powermeter script : Configuring output to : C:\Users\lavoi\opportunist_task_on_android\scripts_valuable_files\experiment_automatization\last_tmp_expermiment_folder\configuration_mesurement.csv +powermeter script : Starting sampling; number of sample = 50000 + returning 50000 samples after experiments +powermeter script : Power meter calibration okay +--- Monsoon power meter Calibrated +--- starting the benchmarking app +## writing the configuration inside the phone file + --- Removing file /sdcard/experiments_automatization +rm '/sdcard/experiments_automatization/current_configuration.txt' +rm '/sdcard/experiments_automatization/experiment_duration.txt' +rm '/sdcard/experiments_automatization/app_output_folder/Thread_0_ready_for_sampling' +rm '/sdcard/experiments_automatization/app_output_folder/Thread_1_ready_for_sampling' +rm '/sdcard/experiments_automatization/app_output_folder/Thread_0_ended' +rm '/sdcard/experiments_automatization/app_output_folder/Thread_1_ended' +rmdir '/sdcard/experiments_automatization/app_output_folder' +rmdir '/sdcard/experiments_automatization' + --- Clearing the logcat + --- Creating file /sdcard/experiments_automatization +----- Uninstalling experiment app +Success +----- Installing experiment app +Performing Streamed Install +Success +------ Giving rights to experiment app +----- Starting experiment app +Starting: Intent { cmp=com.opportunistask.scheduling.benchmarking_app_to_test_big_cores/.MainActivity } +adb command : ps -A | grep com.opportunistask.scheduling.benchmarking_app_to_test_big_cores + ----- Experiment app started with pid: 16580 +---- waiting for benchmarking app thread to be pinned and to be ready +--- frequency level of core 0 is 3 +--- frequency level of core 1 is 0 +--- frequency level of core 2 is 0 +--- frequency level of core 3 is 0 +--- frequency level of core 4 is 3 +--- frequency level of core 5 is 0 +--- frequency level of core 6 is 0 +--- frequency level of core 7 is 0 +--- Number of cores to occupy = 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 2 +--- Now threads are running and the phone is ready to be sampled with the power meter \n--- Threads pids +Thread_0_ready_for_sampling +Thread_1_ready_for_sampling +--- Printing cc_info beginning datas (for the samsung galaxy s8) + --- Starting power meter sampling for about 600 seconds +--- Sampling with the Monsoon power meter +powermeter script : --- Inside the monsoon_power_meter, arg function: 2 +powermeter script : Experiment duration = 600 +powermeter script : Creating the Monsoon engine +powermeter script : Creating the Monsoon engine +powermeter script : Configuring channels the Monsoon engine +powermeter script : Configuring output to : C:\Users\lavoi\opportunist_task_on_android\scripts_valuable_files\experiment_automatization\last_tmp_expermiment_folder\configuration_mesurement.csv +powermeter script : Starting sampling; number of sample = 3000000 + returning 3000000 samples after experiments +powermeter script : Total nomber of sample measured : 3000000 +powermeter script : Computing powermeter summary result + Number of samples = 3000000 +powermeter script : We computed the energy on 600 samples +powermeter script : average_power = 716.9842985354938 +powermeter script : average_power with numpy arrays = 716.9842985354342 +powermeter script : Summary Result = time (s): 601.2308588027954 +Ins Current (mA):121.01781856834263 +Samples: 3000000 +Consumed Energy (mAs): 85177.38666675844 +Consumed Energy (mAh): 23.66038518521068 +Consumed Energy (mWs): 429373.61396904715 +Consumed Energy (mWh): 119.27044832473531 +Avg power (mW): 716.9842985354938 +Avg Current (mA): 142.17965552096578 +Avg Voltage (V): 5.042805146125618 +Exp Batt Life (hrs for 1000mAh battery): NOT COMPUTED +--- Monsoon power meter sampling is finished ! + --- experiment folder path /mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/last_tmp_expermiment_folder +--- frequency level of core 0 is 3 +--- frequency level of core 1 is 0 +--- frequency level of core 2 is 0 +--- frequency level of core 3 is 0 +--- frequency level of core 4 is 3 +--- frequency level of core 5 is 0 +--- frequency level of core 6 is 0 +--- frequency level of core 7 is 0 +--- Number of threads normally started = 2 +--- Number of thread ended: 2 +--- Now threads are stopped, getting the cc_info_level for samsung +--- Copying thread results locally +command /mnt/c/Program Files/Android/platform-tools_r33.0.1-windows/platform-tools/adb.exe pull /sdcard/experiments_automatization/app_output_folder C:\Users\lavoi\opportunist_task_on_android\scripts_valuable_files\experiment_automatization\last_tmp_expermiment_folder </dev/null +/sdcard/experiments_automatization/app_output_folder/: 4 files pulled, 0 skipped. 0.0 MB/s (909 bytes in 0.034s) +saving the logcat file to /mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/last_tmp_expermiment_folder -/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/last_tmp_expermiment_folder- +--- Parsing result from /mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/last_tmp_expermiment_folder to /mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/output_folder/raw_result.txt +--- Getting exact configuration with frequency +--- Configuration with frequencies = [1804800- 0- 0- 0- 1804800- 0- 0- 0] +--- Getting the powermeter summary +--- Powermeter summary: +time (s): 601.2308588027954 +Ins Current (mA):121.01781856834263 +Samples: 3000000 +Consumed Energy (mAs): 85177.38666675844 +Consumed Energy (mAh): 23.66038518521068 +Consumed Energy (mWs): 429373.61396904715 +Consumed Energy (mWh): 119.27044832473531 +Avg power (mW): 716.9842985354938 +Avg Current (mA): 142.17965552096578 +Avg Voltage (V): 5.042805146125618 + +--- Getting the total energy consumed of the google pixel +--- Energy consumed = 23.66038518521068 +--- Starting cc_info = 0 +--- Ending cc_info = 0 +--- Getting the average power +--- Avg Power = 716.9842985354938 +--- Printing the total threads summary +--- Thread results +Thread : 0 - ThreadProcess id: 16605 +---------------------------------------- +Starting time: Sat, 18 Dec 2021 22:53:10 +0100 +Core id: 0 +Ending time: Sat, 18 Dec 2021 23:03:10 +0100 - Duration: 600016 seconds +Real workload: 4.6979942488798645E10 - Integer reached: 129136 - Number of reset = 0 +Battery stats: 0 mAH +Computed Drain: Null +Start: 50 % - End: 50 +Cc_info at the beginning: 0 mAh +Cc_info at the end: 0 mAh +Cc_info variation: 0.0 mAh + +Thread : 1 - ThreadProcess id: 16606 +---------------------------------------- +Starting time: Sat, 18 Dec 2021 22:53:10 +0100 +Core id: 4 +Ending time: Sat, 18 Dec 2021 23:03:10 +0100 - Duration: 600021 seconds +Real workload: 4.674241190778891E10 - Integer reached: 128823 - Number of reset = 0 +Battery stats: 0 mAH +Computed Drain: Null +Start: 50 % - End: 50 +Cc_info at the beginning: 0 mAh +Cc_info at the end: 0 mAh +Cc_info variation: 0.0 mAh + + +--- Counting the total workload command : print_total_workload /mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/last_tmp_expermiment_folder app_output_folder 3,0,0,0,3,0,0,0 /mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first +--- Total workload : 9.37224e+10 +--- Getting energy efficiency +--- Energy efficiency: 2.52452e-10 +--- Building what we will add to the total result file command +------ + (build_configuration_raw_result 300030-0-0 3,0,0,0,3,0,0,0 [1804800- 0- 0- 0- 1804800- 0- 0- 0] time (s): 601.2308588027954 +Ins Current (mA):121.01781856834263 +Samples: 3000000 +Consumed Energy (mAs): 85177.38666675844 +Consumed Energy (mAh): 23.66038518521068 +Consumed Energy (mWs): 429373.61396904715 +Consumed Energy (mWh): 119.27044832473531 +Avg power (mW): 716.9842985354938 +Avg Current (mA): 142.17965552096578 +Avg Voltage (V): 5.042805146125618 + Thread : 0 - ThreadProcess id: 16605 +---------------------------------------- +Starting time: Sat, 18 Dec 2021 22:53:10 +0100 +Core id: 0 +Ending time: Sat, 18 Dec 2021 23:03:10 +0100 - Duration: 600016 seconds +Real workload: 4.6979942488798645E10 - Integer reached: 129136 - Number of reset = 0 +Battery stats: 0 mAH +Computed Drain: Null +Start: 50 % - End: 50 +Cc_info at the beginning: 0 mAh +Cc_info at the end: 0 mAh +Cc_info variation: 0.0 mAh + +Thread : 1 - ThreadProcess id: 16606 +---------------------------------------- +Starting time: Sat, 18 Dec 2021 22:53:10 +0100 +Core id: 4 +Ending time: Sat, 18 Dec 2021 23:03:10 +0100 - Duration: 600021 seconds +Real workload: 4.674241190778891E10 - Integer reached: 128823 - Number of reset = 0 +Battery stats: 0 mAH +Computed Drain: Null +Start: 50 % - End: 50 +Cc_info at the beginning: 0 mAh +Cc_info at the end: 0 mAh +Cc_info variation: 0.0 mAh + + 23.66038518521068 9.37224e+10 2.52452e-10 0 0 +------ + +--- Final result to print to File + -------------------------------------------------------------------------------- + +++++ +++++ +++++ Configuration Description +-------------------------------------------------------------------------------- +Configuration: 300030-0-0 +phone format: 3,0,0,0,3,0,0,0 +Exact values of frequencies: [1804800- 0- 0- 0- 1804800- 0- 0- 0] + +Power meter results +------------------------------------------------------------ +time (s): 601.2308588027954 +Ins Current (mA):121.01781856834263 +Samples: 3000000 +Consumed Energy (mAs): 85177.38666675844 +Consumed Energy (mAh): 23.66038518521068 +Consumed Energy (mWs): 429373.61396904715 +Consumed Energy (mWh): 119.27044832473531 +Avg power (mW): 716.9842985354938 +Avg Current (mA): 142.17965552096578 +Avg Voltage (V): 5.042805146125618 + +Threads results +------------------------------------------------------------ +Thread : 0 - ThreadProcess id: 16605 +---------------------------------------- +Starting time: Sat, 18 Dec 2021 22:53:10 +0100 +Core id: 0 +Ending time: Sat, 18 Dec 2021 23:03:10 +0100 - Duration: 600016 seconds +Real workload: 4.6979942488798645E10 - Integer reached: 129136 - Number of reset = 0 +Battery stats: 0 mAH +Computed Drain: Null +Start: 50 % - End: 50 +Cc_info at the beginning: 0 mAh +Cc_info at the end: 0 mAh +Cc_info variation: 0.0 mAh + +Thread : 1 - ThreadProcess id: 16606 +---------------------------------------- +Starting time: Sat, 18 Dec 2021 22:53:10 +0100 +Core id: 4 +Ending time: Sat, 18 Dec 2021 23:03:10 +0100 - Duration: 600021 seconds +Real workload: 4.674241190778891E10 - Integer reached: 128823 - Number of reset = 0 +Battery stats: 0 mAH +Computed Drain: Null +Start: 50 % - End: 50 +Cc_info at the beginning: 0 mAh +Cc_info at the end: 0 mAh +Cc_info variation: 0.0 mAh + + +Expermiment results +------------------------------------------------------------ +Energy Consumed (mAh): 23.66038518521068 +Workload: 9.37224e+10 +Energy efficiency: 2.52452e-10 +-------------------------------------------------------------------------------- + + +--- Writing to the total result file +--- Removing previous tested configuration tmp_output folder +removed '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__04Oct22_00_36_28/app_output_folder/all_workloads.txt' +removed '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__04Oct22_00_36_28/app_output_folder/Thread_0_ended' +removed '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__04Oct22_00_36_28/app_output_folder/Thread_0_ready_for_sampling' +removed '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__04Oct22_00_36_28/app_output_folder/Thread_1_ended' +removed '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__04Oct22_00_36_28/app_output_folder/Thread_1_ready_for_sampling' +removed directory '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__04Oct22_00_36_28/app_output_folder' +removed '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__04Oct22_00_36_28/configuration_mesurement.csv' +removed '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__04Oct22_00_36_28/energy_power_workload_energyByWorkload_ccInfo' +removed '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__04Oct22_00_36_28/logcat_output' +removed '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__04Oct22_00_36_28/powermeter_summary.txt' +removed directory '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__04Oct22_00_36_28' +--- Moving the current experiment tmp_folder to the output result folder +writing a temporary file for the main script with format energy_power_workload_energyByWorkload_ccInfo +--- Obtaining experiment summary result to add to result folder +--- Experiment result, Energy consumed = 23.66038518521068 +--- Experiment result, Avg Power = 716.9842985354938 +--- Experiment result, Total Workload = 9.37224e+10 +--- Experiment result, Energy Efficiency = 2.52452e-10 +--- Adding result to summary file +--- Starting cc information : 0 +--- Ending cc information : 0 +--- The file /mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/output_folder/summary.csv exists we just appending the result to the file +--- Experiments performed on configuration 300030-0-0. +--- Observing a pause betwenn experiment; pause duration : 180 seconds; starting at 04Oct22_00_49_14 +--- Performing experiments on configuration 300300-0-0 +--- Cleaning the tmp expermiment folder : /mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/last_tmp_expermiment_folder +--- Second step : verifying the battery level +--- Verifying the battery level +--- Getting current battery level, adb command path: /mnt/c/Program Files/Android/platform-tools_r33.0.1-windows/platform-tools/adb.exe +--- Current battery level : 50 +Current battery level: OKAY +--- Third step calibrating phone core frequency +--- Resetting all frequency configurations + -- Command used : echo schedutil > /sys/devices/system/cpu/cpu1/cpufreq/scaling_governor + -- Command used : echo schedutil > /sys/devices/system/cpu/cpu2/cpufreq/scaling_governor + -- Command used : echo schedutil > /sys/devices/system/cpu/cpu3/cpufreq/scaling_governor + -- Command used : echo schedutil > /sys/devices/system/cpu/cpu4/cpufreq/scaling_governor + -- Command used : echo schedutil > /sys/devices/system/cpu/cpu5/cpufreq/scaling_governor + -- Command used : echo schedutil > /sys/devices/system/cpu/cpu6/cpufreq/scaling_governor + -- Command used : echo schedutil > /sys/devices/system/cpu/cpu7/cpufreq/scaling_governor +--- Frequency level of core 0 is 3 +--- Exact frequency of core 0: 1804800 +--- Modifying the governor of core 0 +--- Modifying the the current frequency of core 0 with frequency 1804800 +--- Frequency level of core 1 is 0 +--- Exact frequency of core 1: 0 +--- Modifying the governor of core 1 +--- Modifying the the current frequency of core 1 with frequency 0 +--- Frequency level of core 2 is 0 +--- Exact frequency of core 2: 0 +--- Modifying the governor of core 2 +--- Modifying the the current frequency of core 2 with frequency 0 +--- Frequency level of core 3 is 3 +--- Exact frequency of core 3: 1804800 +--- Modifying the governor of core 3 +--- Modifying the the current frequency of core 3 with frequency 1804800 +--- Frequency level of core 4 is 0 +--- Exact frequency of core 4: 0 +--- Modifying the governor of core 4 +--- Modifying the the current frequency of core 4 with frequency 0 +--- Frequency level of core 5 is 0 +--- Exact frequency of core 5: 0 +--- Modifying the governor of core 5 +--- Modifying the the current frequency of core 5 with frequency 0 +--- Frequency level of core 6 is 0 +--- Exact frequency of core 6: 0 +--- Modifying the governor of core 6 +--- Modifying the the current frequency of core 6 with frequency 0 +--- Frequency level of core 7 is 0 +--- Exact frequency of core 7: 0 +--- Modifying the governor of core 7 +--- Modifying the the current frequency of core 7 with frequency 0 +--- Calibrating Monsoon power meter, please wait for 10 seconds... +powermeter script : --- Inside the monsoon_power_meter, arg function: 1 +powermeter script : calibration duration = 10 +powermeter script : Creating the Monsoon engine +powermeter script : Creating the Monsoon engine +powermeter script : Configuring channels the Monsoon engine +powermeter script : Configuring output to : C:\Users\lavoi\opportunist_task_on_android\scripts_valuable_files\experiment_automatization\last_tmp_expermiment_folder\configuration_mesurement.csv +powermeter script : Starting sampling; number of sample = 50000 + returning 50000 samples after experiments +powermeter script : Power meter calibration okay +--- Monsoon power meter Calibrated +--- starting the benchmarking app +## writing the configuration inside the phone file + --- Removing file /sdcard/experiments_automatization +rm '/sdcard/experiments_automatization/current_configuration.txt' +rm '/sdcard/experiments_automatization/experiment_duration.txt' +rm '/sdcard/experiments_automatization/app_output_folder/Thread_0_ready_for_sampling' +rm '/sdcard/experiments_automatization/app_output_folder/Thread_1_ready_for_sampling' +rm '/sdcard/experiments_automatization/app_output_folder/Thread_0_ended' +rm '/sdcard/experiments_automatization/app_output_folder/Thread_1_ended' +rmdir '/sdcard/experiments_automatization/app_output_folder' +rmdir '/sdcard/experiments_automatization' + --- Clearing the logcat + --- Creating file /sdcard/experiments_automatization +----- Uninstalling experiment app +Success +----- Installing experiment app +Performing Streamed Install +Success +------ Giving rights to experiment app +----- Starting experiment app +Starting: Intent { cmp=com.opportunistask.scheduling.benchmarking_app_to_test_big_cores/.MainActivity } +adb command : ps -A | grep com.opportunistask.scheduling.benchmarking_app_to_test_big_cores + ----- Experiment app started with pid: 17415 +---- waiting for benchmarking app thread to be pinned and to be ready +--- frequency level of core 0 is 3 +--- frequency level of core 1 is 0 +--- frequency level of core 2 is 0 +--- frequency level of core 3 is 3 +--- frequency level of core 4 is 0 +--- frequency level of core 5 is 0 +--- frequency level of core 6 is 0 +--- frequency level of core 7 is 0 +--- Number of cores to occupy = 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 2 +--- Now threads are running and the phone is ready to be sampled with the power meter \n--- Threads pids +Thread_0_ready_for_sampling +Thread_1_ready_for_sampling +--- Printing cc_info beginning datas (for the samsung galaxy s8) + --- Starting power meter sampling for about 600 seconds +--- Sampling with the Monsoon power meter +powermeter script : --- Inside the monsoon_power_meter, arg function: 2 +powermeter script : Experiment duration = 600 +powermeter script : Creating the Monsoon engine +powermeter script : Creating the Monsoon engine +powermeter script : Configuring channels the Monsoon engine +powermeter script : Configuring output to : C:\Users\lavoi\opportunist_task_on_android\scripts_valuable_files\experiment_automatization\last_tmp_expermiment_folder\configuration_mesurement.csv +powermeter script : Starting sampling; number of sample = 3000000 + returning 3000000 samples after experiments +powermeter script : Total nomber of sample measured : 3000000 +powermeter script : Computing powermeter summary result + Number of samples = 3000000 +powermeter script : We computed the energy on 600 samples +powermeter script : average_power = 724.3399358849308 +powermeter script : average_power with numpy arrays = 724.339935884832 +powermeter script : Summary Result = time (s): 602.680333852768 +Ins Current (mA):133.8276462408808 +Samples: 3000000 +Consumed Energy (mAs): 86961.49879005252 +Consumed Energy (mAh): 24.1559718861257 +Consumed Energy (mWs): 438222.53433645604 +Consumed Energy (mWh): 121.72848176012668 +Avg power (mW): 724.3399358849308 +Avg Current (mA): 143.6673507485517 +Avg Voltage (V): 5.041785291584301 +Exp Batt Life (hrs for 1000mAh battery): NOT COMPUTED +--- Monsoon power meter sampling is finished ! + --- experiment folder path /mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/last_tmp_expermiment_folder +--- frequency level of core 0 is 3 +--- frequency level of core 1 is 0 +--- frequency level of core 2 is 0 +--- frequency level of core 3 is 3 +--- frequency level of core 4 is 0 +--- frequency level of core 5 is 0 +--- frequency level of core 6 is 0 +--- frequency level of core 7 is 0 +--- Number of threads normally started = 2 +--- Number of thread ended: 2 +--- Now threads are stopped, getting the cc_info_level for samsung +--- Copying thread results locally +command /mnt/c/Program Files/Android/platform-tools_r33.0.1-windows/platform-tools/adb.exe pull /sdcard/experiments_automatization/app_output_folder C:\Users\lavoi\opportunist_task_on_android\scripts_valuable_files\experiment_automatization\last_tmp_expermiment_folder </dev/null +/sdcard/experiments_automatization/app_output_folder/: 4 files pulled, 0 skipped. 0.0 MB/s (907 bytes in 0.031s) +saving the logcat file to /mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/last_tmp_expermiment_folder -/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/last_tmp_expermiment_folder- +--- Parsing result from /mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/last_tmp_expermiment_folder to /mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/output_folder/raw_result.txt +--- Getting exact configuration with frequency +--- Configuration with frequencies = [1804800- 0- 0- 1804800- 0- 0- 0- 0] +--- Getting the powermeter summary +--- Powermeter summary: +time (s): 602.680333852768 +Ins Current (mA):133.8276462408808 +Samples: 3000000 +Consumed Energy (mAs): 86961.49879005252 +Consumed Energy (mAh): 24.1559718861257 +Consumed Energy (mWs): 438222.53433645604 +Consumed Energy (mWh): 121.72848176012668 +Avg power (mW): 724.3399358849308 +Avg Current (mA): 143.6673507485517 +Avg Voltage (V): 5.041785291584301 + +--- Getting the total energy consumed of the google pixel +--- Energy consumed = 24.1559718861257 +--- Starting cc_info = 0 +--- Ending cc_info = 0 +--- Getting the average power +--- Avg Power = 724.3399358849308 +--- Printing the total threads summary +--- Thread results +Thread : 0 - ThreadProcess id: 17441 +---------------------------------------- +Starting time: Sat, 18 Dec 2021 23:08:58 +0100 +Core id: 0 +Ending time: Sat, 18 Dec 2021 23:18:59 +0100 - Duration: 600020 seconds +Real workload: 4.677652317509944E10 - Integer reached: 128868 - Number of reset = 0 +Battery stats: 0 mAH +Computed Drain: Null +Start: 50 % - End: 50 +Cc_info at the beginning: 0 mAh +Cc_info at the end: 0 mAh +Cc_info variation: 0.0 mAh + +Thread : 1 - ThreadProcess id: 17442 +---------------------------------------- +Starting time: Sat, 18 Dec 2021 23:08:58 +0100 +Core id: 3 +Ending time: Sat, 18 Dec 2021 23:18:59 +0100 - Duration: 600026 seconds +Real workload: 4.68986715851106E10 - Integer reached: 129029 - Number of reset = 0 +Battery stats: 0 mAH +Computed Drain: Null +Start: 50 % - End: 50 +Cc_info at the beginning: 0 mAh +Cc_info at the end: 0 mAh +Cc_info variation: 0.0 mAh + + +--- Counting the total workload command : print_total_workload /mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/last_tmp_expermiment_folder app_output_folder 3,0,0,3,0,0,0,0 /mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first +--- Total workload : 9.36752e+10 +--- Getting energy efficiency +--- Energy efficiency: 2.57869e-10 +--- Building what we will add to the total result file command +------ + (build_configuration_raw_result 300300-0-0 3,0,0,3,0,0,0,0 [1804800- 0- 0- 1804800- 0- 0- 0- 0] time (s): 602.680333852768 +Ins Current (mA):133.8276462408808 +Samples: 3000000 +Consumed Energy (mAs): 86961.49879005252 +Consumed Energy (mAh): 24.1559718861257 +Consumed Energy (mWs): 438222.53433645604 +Consumed Energy (mWh): 121.72848176012668 +Avg power (mW): 724.3399358849308 +Avg Current (mA): 143.6673507485517 +Avg Voltage (V): 5.041785291584301 + Thread : 0 - ThreadProcess id: 17441 +---------------------------------------- +Starting time: Sat, 18 Dec 2021 23:08:58 +0100 +Core id: 0 +Ending time: Sat, 18 Dec 2021 23:18:59 +0100 - Duration: 600020 seconds +Real workload: 4.677652317509944E10 - Integer reached: 128868 - Number of reset = 0 +Battery stats: 0 mAH +Computed Drain: Null +Start: 50 % - End: 50 +Cc_info at the beginning: 0 mAh +Cc_info at the end: 0 mAh +Cc_info variation: 0.0 mAh + +Thread : 1 - ThreadProcess id: 17442 +---------------------------------------- +Starting time: Sat, 18 Dec 2021 23:08:58 +0100 +Core id: 3 +Ending time: Sat, 18 Dec 2021 23:18:59 +0100 - Duration: 600026 seconds +Real workload: 4.68986715851106E10 - Integer reached: 129029 - Number of reset = 0 +Battery stats: 0 mAH +Computed Drain: Null +Start: 50 % - End: 50 +Cc_info at the beginning: 0 mAh +Cc_info at the end: 0 mAh +Cc_info variation: 0.0 mAh + + 24.1559718861257 9.36752e+10 2.57869e-10 0 0 +------ + +--- Final result to print to File + -------------------------------------------------------------------------------- + +++++ +++++ +++++ Configuration Description +-------------------------------------------------------------------------------- +Configuration: 300300-0-0 +phone format: 3,0,0,3,0,0,0,0 +Exact values of frequencies: [1804800- 0- 0- 1804800- 0- 0- 0- 0] + +Power meter results +------------------------------------------------------------ +time (s): 602.680333852768 +Ins Current (mA):133.8276462408808 +Samples: 3000000 +Consumed Energy (mAs): 86961.49879005252 +Consumed Energy (mAh): 24.1559718861257 +Consumed Energy (mWs): 438222.53433645604 +Consumed Energy (mWh): 121.72848176012668 +Avg power (mW): 724.3399358849308 +Avg Current (mA): 143.6673507485517 +Avg Voltage (V): 5.041785291584301 + +Threads results +------------------------------------------------------------ +Thread : 0 - ThreadProcess id: 17441 +---------------------------------------- +Starting time: Sat, 18 Dec 2021 23:08:58 +0100 +Core id: 0 +Ending time: Sat, 18 Dec 2021 23:18:59 +0100 - Duration: 600020 seconds +Real workload: 4.677652317509944E10 - Integer reached: 128868 - Number of reset = 0 +Battery stats: 0 mAH +Computed Drain: Null +Start: 50 % - End: 50 +Cc_info at the beginning: 0 mAh +Cc_info at the end: 0 mAh +Cc_info variation: 0.0 mAh + +Thread : 1 - ThreadProcess id: 17442 +---------------------------------------- +Starting time: Sat, 18 Dec 2021 23:08:58 +0100 +Core id: 3 +Ending time: Sat, 18 Dec 2021 23:18:59 +0100 - Duration: 600026 seconds +Real workload: 4.68986715851106E10 - Integer reached: 129029 - Number of reset = 0 +Battery stats: 0 mAH +Computed Drain: Null +Start: 50 % - End: 50 +Cc_info at the beginning: 0 mAh +Cc_info at the end: 0 mAh +Cc_info variation: 0.0 mAh + + +Expermiment results +------------------------------------------------------------ +Energy Consumed (mAh): 24.1559718861257 +Workload: 9.36752e+10 +Energy efficiency: 2.57869e-10 +-------------------------------------------------------------------------------- + + +--- Writing to the total result file +--- Removing previous tested configuration tmp_output folder +removed '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__04Oct22_00_52_16/app_output_folder/all_workloads.txt' +removed '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__04Oct22_00_52_16/app_output_folder/Thread_0_ended' +removed '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__04Oct22_00_52_16/app_output_folder/Thread_0_ready_for_sampling' +removed '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__04Oct22_00_52_16/app_output_folder/Thread_1_ended' +removed '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__04Oct22_00_52_16/app_output_folder/Thread_1_ready_for_sampling' +removed directory '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__04Oct22_00_52_16/app_output_folder' +removed '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__04Oct22_00_52_16/configuration_mesurement.csv' +removed '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__04Oct22_00_52_16/energy_power_workload_energyByWorkload_ccInfo' +removed '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__04Oct22_00_52_16/logcat_output' +removed '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__04Oct22_00_52_16/powermeter_summary.txt' +removed directory '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__04Oct22_00_52_16' +--- Moving the current experiment tmp_folder to the output result folder +writing a temporary file for the main script with format energy_power_workload_energyByWorkload_ccInfo +--- Obtaining experiment summary result to add to result folder +--- Experiment result, Energy consumed = 24.1559718861257 +--- Experiment result, Avg Power = 724.3399358849308 +--- Experiment result, Total Workload = 9.36752e+10 +--- Experiment result, Energy Efficiency = 2.57869e-10 +--- Adding result to summary file +--- Starting cc information : 0 +--- Ending cc information : 0 +--- The file /mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/output_folder/summary.csv exists we just appending the result to the file +--- Experiments performed on configuration 300300-0-0. +--- Observing a pause betwenn experiment; pause duration : 180 seconds; starting at 04Oct22_01_05_03 +--- Performing experiments on configuration 300300-0-0 +--- Cleaning the tmp expermiment folder : /mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/last_tmp_expermiment_folder +--- Second step : verifying the battery level +--- Verifying the battery level +--- Getting current battery level, adb command path: /mnt/c/Program Files/Android/platform-tools_r33.0.1-windows/platform-tools/adb.exe +--- Current battery level : 50 +Current battery level: OKAY +--- Third step calibrating phone core frequency +--- Resetting all frequency configurations + -- Command used : echo schedutil > /sys/devices/system/cpu/cpu1/cpufreq/scaling_governor + -- Command used : echo schedutil > /sys/devices/system/cpu/cpu2/cpufreq/scaling_governor + -- Command used : echo schedutil > /sys/devices/system/cpu/cpu3/cpufreq/scaling_governor + -- Command used : echo schedutil > /sys/devices/system/cpu/cpu4/cpufreq/scaling_governor + -- Command used : echo schedutil > /sys/devices/system/cpu/cpu5/cpufreq/scaling_governor + -- Command used : echo schedutil > /sys/devices/system/cpu/cpu6/cpufreq/scaling_governor + -- Command used : echo schedutil > /sys/devices/system/cpu/cpu7/cpufreq/scaling_governor +--- Frequency level of core 0 is 3 +--- Exact frequency of core 0: 1804800 +--- Modifying the governor of core 0 +--- Modifying the the current frequency of core 0 with frequency 1804800 +--- Frequency level of core 1 is 0 +--- Exact frequency of core 1: 0 +--- Modifying the governor of core 1 +--- Modifying the the current frequency of core 1 with frequency 0 +--- Frequency level of core 2 is 0 +--- Exact frequency of core 2: 0 +--- Modifying the governor of core 2 +--- Modifying the the current frequency of core 2 with frequency 0 +--- Frequency level of core 3 is 3 +--- Exact frequency of core 3: 1804800 +--- Modifying the governor of core 3 +--- Modifying the the current frequency of core 3 with frequency 1804800 +--- Frequency level of core 4 is 0 +--- Exact frequency of core 4: 0 +--- Modifying the governor of core 4 +--- Modifying the the current frequency of core 4 with frequency 0 +--- Frequency level of core 5 is 0 +--- Exact frequency of core 5: 0 +--- Modifying the governor of core 5 +--- Modifying the the current frequency of core 5 with frequency 0 +--- Frequency level of core 6 is 0 +--- Exact frequency of core 6: 0 +--- Modifying the governor of core 6 +--- Modifying the the current frequency of core 6 with frequency 0 +--- Frequency level of core 7 is 0 +--- Exact frequency of core 7: 0 +--- Modifying the governor of core 7 +--- Modifying the the current frequency of core 7 with frequency 0 +--- Calibrating Monsoon power meter, please wait for 10 seconds... +powermeter script : --- Inside the monsoon_power_meter, arg function: 1 +powermeter script : calibration duration = 10 +powermeter script : Creating the Monsoon engine +powermeter script : Creating the Monsoon engine +powermeter script : Configuring channels the Monsoon engine +powermeter script : Configuring output to : C:\Users\lavoi\opportunist_task_on_android\scripts_valuable_files\experiment_automatization\last_tmp_expermiment_folder\configuration_mesurement.csv +powermeter script : Starting sampling; number of sample = 50000 + returning 50000 samples after experiments +powermeter script : Power meter calibration okay +--- Monsoon power meter Calibrated +--- starting the benchmarking app +## writing the configuration inside the phone file + --- Removing file /sdcard/experiments_automatization +rm '/sdcard/experiments_automatization/current_configuration.txt' +rm '/sdcard/experiments_automatization/experiment_duration.txt' +rm '/sdcard/experiments_automatization/app_output_folder/Thread_0_ready_for_sampling' +rm '/sdcard/experiments_automatization/app_output_folder/Thread_1_ready_for_sampling' +rm '/sdcard/experiments_automatization/app_output_folder/Thread_0_ended' +rm '/sdcard/experiments_automatization/app_output_folder/Thread_1_ended' +rmdir '/sdcard/experiments_automatization/app_output_folder' +rmdir '/sdcard/experiments_automatization' + --- Clearing the logcat + --- Creating file /sdcard/experiments_automatization +----- Uninstalling experiment app +Success +----- Installing experiment app +Performing Streamed Install +Success +------ Giving rights to experiment app +----- Starting experiment app +Starting: Intent { cmp=com.opportunistask.scheduling.benchmarking_app_to_test_big_cores/.MainActivity } +adb command : ps -A | grep com.opportunistask.scheduling.benchmarking_app_to_test_big_cores + ----- Experiment app started with pid: 18246 +---- waiting for benchmarking app thread to be pinned and to be ready +--- frequency level of core 0 is 3 +--- frequency level of core 1 is 0 +--- frequency level of core 2 is 0 +--- frequency level of core 3 is 3 +--- frequency level of core 4 is 0 +--- frequency level of core 5 is 0 +--- frequency level of core 6 is 0 +--- frequency level of core 7 is 0 +--- Number of cores to occupy = 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 2 +--- Now threads are running and the phone is ready to be sampled with the power meter \n--- Threads pids +Thread_0_ready_for_sampling +Thread_1_ready_for_sampling +--- Printing cc_info beginning datas (for the samsung galaxy s8) + --- Starting power meter sampling for about 600 seconds +--- Sampling with the Monsoon power meter +powermeter script : --- Inside the monsoon_power_meter, arg function: 2 +powermeter script : Experiment duration = 600 +powermeter script : Creating the Monsoon engine +powermeter script : Creating the Monsoon engine +powermeter script : Configuring channels the Monsoon engine +powermeter script : Configuring output to : C:\Users\lavoi\opportunist_task_on_android\scripts_valuable_files\experiment_automatization\last_tmp_expermiment_folder\configuration_mesurement.csv +powermeter script : Starting sampling; number of sample = 3000000 + returning 3000000 samples after experiments +powermeter script : Total nomber of sample measured : 3000000 +powermeter script : Computing powermeter summary result + Number of samples = 3000000 +powermeter script : We computed the energy on 600 samples +powermeter script : average_power = 727.0622958983141 +powermeter script : average_power with numpy arrays = 727.0622958981596 +powermeter script : Summary Result = time (s): 601.3401176929474 +Ins Current (mA):141.19615753863033 +Samples: 3000000 +Consumed Energy (mAs): 87583.1457194329 +Consumed Energy (mAh): 24.32865158873136 +Consumed Energy (mWs): 441257.04311028466 +Consumed Energy (mWh): 122.57140086396797 +Avg power (mW): 727.0622958983141 +Avg Current (mA): 144.21760536704423 +Avg Voltage (V): 5.04142537970928 +Exp Batt Life (hrs for 1000mAh battery): NOT COMPUTED +--- Monsoon power meter sampling is finished ! + --- experiment folder path /mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/last_tmp_expermiment_folder +--- frequency level of core 0 is 3 +--- frequency level of core 1 is 0 +--- frequency level of core 2 is 0 +--- frequency level of core 3 is 3 +--- frequency level of core 4 is 0 +--- frequency level of core 5 is 0 +--- frequency level of core 6 is 0 +--- frequency level of core 7 is 0 +--- Number of threads normally started = 2 +--- Number of thread ended: 2 +--- Now threads are stopped, getting the cc_info_level for samsung +--- Copying thread results locally +command /mnt/c/Program Files/Android/platform-tools_r33.0.1-windows/platform-tools/adb.exe pull /sdcard/experiments_automatization/app_output_folder C:\Users\lavoi\opportunist_task_on_android\scripts_valuable_files\experiment_automatization\last_tmp_expermiment_folder </dev/null +/sdcard/experiments_automatization/app_output_folder/: 4 files pulled, 0 skipped. 0.0 MB/s (907 bytes in 0.029s) +saving the logcat file to /mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/last_tmp_expermiment_folder -/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/last_tmp_expermiment_folder- +--- Parsing result from /mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/last_tmp_expermiment_folder to /mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/output_folder/raw_result.txt +--- Getting exact configuration with frequency +--- Configuration with frequencies = [1804800- 0- 0- 1804800- 0- 0- 0- 0] +--- Getting the powermeter summary +--- Powermeter summary: +time (s): 601.3401176929474 +Ins Current (mA):141.19615753863033 +Samples: 3000000 +Consumed Energy (mAs): 87583.1457194329 +Consumed Energy (mAh): 24.32865158873136 +Consumed Energy (mWs): 441257.04311028466 +Consumed Energy (mWh): 122.57140086396797 +Avg power (mW): 727.0622958983141 +Avg Current (mA): 144.21760536704423 +Avg Voltage (V): 5.04142537970928 + +--- Getting the total energy consumed of the google pixel +--- Energy consumed = 24.32865158873136 +--- Starting cc_info = 0 +--- Ending cc_info = 0 +--- Getting the average power +--- Avg Power = 727.0622958983141 +--- Printing the total threads summary +--- Thread results +Thread : 0 - ThreadProcess id: 18272 +---------------------------------------- +Starting time: Sat, 18 Dec 2021 23:24:47 +0100 +Core id: 0 +Ending time: Sat, 18 Dec 2021 23:34:47 +0100 - Duration: 600009 seconds +Real workload: 4.67871382088006E10 - Integer reached: 128882 - Number of reset = 0 +Battery stats: 0 mAH +Computed Drain: Null +Start: 50 % - End: 50 +Cc_info at the beginning: 0 mAh +Cc_info at the end: 0 mAh +Cc_info variation: 0.0 mAh + +Thread : 1 - ThreadProcess id: 18273 +---------------------------------------- +Starting time: Sat, 18 Dec 2021 23:24:47 +0100 +Core id: 3 +Ending time: Sat, 18 Dec 2021 23:34:47 +0100 - Duration: 600018 seconds +Real workload: 4.698374198463936E10 - Integer reached: 129141 - Number of reset = 0 +Battery stats: 0 mAH +Computed Drain: Null +Start: 50 % - End: 50 +Cc_info at the beginning: 0 mAh +Cc_info at the end: 0 mAh +Cc_info variation: 0.0 mAh + + +--- Counting the total workload command : print_total_workload /mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/last_tmp_expermiment_folder app_output_folder 3,0,0,3,0,0,0,0 /mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first +--- Total workload : 9.37709e+10 +--- Getting energy efficiency +--- Energy efficiency: 2.59448e-10 +--- Building what we will add to the total result file command +------ + (build_configuration_raw_result 300300-0-0 3,0,0,3,0,0,0,0 [1804800- 0- 0- 1804800- 0- 0- 0- 0] time (s): 601.3401176929474 +Ins Current (mA):141.19615753863033 +Samples: 3000000 +Consumed Energy (mAs): 87583.1457194329 +Consumed Energy (mAh): 24.32865158873136 +Consumed Energy (mWs): 441257.04311028466 +Consumed Energy (mWh): 122.57140086396797 +Avg power (mW): 727.0622958983141 +Avg Current (mA): 144.21760536704423 +Avg Voltage (V): 5.04142537970928 + Thread : 0 - ThreadProcess id: 18272 +---------------------------------------- +Starting time: Sat, 18 Dec 2021 23:24:47 +0100 +Core id: 0 +Ending time: Sat, 18 Dec 2021 23:34:47 +0100 - Duration: 600009 seconds +Real workload: 4.67871382088006E10 - Integer reached: 128882 - Number of reset = 0 +Battery stats: 0 mAH +Computed Drain: Null +Start: 50 % - End: 50 +Cc_info at the beginning: 0 mAh +Cc_info at the end: 0 mAh +Cc_info variation: 0.0 mAh + +Thread : 1 - ThreadProcess id: 18273 +---------------------------------------- +Starting time: Sat, 18 Dec 2021 23:24:47 +0100 +Core id: 3 +Ending time: Sat, 18 Dec 2021 23:34:47 +0100 - Duration: 600018 seconds +Real workload: 4.698374198463936E10 - Integer reached: 129141 - Number of reset = 0 +Battery stats: 0 mAH +Computed Drain: Null +Start: 50 % - End: 50 +Cc_info at the beginning: 0 mAh +Cc_info at the end: 0 mAh +Cc_info variation: 0.0 mAh + + 24.32865158873136 9.37709e+10 2.59448e-10 0 0 +------ + +--- Final result to print to File + -------------------------------------------------------------------------------- + +++++ +++++ +++++ Configuration Description +-------------------------------------------------------------------------------- +Configuration: 300300-0-0 +phone format: 3,0,0,3,0,0,0,0 +Exact values of frequencies: [1804800- 0- 0- 1804800- 0- 0- 0- 0] + +Power meter results +------------------------------------------------------------ +time (s): 601.3401176929474 +Ins Current (mA):141.19615753863033 +Samples: 3000000 +Consumed Energy (mAs): 87583.1457194329 +Consumed Energy (mAh): 24.32865158873136 +Consumed Energy (mWs): 441257.04311028466 +Consumed Energy (mWh): 122.57140086396797 +Avg power (mW): 727.0622958983141 +Avg Current (mA): 144.21760536704423 +Avg Voltage (V): 5.04142537970928 + +Threads results +------------------------------------------------------------ +Thread : 0 - ThreadProcess id: 18272 +---------------------------------------- +Starting time: Sat, 18 Dec 2021 23:24:47 +0100 +Core id: 0 +Ending time: Sat, 18 Dec 2021 23:34:47 +0100 - Duration: 600009 seconds +Real workload: 4.67871382088006E10 - Integer reached: 128882 - Number of reset = 0 +Battery stats: 0 mAH +Computed Drain: Null +Start: 50 % - End: 50 +Cc_info at the beginning: 0 mAh +Cc_info at the end: 0 mAh +Cc_info variation: 0.0 mAh + +Thread : 1 - ThreadProcess id: 18273 +---------------------------------------- +Starting time: Sat, 18 Dec 2021 23:24:47 +0100 +Core id: 3 +Ending time: Sat, 18 Dec 2021 23:34:47 +0100 - Duration: 600018 seconds +Real workload: 4.698374198463936E10 - Integer reached: 129141 - Number of reset = 0 +Battery stats: 0 mAH +Computed Drain: Null +Start: 50 % - End: 50 +Cc_info at the beginning: 0 mAh +Cc_info at the end: 0 mAh +Cc_info variation: 0.0 mAh + + +Expermiment results +------------------------------------------------------------ +Energy Consumed (mAh): 24.32865158873136 +Workload: 9.37709e+10 +Energy efficiency: 2.59448e-10 +-------------------------------------------------------------------------------- + + +--- Writing to the total result file +--- Removing previous tested configuration tmp_output folder +removed '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__04Oct22_01_08_05/app_output_folder/all_workloads.txt' +removed '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__04Oct22_01_08_05/app_output_folder/Thread_0_ended' +removed '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__04Oct22_01_08_05/app_output_folder/Thread_0_ready_for_sampling' +removed '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__04Oct22_01_08_05/app_output_folder/Thread_1_ended' +removed '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__04Oct22_01_08_05/app_output_folder/Thread_1_ready_for_sampling' +removed directory '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__04Oct22_01_08_05/app_output_folder' +removed '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__04Oct22_01_08_05/configuration_mesurement.csv' +removed '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__04Oct22_01_08_05/energy_power_workload_energyByWorkload_ccInfo' +removed '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__04Oct22_01_08_05/logcat_output' +removed '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__04Oct22_01_08_05/powermeter_summary.txt' +removed directory '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__04Oct22_01_08_05' +--- Moving the current experiment tmp_folder to the output result folder +writing a temporary file for the main script with format energy_power_workload_energyByWorkload_ccInfo +--- Obtaining experiment summary result to add to result folder +--- Experiment result, Energy consumed = 24.32865158873136 +--- Experiment result, Avg Power = 727.0622958983141 +--- Experiment result, Total Workload = 9.37709e+10 +--- Experiment result, Energy Efficiency = 2.59448e-10 +--- Adding result to summary file +--- Starting cc information : 0 +--- Ending cc information : 0 +--- The file /mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/output_folder/summary.csv exists we just appending the result to the file +--- Experiments performed on configuration 300300-0-0. +--- Observing a pause betwenn experiment; pause duration : 180 seconds; starting at 04Oct22_01_20_50 +--- Performing experiments on configuration 300300-0-0 +--- Cleaning the tmp expermiment folder : /mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/last_tmp_expermiment_folder +--- Second step : verifying the battery level +--- Verifying the battery level +--- Getting current battery level, adb command path: /mnt/c/Program Files/Android/platform-tools_r33.0.1-windows/platform-tools/adb.exe +--- Current battery level : 50 +Current battery level: OKAY +--- Third step calibrating phone core frequency +--- Resetting all frequency configurations + -- Command used : echo schedutil > /sys/devices/system/cpu/cpu1/cpufreq/scaling_governor + -- Command used : echo schedutil > /sys/devices/system/cpu/cpu2/cpufreq/scaling_governor + -- Command used : echo schedutil > /sys/devices/system/cpu/cpu3/cpufreq/scaling_governor + -- Command used : echo schedutil > /sys/devices/system/cpu/cpu4/cpufreq/scaling_governor + -- Command used : echo schedutil > /sys/devices/system/cpu/cpu5/cpufreq/scaling_governor + -- Command used : echo schedutil > /sys/devices/system/cpu/cpu6/cpufreq/scaling_governor + -- Command used : echo schedutil > /sys/devices/system/cpu/cpu7/cpufreq/scaling_governor +--- Frequency level of core 0 is 3 +--- Exact frequency of core 0: 1804800 +--- Modifying the governor of core 0 +--- Modifying the the current frequency of core 0 with frequency 1804800 +--- Frequency level of core 1 is 0 +--- Exact frequency of core 1: 0 +--- Modifying the governor of core 1 +--- Modifying the the current frequency of core 1 with frequency 0 +--- Frequency level of core 2 is 0 +--- Exact frequency of core 2: 0 +--- Modifying the governor of core 2 +--- Modifying the the current frequency of core 2 with frequency 0 +--- Frequency level of core 3 is 3 +--- Exact frequency of core 3: 1804800 +--- Modifying the governor of core 3 +--- Modifying the the current frequency of core 3 with frequency 1804800 +--- Frequency level of core 4 is 0 +--- Exact frequency of core 4: 0 +--- Modifying the governor of core 4 +--- Modifying the the current frequency of core 4 with frequency 0 +--- Frequency level of core 5 is 0 +--- Exact frequency of core 5: 0 +--- Modifying the governor of core 5 +--- Modifying the the current frequency of core 5 with frequency 0 +--- Frequency level of core 6 is 0 +--- Exact frequency of core 6: 0 +--- Modifying the governor of core 6 +--- Modifying the the current frequency of core 6 with frequency 0 +--- Frequency level of core 7 is 0 +--- Exact frequency of core 7: 0 +--- Modifying the governor of core 7 +--- Modifying the the current frequency of core 7 with frequency 0 +--- Calibrating Monsoon power meter, please wait for 10 seconds... +powermeter script : --- Inside the monsoon_power_meter, arg function: 1 +powermeter script : calibration duration = 10 +powermeter script : Creating the Monsoon engine +powermeter script : Creating the Monsoon engine +powermeter script : Configuring channels the Monsoon engine +powermeter script : Configuring output to : C:\Users\lavoi\opportunist_task_on_android\scripts_valuable_files\experiment_automatization\last_tmp_expermiment_folder\configuration_mesurement.csv +powermeter script : Starting sampling; number of sample = 50000 + returning 50000 samples after experiments +powermeter script : Power meter calibration okay +--- Monsoon power meter Calibrated +--- starting the benchmarking app +## writing the configuration inside the phone file + --- Removing file /sdcard/experiments_automatization +rm '/sdcard/experiments_automatization/current_configuration.txt' +rm '/sdcard/experiments_automatization/experiment_duration.txt' +rm '/sdcard/experiments_automatization/app_output_folder/Thread_0_ready_for_sampling' +rm '/sdcard/experiments_automatization/app_output_folder/Thread_1_ready_for_sampling' +rm '/sdcard/experiments_automatization/app_output_folder/Thread_0_ended' +rm '/sdcard/experiments_automatization/app_output_folder/Thread_1_ended' +rmdir '/sdcard/experiments_automatization/app_output_folder' +rmdir '/sdcard/experiments_automatization' + --- Clearing the logcat + --- Creating file /sdcard/experiments_automatization +----- Uninstalling experiment app +Success +----- Installing experiment app +Performing Streamed Install +Success +------ Giving rights to experiment app +----- Starting experiment app +Starting: Intent { cmp=com.opportunistask.scheduling.benchmarking_app_to_test_big_cores/.MainActivity } +adb command : ps -A | grep com.opportunistask.scheduling.benchmarking_app_to_test_big_cores + ----- Experiment app started with pid: 19079 +---- waiting for benchmarking app thread to be pinned and to be ready +--- frequency level of core 0 is 3 +--- frequency level of core 1 is 0 +--- frequency level of core 2 is 0 +--- frequency level of core 3 is 3 +--- frequency level of core 4 is 0 +--- frequency level of core 5 is 0 +--- frequency level of core 6 is 0 +--- frequency level of core 7 is 0 +--- Number of cores to occupy = 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 2 +--- Now threads are running and the phone is ready to be sampled with the power meter \n--- Threads pids +Thread_0_ready_for_sampling +Thread_1_ready_for_sampling +--- Printing cc_info beginning datas (for the samsung galaxy s8) + --- Starting power meter sampling for about 600 seconds +--- Sampling with the Monsoon power meter +powermeter script : --- Inside the monsoon_power_meter, arg function: 2 +powermeter script : Experiment duration = 600 +powermeter script : Creating the Monsoon engine +powermeter script : Creating the Monsoon engine +powermeter script : Configuring channels the Monsoon engine +powermeter script : Configuring output to : C:\Users\lavoi\opportunist_task_on_android\scripts_valuable_files\experiment_automatization\last_tmp_expermiment_folder\configuration_mesurement.csv +powermeter script : Starting sampling; number of sample = 3000000 + returning 3000000 samples after experiments +powermeter script : Total nomber of sample measured : 3000000 +powermeter script : Computing powermeter summary result + Number of samples = 3000000 +powermeter script : We computed the energy on 600 samples +powermeter script : average_power = 719.868752090157 +powermeter script : average_power with numpy arrays = 719.8687520901208 +powermeter script : Summary Result = time (s): 601.4735112190247 +Ins Current (mA):142.01852571428572 +Samples: 3000000 +Consumed Energy (mAs): 84738.12918419804 +Consumed Energy (mAh): 23.538369217832788 +Consumed Energy (mWs): 427367.9139299135 +Consumed Energy (mWh): 118.71330942497596 +Avg power (mW): 719.868752090157 +Avg Current (mA): 142.75725414387662 +Avg Voltage (V): 5.042607161417127 +Exp Batt Life (hrs for 1000mAh battery): NOT COMPUTED +--- Monsoon power meter sampling is finished ! + --- experiment folder path /mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/last_tmp_expermiment_folder +--- frequency level of core 0 is 3 +--- frequency level of core 1 is 0 +--- frequency level of core 2 is 0 +--- frequency level of core 3 is 3 +--- frequency level of core 4 is 0 +--- frequency level of core 5 is 0 +--- frequency level of core 6 is 0 +--- frequency level of core 7 is 0 +--- Number of threads normally started = 2 +--- Number of thread ended: 2 +--- Now threads are stopped, getting the cc_info_level for samsung +--- Copying thread results locally +command /mnt/c/Program Files/Android/platform-tools_r33.0.1-windows/platform-tools/adb.exe pull /sdcard/experiments_automatization/app_output_folder C:\Users\lavoi\opportunist_task_on_android\scripts_valuable_files\experiment_automatization\last_tmp_expermiment_folder </dev/null +/sdcard/experiments_automatization/app_output_folder/: 4 files pulled, 0 skipped. 0.0 MB/s (908 bytes in 0.031s) +saving the logcat file to /mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/last_tmp_expermiment_folder -/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/last_tmp_expermiment_folder- +--- Parsing result from /mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/last_tmp_expermiment_folder to /mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/output_folder/raw_result.txt +--- Getting exact configuration with frequency +--- Configuration with frequencies = [1804800- 0- 0- 1804800- 0- 0- 0- 0] +--- Getting the powermeter summary +--- Powermeter summary: +time (s): 601.4735112190247 +Ins Current (mA):142.01852571428572 +Samples: 3000000 +Consumed Energy (mAs): 84738.12918419804 +Consumed Energy (mAh): 23.538369217832788 +Consumed Energy (mWs): 427367.9139299135 +Consumed Energy (mWh): 118.71330942497596 +Avg power (mW): 719.868752090157 +Avg Current (mA): 142.75725414387662 +Avg Voltage (V): 5.042607161417127 + +--- Getting the total energy consumed of the google pixel +--- Energy consumed = 23.538369217832788 +--- Starting cc_info = 0 +--- Ending cc_info = 0 +--- Getting the average power +--- Avg Power = 719.868752090157 +--- Printing the total threads summary +--- Thread results +Thread : 0 - ThreadProcess id: 19105 +---------------------------------------- +Starting time: Sat, 18 Dec 2021 23:40:35 +0100 +Core id: 0 +Ending time: Sat, 18 Dec 2021 23:50:35 +0100 - Duration: 600011 seconds +Real workload: 4.692524747876349E10 - Integer reached: 129064 - Number of reset = 0 +Battery stats: 0 mAH +Computed Drain: Null +Start: 50 % - End: 50 +Cc_info at the beginning: 0 mAh +Cc_info at the end: 0 mAh +Cc_info variation: 0.0 mAh + +Thread : 1 - ThreadProcess id: 19106 +---------------------------------------- +Starting time: Sat, 18 Dec 2021 23:40:35 +0100 +Core id: 3 +Ending time: Sat, 18 Dec 2021 23:50:35 +0100 - Duration: 600020 seconds +Real workload: 4.687286248483988E10 - Integer reached: 128995 - Number of reset = 0 +Battery stats: 0 mAH +Computed Drain: Null +Start: 50 % - End: 50 +Cc_info at the beginning: 0 mAh +Cc_info at the end: 0 mAh +Cc_info variation: 0.0 mAh + + +--- Counting the total workload command : print_total_workload /mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/last_tmp_expermiment_folder app_output_folder 3,0,0,3,0,0,0,0 /mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first +--- Total workload : 9.37981e+10 +--- Getting energy efficiency +--- Energy efficiency: 2.50947e-10 +--- Building what we will add to the total result file command +------ + (build_configuration_raw_result 300300-0-0 3,0,0,3,0,0,0,0 [1804800- 0- 0- 1804800- 0- 0- 0- 0] time (s): 601.4735112190247 +Ins Current (mA):142.01852571428572 +Samples: 3000000 +Consumed Energy (mAs): 84738.12918419804 +Consumed Energy (mAh): 23.538369217832788 +Consumed Energy (mWs): 427367.9139299135 +Consumed Energy (mWh): 118.71330942497596 +Avg power (mW): 719.868752090157 +Avg Current (mA): 142.75725414387662 +Avg Voltage (V): 5.042607161417127 + Thread : 0 - ThreadProcess id: 19105 +---------------------------------------- +Starting time: Sat, 18 Dec 2021 23:40:35 +0100 +Core id: 0 +Ending time: Sat, 18 Dec 2021 23:50:35 +0100 - Duration: 600011 seconds +Real workload: 4.692524747876349E10 - Integer reached: 129064 - Number of reset = 0 +Battery stats: 0 mAH +Computed Drain: Null +Start: 50 % - End: 50 +Cc_info at the beginning: 0 mAh +Cc_info at the end: 0 mAh +Cc_info variation: 0.0 mAh + +Thread : 1 - ThreadProcess id: 19106 +---------------------------------------- +Starting time: Sat, 18 Dec 2021 23:40:35 +0100 +Core id: 3 +Ending time: Sat, 18 Dec 2021 23:50:35 +0100 - Duration: 600020 seconds +Real workload: 4.687286248483988E10 - Integer reached: 128995 - Number of reset = 0 +Battery stats: 0 mAH +Computed Drain: Null +Start: 50 % - End: 50 +Cc_info at the beginning: 0 mAh +Cc_info at the end: 0 mAh +Cc_info variation: 0.0 mAh + + 23.538369217832788 9.37981e+10 2.50947e-10 0 0 +------ + +--- Final result to print to File + -------------------------------------------------------------------------------- + +++++ +++++ +++++ Configuration Description +-------------------------------------------------------------------------------- +Configuration: 300300-0-0 +phone format: 3,0,0,3,0,0,0,0 +Exact values of frequencies: [1804800- 0- 0- 1804800- 0- 0- 0- 0] + +Power meter results +------------------------------------------------------------ +time (s): 601.4735112190247 +Ins Current (mA):142.01852571428572 +Samples: 3000000 +Consumed Energy (mAs): 84738.12918419804 +Consumed Energy (mAh): 23.538369217832788 +Consumed Energy (mWs): 427367.9139299135 +Consumed Energy (mWh): 118.71330942497596 +Avg power (mW): 719.868752090157 +Avg Current (mA): 142.75725414387662 +Avg Voltage (V): 5.042607161417127 + +Threads results +------------------------------------------------------------ +Thread : 0 - ThreadProcess id: 19105 +---------------------------------------- +Starting time: Sat, 18 Dec 2021 23:40:35 +0100 +Core id: 0 +Ending time: Sat, 18 Dec 2021 23:50:35 +0100 - Duration: 600011 seconds +Real workload: 4.692524747876349E10 - Integer reached: 129064 - Number of reset = 0 +Battery stats: 0 mAH +Computed Drain: Null +Start: 50 % - End: 50 +Cc_info at the beginning: 0 mAh +Cc_info at the end: 0 mAh +Cc_info variation: 0.0 mAh + +Thread : 1 - ThreadProcess id: 19106 +---------------------------------------- +Starting time: Sat, 18 Dec 2021 23:40:35 +0100 +Core id: 3 +Ending time: Sat, 18 Dec 2021 23:50:35 +0100 - Duration: 600020 seconds +Real workload: 4.687286248483988E10 - Integer reached: 128995 - Number of reset = 0 +Battery stats: 0 mAH +Computed Drain: Null +Start: 50 % - End: 50 +Cc_info at the beginning: 0 mAh +Cc_info at the end: 0 mAh +Cc_info variation: 0.0 mAh + + +Expermiment results +------------------------------------------------------------ +Energy Consumed (mAh): 23.538369217832788 +Workload: 9.37981e+10 +Energy efficiency: 2.50947e-10 +-------------------------------------------------------------------------------- + + +--- Writing to the total result file +--- Removing previous tested configuration tmp_output folder +removed '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__04Oct22_01_23_52/app_output_folder/all_workloads.txt' +removed '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__04Oct22_01_23_52/app_output_folder/Thread_0_ended' +removed '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__04Oct22_01_23_52/app_output_folder/Thread_0_ready_for_sampling' +removed '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__04Oct22_01_23_52/app_output_folder/Thread_1_ended' +removed '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__04Oct22_01_23_52/app_output_folder/Thread_1_ready_for_sampling' +removed directory '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__04Oct22_01_23_52/app_output_folder' +removed '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__04Oct22_01_23_52/configuration_mesurement.csv' +removed '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__04Oct22_01_23_52/energy_power_workload_energyByWorkload_ccInfo' +removed '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__04Oct22_01_23_52/logcat_output' +removed '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__04Oct22_01_23_52/powermeter_summary.txt' +removed directory '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__04Oct22_01_23_52' +--- Moving the current experiment tmp_folder to the output result folder +writing a temporary file for the main script with format energy_power_workload_energyByWorkload_ccInfo +--- Obtaining experiment summary result to add to result folder +--- Experiment result, Energy consumed = 23.538369217832788 +--- Experiment result, Avg Power = 719.868752090157 +--- Experiment result, Total Workload = 9.37981e+10 +--- Experiment result, Energy Efficiency = 2.50947e-10 +--- Adding result to summary file +--- Starting cc information : 0 +--- Ending cc information : 0 +--- The file /mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/output_folder/summary.csv exists we just appending the result to the file +--- Experiments performed on configuration 300300-0-0. +--- Observing a pause betwenn experiment; pause duration : 180 seconds; starting at 04Oct22_01_36_39 +--- Performing experiments on configuration 303000-0-0 +--- Cleaning the tmp expermiment folder : /mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/last_tmp_expermiment_folder +--- Second step : verifying the battery level +--- Verifying the battery level +--- Getting current battery level, adb command path: /mnt/c/Program Files/Android/platform-tools_r33.0.1-windows/platform-tools/adb.exe +--- Current battery level : 50 +Current battery level: OKAY +--- Third step calibrating phone core frequency +--- Resetting all frequency configurations + -- Command used : echo schedutil > /sys/devices/system/cpu/cpu1/cpufreq/scaling_governor + -- Command used : echo schedutil > /sys/devices/system/cpu/cpu2/cpufreq/scaling_governor + -- Command used : echo schedutil > /sys/devices/system/cpu/cpu3/cpufreq/scaling_governor + -- Command used : echo schedutil > /sys/devices/system/cpu/cpu4/cpufreq/scaling_governor + -- Command used : echo schedutil > /sys/devices/system/cpu/cpu5/cpufreq/scaling_governor + -- Command used : echo schedutil > /sys/devices/system/cpu/cpu6/cpufreq/scaling_governor + -- Command used : echo schedutil > /sys/devices/system/cpu/cpu7/cpufreq/scaling_governor +--- Frequency level of core 0 is 3 +--- Exact frequency of core 0: 1804800 +--- Modifying the governor of core 0 +--- Modifying the the current frequency of core 0 with frequency 1804800 +--- Frequency level of core 1 is 0 +--- Exact frequency of core 1: 0 +--- Modifying the governor of core 1 +--- Modifying the the current frequency of core 1 with frequency 0 +--- Frequency level of core 2 is 3 +--- Exact frequency of core 2: 1804800 +--- Modifying the governor of core 2 +--- Modifying the the current frequency of core 2 with frequency 1804800 +--- Frequency level of core 3 is 0 +--- Exact frequency of core 3: 0 +--- Modifying the governor of core 3 +--- Modifying the the current frequency of core 3 with frequency 0 +--- Frequency level of core 4 is 0 +--- Exact frequency of core 4: 0 +--- Modifying the governor of core 4 +--- Modifying the the current frequency of core 4 with frequency 0 +--- Frequency level of core 5 is 0 +--- Exact frequency of core 5: 0 +--- Modifying the governor of core 5 +--- Modifying the the current frequency of core 5 with frequency 0 +--- Frequency level of core 6 is 0 +--- Exact frequency of core 6: 0 +--- Modifying the governor of core 6 +--- Modifying the the current frequency of core 6 with frequency 0 +--- Frequency level of core 7 is 0 +--- Exact frequency of core 7: 0 +--- Modifying the governor of core 7 +--- Modifying the the current frequency of core 7 with frequency 0 +--- Calibrating Monsoon power meter, please wait for 10 seconds... +powermeter script : --- Inside the monsoon_power_meter, arg function: 1 +powermeter script : calibration duration = 10 +powermeter script : Creating the Monsoon engine +powermeter script : Creating the Monsoon engine +powermeter script : Configuring channels the Monsoon engine +powermeter script : Configuring output to : C:\Users\lavoi\opportunist_task_on_android\scripts_valuable_files\experiment_automatization\last_tmp_expermiment_folder\configuration_mesurement.csv +powermeter script : Starting sampling; number of sample = 50000 + returning 50000 samples after experiments +powermeter script : Power meter calibration okay +--- Monsoon power meter Calibrated +--- starting the benchmarking app +## writing the configuration inside the phone file + --- Removing file /sdcard/experiments_automatization +rm '/sdcard/experiments_automatization/current_configuration.txt' +rm '/sdcard/experiments_automatization/experiment_duration.txt' +rm '/sdcard/experiments_automatization/app_output_folder/Thread_0_ready_for_sampling' +rm '/sdcard/experiments_automatization/app_output_folder/Thread_1_ready_for_sampling' +rm '/sdcard/experiments_automatization/app_output_folder/Thread_0_ended' +rm '/sdcard/experiments_automatization/app_output_folder/Thread_1_ended' +rmdir '/sdcard/experiments_automatization/app_output_folder' +rmdir '/sdcard/experiments_automatization' + --- Clearing the logcat + --- Creating file /sdcard/experiments_automatization +----- Uninstalling experiment app +Success +----- Installing experiment app +Performing Streamed Install +Success +------ Giving rights to experiment app +----- Starting experiment app +Starting: Intent { cmp=com.opportunistask.scheduling.benchmarking_app_to_test_big_cores/.MainActivity } +adb command : ps -A | grep com.opportunistask.scheduling.benchmarking_app_to_test_big_cores + ----- Experiment app started with pid: 19911 +---- waiting for benchmarking app thread to be pinned and to be ready +--- frequency level of core 0 is 3 +--- frequency level of core 1 is 0 +--- frequency level of core 2 is 3 +--- frequency level of core 3 is 0 +--- frequency level of core 4 is 0 +--- frequency level of core 5 is 0 +--- frequency level of core 6 is 0 +--- frequency level of core 7 is 0 +--- Number of cores to occupy = 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 2 +--- Now threads are running and the phone is ready to be sampled with the power meter \n--- Threads pids +Thread_0_ready_for_sampling +Thread_1_ready_for_sampling +--- Printing cc_info beginning datas (for the samsung galaxy s8) + --- Starting power meter sampling for about 600 seconds +--- Sampling with the Monsoon power meter +powermeter script : --- Inside the monsoon_power_meter, arg function: 2 +powermeter script : Experiment duration = 600 +powermeter script : Creating the Monsoon engine +powermeter script : Creating the Monsoon engine +powermeter script : Configuring channels the Monsoon engine +powermeter script : Configuring output to : C:\Users\lavoi\opportunist_task_on_android\scripts_valuable_files\experiment_automatization\last_tmp_expermiment_folder\configuration_mesurement.csv +powermeter script : Starting sampling; number of sample = 3000000 + returning 3000000 samples after experiments +powermeter script : Total nomber of sample measured : 3000000 +powermeter script : Computing powermeter summary result + Number of samples = 3000000 +powermeter script : We computed the energy on 600 samples +powermeter script : average_power = 721.217272312583 +powermeter script : average_power with numpy arrays = 721.2172723124717 +powermeter script : Summary Result = time (s): 601.2847607135773 +Ins Current (mA):129.8671446422041 +Samples: 3000000 +Consumed Energy (mAs): 85923.65850865762 +Consumed Energy (mAh): 23.867682919071562 +Consumed Energy (mWs): 433107.3702893882 +Consumed Energy (mWh): 120.30760285816338 +Avg power (mW): 721.217272312583 +Avg Current (mA): 143.0281164732539 +Avg Voltage (V): 5.042485981750657 +Exp Batt Life (hrs for 1000mAh battery): NOT COMPUTED +--- Monsoon power meter sampling is finished ! + --- experiment folder path /mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/last_tmp_expermiment_folder +--- frequency level of core 0 is 3 +--- frequency level of core 1 is 0 +--- frequency level of core 2 is 3 +--- frequency level of core 3 is 0 +--- frequency level of core 4 is 0 +--- frequency level of core 5 is 0 +--- frequency level of core 6 is 0 +--- frequency level of core 7 is 0 +--- Number of threads normally started = 2 +--- Number of thread ended: 2 +--- Now threads are stopped, getting the cc_info_level for samsung +--- Copying thread results locally +command /mnt/c/Program Files/Android/platform-tools_r33.0.1-windows/platform-tools/adb.exe pull /sdcard/experiments_automatization/app_output_folder C:\Users\lavoi\opportunist_task_on_android\scripts_valuable_files\experiment_automatization\last_tmp_expermiment_folder </dev/null +/sdcard/experiments_automatization/app_output_folder/: 4 files pulled, 0 skipped. 0.0 MB/s (907 bytes in 0.049s) +saving the logcat file to /mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/last_tmp_expermiment_folder -/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/last_tmp_expermiment_folder- +--- Parsing result from /mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/last_tmp_expermiment_folder to /mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/output_folder/raw_result.txt +--- Getting exact configuration with frequency +--- Configuration with frequencies = [1804800- 0- 1804800- 0- 0- 0- 0- 0] +--- Getting the powermeter summary +--- Powermeter summary: +time (s): 601.2847607135773 +Ins Current (mA):129.8671446422041 +Samples: 3000000 +Consumed Energy (mAs): 85923.65850865762 +Consumed Energy (mAh): 23.867682919071562 +Consumed Energy (mWs): 433107.3702893882 +Consumed Energy (mWh): 120.30760285816338 +Avg power (mW): 721.217272312583 +Avg Current (mA): 143.0281164732539 +Avg Voltage (V): 5.042485981750657 + +--- Getting the total energy consumed of the google pixel +--- Energy consumed = 23.867682919071562 +--- Starting cc_info = 0 +--- Ending cc_info = 0 +--- Getting the average power +--- Avg Power = 721.217272312583 +--- Printing the total threads summary +--- Thread results +Thread : 0 - ThreadProcess id: 19936 +---------------------------------------- +Starting time: Sat, 18 Dec 2021 23:56:23 +0100 +Core id: 0 +Ending time: Sun, 19 Dec 2021 00:06:24 +0100 - Duration: 600017 seconds +Real workload: 4.665226882718767E10 - Integer reached: 128704 - Number of reset = 0 +Battery stats: 0 mAH +Computed Drain: Null +Start: 50 % - End: 50 +Cc_info at the beginning: 0 mAh +Cc_info at the end: 0 mAh +Cc_info variation: 0.0 mAh + +Thread : 1 - ThreadProcess id: 19937 +---------------------------------------- +Starting time: Sat, 18 Dec 2021 23:56:23 +0100 +Core id: 2 +Ending time: Sun, 19 Dec 2021 00:06:24 +0100 - Duration: 600007 seconds +Real workload: 4.70460764506765E10 - Integer reached: 129223 - Number of reset = 0 +Battery stats: 0 mAH +Computed Drain: Null +Start: 50 % - End: 50 +Cc_info at the beginning: 0 mAh +Cc_info at the end: 0 mAh +Cc_info variation: 0.0 mAh + + +--- Counting the total workload command : print_total_workload /mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/last_tmp_expermiment_folder app_output_folder 3,0,3,0,0,0,0,0 /mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first +--- Total workload : 9.36983e+10 +--- Getting energy efficiency +--- Energy efficiency: 2.54729e-10 +--- Building what we will add to the total result file command +------ + (build_configuration_raw_result 303000-0-0 3,0,3,0,0,0,0,0 [1804800- 0- 1804800- 0- 0- 0- 0- 0] time (s): 601.2847607135773 +Ins Current (mA):129.8671446422041 +Samples: 3000000 +Consumed Energy (mAs): 85923.65850865762 +Consumed Energy (mAh): 23.867682919071562 +Consumed Energy (mWs): 433107.3702893882 +Consumed Energy (mWh): 120.30760285816338 +Avg power (mW): 721.217272312583 +Avg Current (mA): 143.0281164732539 +Avg Voltage (V): 5.042485981750657 + Thread : 0 - ThreadProcess id: 19936 +---------------------------------------- +Starting time: Sat, 18 Dec 2021 23:56:23 +0100 +Core id: 0 +Ending time: Sun, 19 Dec 2021 00:06:24 +0100 - Duration: 600017 seconds +Real workload: 4.665226882718767E10 - Integer reached: 128704 - Number of reset = 0 +Battery stats: 0 mAH +Computed Drain: Null +Start: 50 % - End: 50 +Cc_info at the beginning: 0 mAh +Cc_info at the end: 0 mAh +Cc_info variation: 0.0 mAh + +Thread : 1 - ThreadProcess id: 19937 +---------------------------------------- +Starting time: Sat, 18 Dec 2021 23:56:23 +0100 +Core id: 2 +Ending time: Sun, 19 Dec 2021 00:06:24 +0100 - Duration: 600007 seconds +Real workload: 4.70460764506765E10 - Integer reached: 129223 - Number of reset = 0 +Battery stats: 0 mAH +Computed Drain: Null +Start: 50 % - End: 50 +Cc_info at the beginning: 0 mAh +Cc_info at the end: 0 mAh +Cc_info variation: 0.0 mAh + + 23.867682919071562 9.36983e+10 2.54729e-10 0 0 +------ + +--- Final result to print to File + -------------------------------------------------------------------------------- + +++++ +++++ +++++ Configuration Description +-------------------------------------------------------------------------------- +Configuration: 303000-0-0 +phone format: 3,0,3,0,0,0,0,0 +Exact values of frequencies: [1804800- 0- 1804800- 0- 0- 0- 0- 0] + +Power meter results +------------------------------------------------------------ +time (s): 601.2847607135773 +Ins Current (mA):129.8671446422041 +Samples: 3000000 +Consumed Energy (mAs): 85923.65850865762 +Consumed Energy (mAh): 23.867682919071562 +Consumed Energy (mWs): 433107.3702893882 +Consumed Energy (mWh): 120.30760285816338 +Avg power (mW): 721.217272312583 +Avg Current (mA): 143.0281164732539 +Avg Voltage (V): 5.042485981750657 + +Threads results +------------------------------------------------------------ +Thread : 0 - ThreadProcess id: 19936 +---------------------------------------- +Starting time: Sat, 18 Dec 2021 23:56:23 +0100 +Core id: 0 +Ending time: Sun, 19 Dec 2021 00:06:24 +0100 - Duration: 600017 seconds +Real workload: 4.665226882718767E10 - Integer reached: 128704 - Number of reset = 0 +Battery stats: 0 mAH +Computed Drain: Null +Start: 50 % - End: 50 +Cc_info at the beginning: 0 mAh +Cc_info at the end: 0 mAh +Cc_info variation: 0.0 mAh + +Thread : 1 - ThreadProcess id: 19937 +---------------------------------------- +Starting time: Sat, 18 Dec 2021 23:56:23 +0100 +Core id: 2 +Ending time: Sun, 19 Dec 2021 00:06:24 +0100 - Duration: 600007 seconds +Real workload: 4.70460764506765E10 - Integer reached: 129223 - Number of reset = 0 +Battery stats: 0 mAH +Computed Drain: Null +Start: 50 % - End: 50 +Cc_info at the beginning: 0 mAh +Cc_info at the end: 0 mAh +Cc_info variation: 0.0 mAh + + +Expermiment results +------------------------------------------------------------ +Energy Consumed (mAh): 23.867682919071562 +Workload: 9.36983e+10 +Energy efficiency: 2.54729e-10 +-------------------------------------------------------------------------------- + + +--- Writing to the total result file +--- Removing previous tested configuration tmp_output folder +removed '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__04Oct22_01_39_41/app_output_folder/all_workloads.txt' +removed '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__04Oct22_01_39_41/app_output_folder/Thread_0_ended' +removed '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__04Oct22_01_39_41/app_output_folder/Thread_0_ready_for_sampling' +removed '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__04Oct22_01_39_41/app_output_folder/Thread_1_ended' +removed '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__04Oct22_01_39_41/app_output_folder/Thread_1_ready_for_sampling' +removed directory '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__04Oct22_01_39_41/app_output_folder' +removed '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__04Oct22_01_39_41/configuration_mesurement.csv' +removed '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__04Oct22_01_39_41/energy_power_workload_energyByWorkload_ccInfo' +removed '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__04Oct22_01_39_41/logcat_output' +removed '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__04Oct22_01_39_41/powermeter_summary.txt' +removed directory '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__04Oct22_01_39_41' +--- Moving the current experiment tmp_folder to the output result folder +writing a temporary file for the main script with format energy_power_workload_energyByWorkload_ccInfo +--- Obtaining experiment summary result to add to result folder +--- Experiment result, Energy consumed = 23.867682919071562 +--- Experiment result, Avg Power = 721.217272312583 +--- Experiment result, Total Workload = 9.36983e+10 +--- Experiment result, Energy Efficiency = 2.54729e-10 +--- Adding result to summary file +--- Starting cc information : 0 +--- Ending cc information : 0 +--- The file /mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/output_folder/summary.csv exists we just appending the result to the file +--- Experiments performed on configuration 303000-0-0. +--- Observing a pause betwenn experiment; pause duration : 180 seconds; starting at 04Oct22_01_52_27 +--- Performing experiments on configuration 303000-0-0 +--- Cleaning the tmp expermiment folder : /mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/last_tmp_expermiment_folder +--- Second step : verifying the battery level +--- Verifying the battery level +--- Getting current battery level, adb command path: /mnt/c/Program Files/Android/platform-tools_r33.0.1-windows/platform-tools/adb.exe +--- Current battery level : 50 +Current battery level: OKAY +--- Third step calibrating phone core frequency +--- Resetting all frequency configurations + -- Command used : echo schedutil > /sys/devices/system/cpu/cpu1/cpufreq/scaling_governor + -- Command used : echo schedutil > /sys/devices/system/cpu/cpu2/cpufreq/scaling_governor + -- Command used : echo schedutil > /sys/devices/system/cpu/cpu3/cpufreq/scaling_governor + -- Command used : echo schedutil > /sys/devices/system/cpu/cpu4/cpufreq/scaling_governor + -- Command used : echo schedutil > /sys/devices/system/cpu/cpu5/cpufreq/scaling_governor + -- Command used : echo schedutil > /sys/devices/system/cpu/cpu6/cpufreq/scaling_governor + -- Command used : echo schedutil > /sys/devices/system/cpu/cpu7/cpufreq/scaling_governor +--- Frequency level of core 0 is 3 +--- Exact frequency of core 0: 1804800 +--- Modifying the governor of core 0 +--- Modifying the the current frequency of core 0 with frequency 1804800 +--- Frequency level of core 1 is 0 +--- Exact frequency of core 1: 0 +--- Modifying the governor of core 1 +--- Modifying the the current frequency of core 1 with frequency 0 +--- Frequency level of core 2 is 3 +--- Exact frequency of core 2: 1804800 +--- Modifying the governor of core 2 +--- Modifying the the current frequency of core 2 with frequency 1804800 +--- Frequency level of core 3 is 0 +--- Exact frequency of core 3: 0 +--- Modifying the governor of core 3 +--- Modifying the the current frequency of core 3 with frequency 0 +--- Frequency level of core 4 is 0 +--- Exact frequency of core 4: 0 +--- Modifying the governor of core 4 +--- Modifying the the current frequency of core 4 with frequency 0 +--- Frequency level of core 5 is 0 +--- Exact frequency of core 5: 0 +--- Modifying the governor of core 5 +--- Modifying the the current frequency of core 5 with frequency 0 +--- Frequency level of core 6 is 0 +--- Exact frequency of core 6: 0 +--- Modifying the governor of core 6 +--- Modifying the the current frequency of core 6 with frequency 0 +--- Frequency level of core 7 is 0 +--- Exact frequency of core 7: 0 +--- Modifying the governor of core 7 +--- Modifying the the current frequency of core 7 with frequency 0 +--- Calibrating Monsoon power meter, please wait for 10 seconds... +powermeter script : --- Inside the monsoon_power_meter, arg function: 1 +powermeter script : calibration duration = 10 +powermeter script : Creating the Monsoon engine +powermeter script : Creating the Monsoon engine +powermeter script : Configuring channels the Monsoon engine +powermeter script : Configuring output to : C:\Users\lavoi\opportunist_task_on_android\scripts_valuable_files\experiment_automatization\last_tmp_expermiment_folder\configuration_mesurement.csv +powermeter script : Starting sampling; number of sample = 50000 + returning 50000 samples after experiments +powermeter script : Power meter calibration okay +--- Monsoon power meter Calibrated +--- starting the benchmarking app +## writing the configuration inside the phone file + --- Removing file /sdcard/experiments_automatization +rm '/sdcard/experiments_automatization/current_configuration.txt' +rm '/sdcard/experiments_automatization/experiment_duration.txt' +rm '/sdcard/experiments_automatization/app_output_folder/Thread_1_ready_for_sampling' +rm '/sdcard/experiments_automatization/app_output_folder/Thread_0_ready_for_sampling' +rm '/sdcard/experiments_automatization/app_output_folder/Thread_1_ended' +rm '/sdcard/experiments_automatization/app_output_folder/Thread_0_ended' +rmdir '/sdcard/experiments_automatization/app_output_folder' +rmdir '/sdcard/experiments_automatization' + --- Clearing the logcat + --- Creating file /sdcard/experiments_automatization +----- Uninstalling experiment app +Success +----- Installing experiment app +Performing Streamed Install +Success +------ Giving rights to experiment app +----- Starting experiment app +Starting: Intent { cmp=com.opportunistask.scheduling.benchmarking_app_to_test_big_cores/.MainActivity } +adb command : ps -A | grep com.opportunistask.scheduling.benchmarking_app_to_test_big_cores + ----- Experiment app started with pid: 20744 +---- waiting for benchmarking app thread to be pinned and to be ready +--- frequency level of core 0 is 3 +--- frequency level of core 1 is 0 +--- frequency level of core 2 is 3 +--- frequency level of core 3 is 0 +--- frequency level of core 4 is 0 +--- frequency level of core 5 is 0 +--- frequency level of core 6 is 0 +--- frequency level of core 7 is 0 +--- Number of cores to occupy = 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 2 +--- Now threads are running and the phone is ready to be sampled with the power meter \n--- Threads pids +Thread_0_ready_for_sampling +Thread_1_ready_for_sampling +--- Printing cc_info beginning datas (for the samsung galaxy s8) + --- Starting power meter sampling for about 600 seconds +--- Sampling with the Monsoon power meter +powermeter script : --- Inside the monsoon_power_meter, arg function: 2 +powermeter script : Experiment duration = 600 +powermeter script : Creating the Monsoon engine +powermeter script : Creating the Monsoon engine +powermeter script : Configuring channels the Monsoon engine +powermeter script : Configuring output to : C:\Users\lavoi\opportunist_task_on_android\scripts_valuable_files\experiment_automatization\last_tmp_expermiment_folder\configuration_mesurement.csv +powermeter script : Starting sampling; number of sample = 3000000 + returning 3000000 samples after experiments +powermeter script : Total nomber of sample measured : 3000000 +powermeter script : Computing powermeter summary result + Number of samples = 3000000 +powermeter script : We computed the energy on 600 samples +powermeter script : average_power = 715.5813654301581 +powermeter script : average_power with numpy arrays = 715.58136543007 +powermeter script : Summary Result = time (s): 601.170975446701 +Ins Current (mA):132.21891428571428 +Samples: 3000000 +Consumed Energy (mAs): 85843.71805932313 +Consumed Energy (mAh): 23.84547723870087 +Consumed Energy (mWs): 432728.28880147374 +Consumed Energy (mWh): 120.20230244485381 +Avg power (mW): 715.5813654301581 +Avg Current (mA): 141.888628473354 +Avg Voltage (V): 5.043260852750725 +Exp Batt Life (hrs for 1000mAh battery): NOT COMPUTED +--- Monsoon power meter sampling is finished ! + --- experiment folder path /mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/last_tmp_expermiment_folder +--- frequency level of core 0 is 3 +--- frequency level of core 1 is 0 +--- frequency level of core 2 is 3 +--- frequency level of core 3 is 0 +--- frequency level of core 4 is 0 +--- frequency level of core 5 is 0 +--- frequency level of core 6 is 0 +--- frequency level of core 7 is 0 +--- Number of threads normally started = 2 +--- Number of thread ended: 2 +--- Now threads are stopped, getting the cc_info_level for samsung +--- Copying thread results locally +command /mnt/c/Program Files/Android/platform-tools_r33.0.1-windows/platform-tools/adb.exe pull /sdcard/experiments_automatization/app_output_folder C:\Users\lavoi\opportunist_task_on_android\scripts_valuable_files\experiment_automatization\last_tmp_expermiment_folder </dev/null +/sdcard/experiments_automatization/app_output_folder/: 4 files pulled, 0 skipped. 0.0 MB/s (909 bytes in 0.045s) +saving the logcat file to /mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/last_tmp_expermiment_folder -/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/last_tmp_expermiment_folder- +--- Parsing result from /mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/last_tmp_expermiment_folder to /mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/output_folder/raw_result.txt +--- Getting exact configuration with frequency +--- Configuration with frequencies = [1804800- 0- 1804800- 0- 0- 0- 0- 0] +--- Getting the powermeter summary +--- Powermeter summary: +time (s): 601.170975446701 +Ins Current (mA):132.21891428571428 +Samples: 3000000 +Consumed Energy (mAs): 85843.71805932313 +Consumed Energy (mAh): 23.84547723870087 +Consumed Energy (mWs): 432728.28880147374 +Consumed Energy (mWh): 120.20230244485381 +Avg power (mW): 715.5813654301581 +Avg Current (mA): 141.888628473354 +Avg Voltage (V): 5.043260852750725 + +--- Getting the total energy consumed of the google pixel +--- Energy consumed = 23.84547723870087 +--- Starting cc_info = 0 +--- Ending cc_info = 0 +--- Getting the average power +--- Avg Power = 715.5813654301581 +--- Printing the total threads summary +--- Thread results +Thread : 0 - ThreadProcess id: 20769 +---------------------------------------- +Starting time: Sun, 19 Dec 2021 00:12:11 +0100 +Core id: 0 +Ending time: Sun, 19 Dec 2021 00:22:12 +0100 - Duration: 600020 seconds +Real workload: 4.6887284306884674E10 - Integer reached: 129014 - Number of reset = 0 +Battery stats: 0 mAH +Computed Drain: Null +Start: 50 % - End: 50 +Cc_info at the beginning: 0 mAh +Cc_info at the end: 0 mAh +Cc_info variation: 0.0 mAh + +Thread : 1 - ThreadProcess id: 20770 +---------------------------------------- +Starting time: Sun, 19 Dec 2021 00:12:12 +0100 +Core id: 2 +Ending time: Sun, 19 Dec 2021 00:22:12 +0100 - Duration: 600014 seconds +Real workload: 4.707649908238215E10 - Integer reached: 129263 - Number of reset = 0 +Battery stats: 0 mAH +Computed Drain: Null +Start: 50 % - End: 50 +Cc_info at the beginning: 0 mAh +Cc_info at the end: 0 mAh +Cc_info variation: 0.0 mAh + + +--- Counting the total workload command : print_total_workload /mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/last_tmp_expermiment_folder app_output_folder 3,0,3,0,0,0,0,0 /mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first +--- Total workload : 9.39638e+10 +--- Getting energy efficiency +--- Energy efficiency: 2.53773e-10 +--- Building what we will add to the total result file command +------ + (build_configuration_raw_result 303000-0-0 3,0,3,0,0,0,0,0 [1804800- 0- 1804800- 0- 0- 0- 0- 0] time (s): 601.170975446701 +Ins Current (mA):132.21891428571428 +Samples: 3000000 +Consumed Energy (mAs): 85843.71805932313 +Consumed Energy (mAh): 23.84547723870087 +Consumed Energy (mWs): 432728.28880147374 +Consumed Energy (mWh): 120.20230244485381 +Avg power (mW): 715.5813654301581 +Avg Current (mA): 141.888628473354 +Avg Voltage (V): 5.043260852750725 + Thread : 0 - ThreadProcess id: 20769 +---------------------------------------- +Starting time: Sun, 19 Dec 2021 00:12:11 +0100 +Core id: 0 +Ending time: Sun, 19 Dec 2021 00:22:12 +0100 - Duration: 600020 seconds +Real workload: 4.6887284306884674E10 - Integer reached: 129014 - Number of reset = 0 +Battery stats: 0 mAH +Computed Drain: Null +Start: 50 % - End: 50 +Cc_info at the beginning: 0 mAh +Cc_info at the end: 0 mAh +Cc_info variation: 0.0 mAh + +Thread : 1 - ThreadProcess id: 20770 +---------------------------------------- +Starting time: Sun, 19 Dec 2021 00:12:12 +0100 +Core id: 2 +Ending time: Sun, 19 Dec 2021 00:22:12 +0100 - Duration: 600014 seconds +Real workload: 4.707649908238215E10 - Integer reached: 129263 - Number of reset = 0 +Battery stats: 0 mAH +Computed Drain: Null +Start: 50 % - End: 50 +Cc_info at the beginning: 0 mAh +Cc_info at the end: 0 mAh +Cc_info variation: 0.0 mAh + + 23.84547723870087 9.39638e+10 2.53773e-10 0 0 +------ + +--- Final result to print to File + -------------------------------------------------------------------------------- + +++++ +++++ +++++ Configuration Description +-------------------------------------------------------------------------------- +Configuration: 303000-0-0 +phone format: 3,0,3,0,0,0,0,0 +Exact values of frequencies: [1804800- 0- 1804800- 0- 0- 0- 0- 0] + +Power meter results +------------------------------------------------------------ +time (s): 601.170975446701 +Ins Current (mA):132.21891428571428 +Samples: 3000000 +Consumed Energy (mAs): 85843.71805932313 +Consumed Energy (mAh): 23.84547723870087 +Consumed Energy (mWs): 432728.28880147374 +Consumed Energy (mWh): 120.20230244485381 +Avg power (mW): 715.5813654301581 +Avg Current (mA): 141.888628473354 +Avg Voltage (V): 5.043260852750725 + +Threads results +------------------------------------------------------------ +Thread : 0 - ThreadProcess id: 20769 +---------------------------------------- +Starting time: Sun, 19 Dec 2021 00:12:11 +0100 +Core id: 0 +Ending time: Sun, 19 Dec 2021 00:22:12 +0100 - Duration: 600020 seconds +Real workload: 4.6887284306884674E10 - Integer reached: 129014 - Number of reset = 0 +Battery stats: 0 mAH +Computed Drain: Null +Start: 50 % - End: 50 +Cc_info at the beginning: 0 mAh +Cc_info at the end: 0 mAh +Cc_info variation: 0.0 mAh + +Thread : 1 - ThreadProcess id: 20770 +---------------------------------------- +Starting time: Sun, 19 Dec 2021 00:12:12 +0100 +Core id: 2 +Ending time: Sun, 19 Dec 2021 00:22:12 +0100 - Duration: 600014 seconds +Real workload: 4.707649908238215E10 - Integer reached: 129263 - Number of reset = 0 +Battery stats: 0 mAH +Computed Drain: Null +Start: 50 % - End: 50 +Cc_info at the beginning: 0 mAh +Cc_info at the end: 0 mAh +Cc_info variation: 0.0 mAh + + +Expermiment results +------------------------------------------------------------ +Energy Consumed (mAh): 23.84547723870087 +Workload: 9.39638e+10 +Energy efficiency: 2.53773e-10 +-------------------------------------------------------------------------------- + + +--- Writing to the total result file +--- Removing previous tested configuration tmp_output folder +removed '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__04Oct22_01_55_29/app_output_folder/all_workloads.txt' +removed '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__04Oct22_01_55_29/app_output_folder/Thread_0_ended' +removed '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__04Oct22_01_55_29/app_output_folder/Thread_0_ready_for_sampling' +removed '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__04Oct22_01_55_29/app_output_folder/Thread_1_ended' +removed '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__04Oct22_01_55_29/app_output_folder/Thread_1_ready_for_sampling' +removed directory '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__04Oct22_01_55_29/app_output_folder' +removed '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__04Oct22_01_55_29/configuration_mesurement.csv' +removed '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__04Oct22_01_55_29/energy_power_workload_energyByWorkload_ccInfo' +removed '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__04Oct22_01_55_29/logcat_output' +removed '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__04Oct22_01_55_29/powermeter_summary.txt' +removed directory '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__04Oct22_01_55_29' +--- Moving the current experiment tmp_folder to the output result folder +writing a temporary file for the main script with format energy_power_workload_energyByWorkload_ccInfo +--- Obtaining experiment summary result to add to result folder +--- Experiment result, Energy consumed = 23.84547723870087 +--- Experiment result, Avg Power = 715.5813654301581 +--- Experiment result, Total Workload = 9.39638e+10 +--- Experiment result, Energy Efficiency = 2.53773e-10 +--- Adding result to summary file +--- Starting cc information : 0 +--- Ending cc information : 0 +--- The file /mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/output_folder/summary.csv exists we just appending the result to the file +--- Experiments performed on configuration 303000-0-0. +--- Observing a pause betwenn experiment; pause duration : 180 seconds; starting at 04Oct22_02_08_15 +--- Performing experiments on configuration 303000-0-0 +--- Cleaning the tmp expermiment folder : /mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/last_tmp_expermiment_folder +--- Second step : verifying the battery level +--- Verifying the battery level +--- Getting current battery level, adb command path: /mnt/c/Program Files/Android/platform-tools_r33.0.1-windows/platform-tools/adb.exe +--- Current battery level : 50 +Current battery level: OKAY +--- Third step calibrating phone core frequency +--- Resetting all frequency configurations + -- Command used : echo schedutil > /sys/devices/system/cpu/cpu1/cpufreq/scaling_governor + -- Command used : echo schedutil > /sys/devices/system/cpu/cpu2/cpufreq/scaling_governor + -- Command used : echo schedutil > /sys/devices/system/cpu/cpu3/cpufreq/scaling_governor + -- Command used : echo schedutil > /sys/devices/system/cpu/cpu4/cpufreq/scaling_governor + -- Command used : echo schedutil > /sys/devices/system/cpu/cpu5/cpufreq/scaling_governor + -- Command used : echo schedutil > /sys/devices/system/cpu/cpu6/cpufreq/scaling_governor + -- Command used : echo schedutil > /sys/devices/system/cpu/cpu7/cpufreq/scaling_governor +--- Frequency level of core 0 is 3 +--- Exact frequency of core 0: 1804800 +--- Modifying the governor of core 0 +--- Modifying the the current frequency of core 0 with frequency 1804800 +--- Frequency level of core 1 is 0 +--- Exact frequency of core 1: 0 +--- Modifying the governor of core 1 +--- Modifying the the current frequency of core 1 with frequency 0 +--- Frequency level of core 2 is 3 +--- Exact frequency of core 2: 1804800 +--- Modifying the governor of core 2 +--- Modifying the the current frequency of core 2 with frequency 1804800 +--- Frequency level of core 3 is 0 +--- Exact frequency of core 3: 0 +--- Modifying the governor of core 3 +--- Modifying the the current frequency of core 3 with frequency 0 +--- Frequency level of core 4 is 0 +--- Exact frequency of core 4: 0 +--- Modifying the governor of core 4 +--- Modifying the the current frequency of core 4 with frequency 0 +--- Frequency level of core 5 is 0 +--- Exact frequency of core 5: 0 +--- Modifying the governor of core 5 +--- Modifying the the current frequency of core 5 with frequency 0 +--- Frequency level of core 6 is 0 +--- Exact frequency of core 6: 0 +--- Modifying the governor of core 6 +--- Modifying the the current frequency of core 6 with frequency 0 +--- Frequency level of core 7 is 0 +--- Exact frequency of core 7: 0 +--- Modifying the governor of core 7 +--- Modifying the the current frequency of core 7 with frequency 0 +--- Calibrating Monsoon power meter, please wait for 10 seconds... +powermeter script : --- Inside the monsoon_power_meter, arg function: 1 +powermeter script : calibration duration = 10 +powermeter script : Creating the Monsoon engine +powermeter script : Creating the Monsoon engine +powermeter script : Configuring channels the Monsoon engine +powermeter script : Configuring output to : C:\Users\lavoi\opportunist_task_on_android\scripts_valuable_files\experiment_automatization\last_tmp_expermiment_folder\configuration_mesurement.csv +powermeter script : Starting sampling; number of sample = 50000 + returning 50000 samples after experiments +powermeter script : Power meter calibration okay +--- Monsoon power meter Calibrated +--- starting the benchmarking app +## writing the configuration inside the phone file + --- Removing file /sdcard/experiments_automatization +rm '/sdcard/experiments_automatization/current_configuration.txt' +rm '/sdcard/experiments_automatization/experiment_duration.txt' +rm '/sdcard/experiments_automatization/app_output_folder/Thread_0_ready_for_sampling' +rm '/sdcard/experiments_automatization/app_output_folder/Thread_1_ready_for_sampling' +rm '/sdcard/experiments_automatization/app_output_folder/Thread_0_ended' +rm '/sdcard/experiments_automatization/app_output_folder/Thread_1_ended' +rmdir '/sdcard/experiments_automatization/app_output_folder' +rmdir '/sdcard/experiments_automatization' + --- Clearing the logcat + --- Creating file /sdcard/experiments_automatization +----- Uninstalling experiment app +Success +----- Installing experiment app +Performing Streamed Install +Success +------ Giving rights to experiment app +----- Starting experiment app +Starting: Intent { cmp=com.opportunistask.scheduling.benchmarking_app_to_test_big_cores/.MainActivity } +adb command : ps -A | grep com.opportunistask.scheduling.benchmarking_app_to_test_big_cores + ----- Experiment app started with pid: 21578 +---- waiting for benchmarking app thread to be pinned and to be ready +--- frequency level of core 0 is 3 +--- frequency level of core 1 is 0 +--- frequency level of core 2 is 3 +--- frequency level of core 3 is 0 +--- frequency level of core 4 is 0 +--- frequency level of core 5 is 0 +--- frequency level of core 6 is 0 +--- frequency level of core 7 is 0 +--- Number of cores to occupy = 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 2 +--- Now threads are running and the phone is ready to be sampled with the power meter \n--- Threads pids +Thread_0_ready_for_sampling +Thread_1_ready_for_sampling +--- Printing cc_info beginning datas (for the samsung galaxy s8) + --- Starting power meter sampling for about 600 seconds +--- Sampling with the Monsoon power meter +powermeter script : --- Inside the monsoon_power_meter, arg function: 2 +powermeter script : Experiment duration = 600 +powermeter script : Creating the Monsoon engine +powermeter script : Creating the Monsoon engine +powermeter script : Configuring channels the Monsoon engine +powermeter script : Configuring output to : C:\Users\lavoi\opportunist_task_on_android\scripts_valuable_files\experiment_automatization\last_tmp_expermiment_folder\configuration_mesurement.csv +powermeter script : Starting sampling; number of sample = 3000000 + returning 3000000 samples after experiments +powermeter script : Total nomber of sample measured : 3000000 +powermeter script : Computing powermeter summary result + Number of samples = 3000000 +powermeter script : We computed the energy on 600 samples +powermeter script : average_power = 729.1129229668635 +powermeter script : average_power with numpy arrays = 729.1129229667667 +powermeter script : Summary Result = time (s): 601.1745870113373 +Ins Current (mA):146.7469591750441 +Samples: 3000000 +Consumed Energy (mAs): 86690.58622951091 +Consumed Energy (mAh): 24.080718397086365 +Consumed Energy (mWs): 436865.99619166646 +Consumed Energy (mWh): 121.35166560879624 +Avg power (mW): 729.1129229668635 +Avg Current (mA): 144.6326214623839 +Avg Voltage (V): 5.041137439083834 +Exp Batt Life (hrs for 1000mAh battery): NOT COMPUTED +--- Monsoon power meter sampling is finished ! + --- experiment folder path /mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/last_tmp_expermiment_folder +--- frequency level of core 0 is 3 +--- frequency level of core 1 is 0 +--- frequency level of core 2 is 3 +--- frequency level of core 3 is 0 +--- frequency level of core 4 is 0 +--- frequency level of core 5 is 0 +--- frequency level of core 6 is 0 +--- frequency level of core 7 is 0 +--- Number of threads normally started = 2 +--- Number of thread ended: 2 +--- Now threads are stopped, getting the cc_info_level for samsung +--- Copying thread results locally +command /mnt/c/Program Files/Android/platform-tools_r33.0.1-windows/platform-tools/adb.exe pull /sdcard/experiments_automatization/app_output_folder C:\Users\lavoi\opportunist_task_on_android\scripts_valuable_files\experiment_automatization\last_tmp_expermiment_folder </dev/null +/sdcard/experiments_automatization/app_output_folder/: 4 files pulled, 0 skipped. 0.0 MB/s (908 bytes in 0.029s) +saving the logcat file to /mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/last_tmp_expermiment_folder -/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/last_tmp_expermiment_folder- +--- Parsing result from /mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/last_tmp_expermiment_folder to /mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/output_folder/raw_result.txt +--- Getting exact configuration with frequency +--- Configuration with frequencies = [1804800- 0- 1804800- 0- 0- 0- 0- 0] +--- Getting the powermeter summary +--- Powermeter summary: +time (s): 601.1745870113373 +Ins Current (mA):146.7469591750441 +Samples: 3000000 +Consumed Energy (mAs): 86690.58622951091 +Consumed Energy (mAh): 24.080718397086365 +Consumed Energy (mWs): 436865.99619166646 +Consumed Energy (mWh): 121.35166560879624 +Avg power (mW): 729.1129229668635 +Avg Current (mA): 144.6326214623839 +Avg Voltage (V): 5.041137439083834 + +--- Getting the total energy consumed of the google pixel +--- Energy consumed = 24.080718397086365 +--- Starting cc_info = 0 +--- Ending cc_info = 0 +--- Getting the average power +--- Avg Power = 729.1129229668635 +--- Printing the total threads summary +--- Thread results +Thread : 0 - ThreadProcess id: 21603 +---------------------------------------- +Starting time: Sun, 19 Dec 2021 00:28:00 +0100 +Core id: 0 +Ending time: Sun, 19 Dec 2021 00:38:00 +0100 - Duration: 600018 seconds +Real workload: 4.668104418999199E10 - Integer reached: 128742 - Number of reset = 0 +Battery stats: 0 mAH +Computed Drain: Null +Start: 49 % - End: 49 +Cc_info at the beginning: 0 mAh +Cc_info at the end: 0 mAh +Cc_info variation: 0.0 mAh + +Thread : 1 - ThreadProcess id: 21604 +---------------------------------------- +Starting time: Sun, 19 Dec 2021 00:28:00 +0100 +Core id: 2 +Ending time: Sun, 19 Dec 2021 00:38:00 +0100 - Duration: 600019 seconds +Real workload: 4.681823228584065E10 - Integer reached: 128923 - Number of reset = 0 +Battery stats: 0 mAH +Computed Drain: Null +Start: 49 % - End: 49 +Cc_info at the beginning: 0 mAh +Cc_info at the end: 0 mAh +Cc_info variation: 0.0 mAh + + +--- Counting the total workload command : print_total_workload /mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/last_tmp_expermiment_folder app_output_folder 3,0,3,0,0,0,0,0 /mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first +--- Total workload : 9.34993e+10 +--- Getting energy efficiency +--- Energy efficiency: 2.5755e-10 +--- Building what we will add to the total result file command +------ + (build_configuration_raw_result 303000-0-0 3,0,3,0,0,0,0,0 [1804800- 0- 1804800- 0- 0- 0- 0- 0] time (s): 601.1745870113373 +Ins Current (mA):146.7469591750441 +Samples: 3000000 +Consumed Energy (mAs): 86690.58622951091 +Consumed Energy (mAh): 24.080718397086365 +Consumed Energy (mWs): 436865.99619166646 +Consumed Energy (mWh): 121.35166560879624 +Avg power (mW): 729.1129229668635 +Avg Current (mA): 144.6326214623839 +Avg Voltage (V): 5.041137439083834 + Thread : 0 - ThreadProcess id: 21603 +---------------------------------------- +Starting time: Sun, 19 Dec 2021 00:28:00 +0100 +Core id: 0 +Ending time: Sun, 19 Dec 2021 00:38:00 +0100 - Duration: 600018 seconds +Real workload: 4.668104418999199E10 - Integer reached: 128742 - Number of reset = 0 +Battery stats: 0 mAH +Computed Drain: Null +Start: 49 % - End: 49 +Cc_info at the beginning: 0 mAh +Cc_info at the end: 0 mAh +Cc_info variation: 0.0 mAh + +Thread : 1 - ThreadProcess id: 21604 +---------------------------------------- +Starting time: Sun, 19 Dec 2021 00:28:00 +0100 +Core id: 2 +Ending time: Sun, 19 Dec 2021 00:38:00 +0100 - Duration: 600019 seconds +Real workload: 4.681823228584065E10 - Integer reached: 128923 - Number of reset = 0 +Battery stats: 0 mAH +Computed Drain: Null +Start: 49 % - End: 49 +Cc_info at the beginning: 0 mAh +Cc_info at the end: 0 mAh +Cc_info variation: 0.0 mAh + + 24.080718397086365 9.34993e+10 2.5755e-10 0 0 +------ + +--- Final result to print to File + -------------------------------------------------------------------------------- + +++++ +++++ +++++ Configuration Description +-------------------------------------------------------------------------------- +Configuration: 303000-0-0 +phone format: 3,0,3,0,0,0,0,0 +Exact values of frequencies: [1804800- 0- 1804800- 0- 0- 0- 0- 0] + +Power meter results +------------------------------------------------------------ +time (s): 601.1745870113373 +Ins Current (mA):146.7469591750441 +Samples: 3000000 +Consumed Energy (mAs): 86690.58622951091 +Consumed Energy (mAh): 24.080718397086365 +Consumed Energy (mWs): 436865.99619166646 +Consumed Energy (mWh): 121.35166560879624 +Avg power (mW): 729.1129229668635 +Avg Current (mA): 144.6326214623839 +Avg Voltage (V): 5.041137439083834 + +Threads results +------------------------------------------------------------ +Thread : 0 - ThreadProcess id: 21603 +---------------------------------------- +Starting time: Sun, 19 Dec 2021 00:28:00 +0100 +Core id: 0 +Ending time: Sun, 19 Dec 2021 00:38:00 +0100 - Duration: 600018 seconds +Real workload: 4.668104418999199E10 - Integer reached: 128742 - Number of reset = 0 +Battery stats: 0 mAH +Computed Drain: Null +Start: 49 % - End: 49 +Cc_info at the beginning: 0 mAh +Cc_info at the end: 0 mAh +Cc_info variation: 0.0 mAh + +Thread : 1 - ThreadProcess id: 21604 +---------------------------------------- +Starting time: Sun, 19 Dec 2021 00:28:00 +0100 +Core id: 2 +Ending time: Sun, 19 Dec 2021 00:38:00 +0100 - Duration: 600019 seconds +Real workload: 4.681823228584065E10 - Integer reached: 128923 - Number of reset = 0 +Battery stats: 0 mAH +Computed Drain: Null +Start: 49 % - End: 49 +Cc_info at the beginning: 0 mAh +Cc_info at the end: 0 mAh +Cc_info variation: 0.0 mAh + + +Expermiment results +------------------------------------------------------------ +Energy Consumed (mAh): 24.080718397086365 +Workload: 9.34993e+10 +Energy efficiency: 2.5755e-10 +-------------------------------------------------------------------------------- + + +--- Writing to the total result file +--- Removing previous tested configuration tmp_output folder +removed '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__04Oct22_02_11_17/app_output_folder/all_workloads.txt' +removed '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__04Oct22_02_11_17/app_output_folder/Thread_0_ended' +removed '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__04Oct22_02_11_17/app_output_folder/Thread_0_ready_for_sampling' +removed '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__04Oct22_02_11_17/app_output_folder/Thread_1_ended' +removed '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__04Oct22_02_11_17/app_output_folder/Thread_1_ready_for_sampling' +removed directory '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__04Oct22_02_11_17/app_output_folder' +removed '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__04Oct22_02_11_17/configuration_mesurement.csv' +removed '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__04Oct22_02_11_17/energy_power_workload_energyByWorkload_ccInfo' +removed '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__04Oct22_02_11_17/logcat_output' +removed '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__04Oct22_02_11_17/powermeter_summary.txt' +removed directory '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__04Oct22_02_11_17' +--- Moving the current experiment tmp_folder to the output result folder +writing a temporary file for the main script with format energy_power_workload_energyByWorkload_ccInfo +--- Obtaining experiment summary result to add to result folder +--- Experiment result, Energy consumed = 24.080718397086365 +--- Experiment result, Avg Power = 729.1129229668635 +--- Experiment result, Total Workload = 9.34993e+10 +--- Experiment result, Energy Efficiency = 2.5755e-10 +--- Adding result to summary file +--- Starting cc information : 0 +--- Ending cc information : 0 +--- The file /mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/output_folder/summary.csv exists we just appending the result to the file +--- Experiments performed on configuration 303000-0-0. +--- Observing a pause betwenn experiment; pause duration : 180 seconds; starting at 04Oct22_02_24_04 +--- Performing experiments on configuration 330000-0-0 +--- Cleaning the tmp expermiment folder : /mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/last_tmp_expermiment_folder +--- Second step : verifying the battery level +--- Verifying the battery level +--- Getting current battery level, adb command path: /mnt/c/Program Files/Android/platform-tools_r33.0.1-windows/platform-tools/adb.exe +--- Current battery level : 49 +--- Current battery is low, so we need to wait battery +--- Getting current battery level, adb command path: /mnt/c/Program Files/Android/platform-tools_r33.0.1-windows/platform-tools/adb.exe +--- Current battery level : 49 +--- Desactivating the charge stop level option +--- Desactivating the charge stop level option, command : /mnt/c/Program Files/Android/platform-tools_r33.0.1-windows/platform-tools/adb.exe shell echo 100 > /sys/devices/platform/soc/soc:google,charger/charge_stop_level </dev/null +--- The current battery level : 49, still lower than the experiment one : 50 +--- Waiting 30 second... +--- Getting current battery level, adb command path: /mnt/c/Program Files/Android/platform-tools_r33.0.1-windows/platform-tools/adb.exe +--- Current battery level : 49 +--- The current battery level : 49, still lower than the experiment one : 50 +--- Waiting 30 second... +--- Getting current battery level, adb command path: /mnt/c/Program Files/Android/platform-tools_r33.0.1-windows/platform-tools/adb.exe +--- Current battery level : 50 +--- Current battery is now equal to the experiment battery level +--- Third step calibrating phone core frequency +--- Resetting all frequency configurations + -- Command used : echo schedutil > /sys/devices/system/cpu/cpu1/cpufreq/scaling_governor + -- Command used : echo schedutil > /sys/devices/system/cpu/cpu2/cpufreq/scaling_governor + -- Command used : echo schedutil > /sys/devices/system/cpu/cpu3/cpufreq/scaling_governor + -- Command used : echo schedutil > /sys/devices/system/cpu/cpu4/cpufreq/scaling_governor + -- Command used : echo schedutil > /sys/devices/system/cpu/cpu5/cpufreq/scaling_governor + -- Command used : echo schedutil > /sys/devices/system/cpu/cpu6/cpufreq/scaling_governor + -- Command used : echo schedutil > /sys/devices/system/cpu/cpu7/cpufreq/scaling_governor +--- Frequency level of core 0 is 3 +--- Exact frequency of core 0: 1804800 +--- Modifying the governor of core 0 +--- Modifying the the current frequency of core 0 with frequency 1804800 +--- Frequency level of core 1 is 3 +--- Exact frequency of core 1: 1804800 +--- Modifying the governor of core 1 +--- Modifying the the current frequency of core 1 with frequency 1804800 +--- Frequency level of core 2 is 0 +--- Exact frequency of core 2: 0 +--- Modifying the governor of core 2 +--- Modifying the the current frequency of core 2 with frequency 0 +--- Frequency level of core 3 is 0 +--- Exact frequency of core 3: 0 +--- Modifying the governor of core 3 +--- Modifying the the current frequency of core 3 with frequency 0 +--- Frequency level of core 4 is 0 +--- Exact frequency of core 4: 0 +--- Modifying the governor of core 4 +--- Modifying the the current frequency of core 4 with frequency 0 +--- Frequency level of core 5 is 0 +--- Exact frequency of core 5: 0 +--- Modifying the governor of core 5 +--- Modifying the the current frequency of core 5 with frequency 0 +--- Frequency level of core 6 is 0 +--- Exact frequency of core 6: 0 +--- Modifying the governor of core 6 +--- Modifying the the current frequency of core 6 with frequency 0 +--- Frequency level of core 7 is 0 +--- Exact frequency of core 7: 0 +--- Modifying the governor of core 7 +--- Modifying the the current frequency of core 7 with frequency 0 +--- Calibrating Monsoon power meter, please wait for 10 seconds... +powermeter script : --- Inside the monsoon_power_meter, arg function: 1 +powermeter script : calibration duration = 10 +powermeter script : Creating the Monsoon engine +powermeter script : Creating the Monsoon engine +powermeter script : Configuring channels the Monsoon engine +powermeter script : Configuring output to : C:\Users\lavoi\opportunist_task_on_android\scripts_valuable_files\experiment_automatization\last_tmp_expermiment_folder\configuration_mesurement.csv +powermeter script : Starting sampling; number of sample = 50000 + returning 50000 samples after experiments +powermeter script : Power meter calibration okay +--- Monsoon power meter Calibrated +--- starting the benchmarking app +## writing the configuration inside the phone file + --- Removing file /sdcard/experiments_automatization +rm '/sdcard/experiments_automatization/current_configuration.txt' +rm '/sdcard/experiments_automatization/experiment_duration.txt' +rm '/sdcard/experiments_automatization/app_output_folder/Thread_0_ready_for_sampling' +rm '/sdcard/experiments_automatization/app_output_folder/Thread_1_ready_for_sampling' +rm '/sdcard/experiments_automatization/app_output_folder/Thread_0_ended' +rm '/sdcard/experiments_automatization/app_output_folder/Thread_1_ended' +rmdir '/sdcard/experiments_automatization/app_output_folder' +rmdir '/sdcard/experiments_automatization' + --- Clearing the logcat + --- Creating file /sdcard/experiments_automatization +----- Uninstalling experiment app +Success +----- Installing experiment app +Performing Streamed Install +Success +------ Giving rights to experiment app +----- Starting experiment app +Starting: Intent { cmp=com.opportunistask.scheduling.benchmarking_app_to_test_big_cores/.MainActivity } +adb command : ps -A | grep com.opportunistask.scheduling.benchmarking_app_to_test_big_cores + ----- Experiment app started with pid: 22434 +---- waiting for benchmarking app thread to be pinned and to be ready +--- frequency level of core 0 is 3 +--- frequency level of core 1 is 3 +--- frequency level of core 2 is 0 +--- frequency level of core 3 is 0 +--- frequency level of core 4 is 0 +--- frequency level of core 5 is 0 +--- frequency level of core 6 is 0 +--- frequency level of core 7 is 0 +--- Number of cores to occupy = 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 2 +--- Now threads are running and the phone is ready to be sampled with the power meter \n--- Threads pids +Thread_0_ready_for_sampling +Thread_1_ready_for_sampling +--- Printing cc_info beginning datas (for the samsung galaxy s8) + --- Starting power meter sampling for about 600 seconds +--- Sampling with the Monsoon power meter +powermeter script : --- Inside the monsoon_power_meter, arg function: 2 +powermeter script : Experiment duration = 600 +powermeter script : Creating the Monsoon engine +powermeter script : Creating the Monsoon engine +powermeter script : Configuring channels the Monsoon engine +powermeter script : Configuring output to : C:\Users\lavoi\opportunist_task_on_android\scripts_valuable_files\experiment_automatization\last_tmp_expermiment_folder\configuration_mesurement.csv +powermeter script : Starting sampling; number of sample = 3000000 + returning 3000000 samples after experiments +powermeter script : Total nomber of sample measured : 3000000 +powermeter script : Computing powermeter summary result + Number of samples = 3000000 +powermeter script : We computed the energy on 600 samples +powermeter script : average_power = 735.9135240776465 +powermeter script : average_power with numpy arrays = 735.9135240775537 +powermeter script : Summary Result = time (s): 601.2069818973541 +Ins Current (mA):148.20603204595844 +Samples: 3000000 +Consumed Energy (mAs): 86690.14208794995 +Consumed Energy (mAh): 24.08059502443054 +Consumed Energy (mWs): 436784.116778472 +Consumed Energy (mWh): 121.32892132735333 +Avg power (mW): 735.9135240776465 +Avg Current (mA): 146.00852553149653 +Avg Voltage (V): 5.040209271333936 +Exp Batt Life (hrs for 1000mAh battery): NOT COMPUTED +--- Monsoon power meter sampling is finished ! + --- experiment folder path /mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/last_tmp_expermiment_folder +--- frequency level of core 0 is 3 +--- frequency level of core 1 is 3 +--- frequency level of core 2 is 0 +--- frequency level of core 3 is 0 +--- frequency level of core 4 is 0 +--- frequency level of core 5 is 0 +--- frequency level of core 6 is 0 +--- frequency level of core 7 is 0 +--- Number of threads normally started = 2 +--- Number of thread ended: 2 +--- Now threads are stopped, getting the cc_info_level for samsung +--- Copying thread results locally +command /mnt/c/Program Files/Android/platform-tools_r33.0.1-windows/platform-tools/adb.exe pull /sdcard/experiments_automatization/app_output_folder C:\Users\lavoi\opportunist_task_on_android\scripts_valuable_files\experiment_automatization\last_tmp_expermiment_folder </dev/null +/sdcard/experiments_automatization/app_output_folder/: 4 files pulled, 0 skipped. 0.0 MB/s (909 bytes in 0.034s) +saving the logcat file to /mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/last_tmp_expermiment_folder -/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/last_tmp_expermiment_folder- +--- Parsing result from /mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/last_tmp_expermiment_folder to /mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/output_folder/raw_result.txt +--- Getting exact configuration with frequency +--- Configuration with frequencies = [1804800- 1804800- 0- 0- 0- 0- 0- 0] +--- Getting the powermeter summary +--- Powermeter summary: +time (s): 601.2069818973541 +Ins Current (mA):148.20603204595844 +Samples: 3000000 +Consumed Energy (mAs): 86690.14208794995 +Consumed Energy (mAh): 24.08059502443054 +Consumed Energy (mWs): 436784.116778472 +Consumed Energy (mWh): 121.32892132735333 +Avg power (mW): 735.9135240776465 +Avg Current (mA): 146.00852553149653 +Avg Voltage (V): 5.040209271333936 + +--- Getting the total energy consumed of the google pixel +--- Energy consumed = 24.08059502443054 +--- Starting cc_info = 0 +--- Ending cc_info = 0 +--- Getting the average power +--- Avg Power = 735.9135240776465 +--- Printing the total threads summary +--- Thread results +Thread : 0 - ThreadProcess id: 22459 +---------------------------------------- +Starting time: Sun, 19 Dec 2021 00:44:48 +0100 +Core id: 0 +Ending time: Sun, 19 Dec 2021 00:54:49 +0100 - Duration: 600018 seconds +Real workload: 4.6969304753841354E10 - Integer reached: 129122 - Number of reset = 0 +Battery stats: 0 mAH +Computed Drain: Null +Start: 50 % - End: 50 +Cc_info at the beginning: 0 mAh +Cc_info at the end: 0 mAh +Cc_info variation: 0.0 mAh + +Thread : 1 - ThreadProcess id: 22460 +---------------------------------------- +Starting time: Sun, 19 Dec 2021 00:44:49 +0100 +Core id: 1 +Ending time: Sun, 19 Dec 2021 00:54:49 +0100 - Duration: 600004 seconds +Real workload: 4.654709010589149E10 - Integer reached: 128565 - Number of reset = 0 +Battery stats: 0 mAH +Computed Drain: Null +Start: 50 % - End: 50 +Cc_info at the beginning: 0 mAh +Cc_info at the end: 0 mAh +Cc_info variation: 0.0 mAh + + +--- Counting the total workload command : print_total_workload /mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/last_tmp_expermiment_folder app_output_folder 3,3,0,0,0,0,0,0 /mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first +--- Total workload : 9.35164e+10 +--- Getting energy efficiency +--- Energy efficiency: 2.57501e-10 +--- Building what we will add to the total result file command +------ + (build_configuration_raw_result 330000-0-0 3,3,0,0,0,0,0,0 [1804800- 1804800- 0- 0- 0- 0- 0- 0] time (s): 601.2069818973541 +Ins Current (mA):148.20603204595844 +Samples: 3000000 +Consumed Energy (mAs): 86690.14208794995 +Consumed Energy (mAh): 24.08059502443054 +Consumed Energy (mWs): 436784.116778472 +Consumed Energy (mWh): 121.32892132735333 +Avg power (mW): 735.9135240776465 +Avg Current (mA): 146.00852553149653 +Avg Voltage (V): 5.040209271333936 + Thread : 0 - ThreadProcess id: 22459 +---------------------------------------- +Starting time: Sun, 19 Dec 2021 00:44:48 +0100 +Core id: 0 +Ending time: Sun, 19 Dec 2021 00:54:49 +0100 - Duration: 600018 seconds +Real workload: 4.6969304753841354E10 - Integer reached: 129122 - Number of reset = 0 +Battery stats: 0 mAH +Computed Drain: Null +Start: 50 % - End: 50 +Cc_info at the beginning: 0 mAh +Cc_info at the end: 0 mAh +Cc_info variation: 0.0 mAh + +Thread : 1 - ThreadProcess id: 22460 +---------------------------------------- +Starting time: Sun, 19 Dec 2021 00:44:49 +0100 +Core id: 1 +Ending time: Sun, 19 Dec 2021 00:54:49 +0100 - Duration: 600004 seconds +Real workload: 4.654709010589149E10 - Integer reached: 128565 - Number of reset = 0 +Battery stats: 0 mAH +Computed Drain: Null +Start: 50 % - End: 50 +Cc_info at the beginning: 0 mAh +Cc_info at the end: 0 mAh +Cc_info variation: 0.0 mAh + + 24.08059502443054 9.35164e+10 2.57501e-10 0 0 +------ + +--- Final result to print to File + -------------------------------------------------------------------------------- + +++++ +++++ +++++ Configuration Description +-------------------------------------------------------------------------------- +Configuration: 330000-0-0 +phone format: 3,3,0,0,0,0,0,0 +Exact values of frequencies: [1804800- 1804800- 0- 0- 0- 0- 0- 0] + +Power meter results +------------------------------------------------------------ +time (s): 601.2069818973541 +Ins Current (mA):148.20603204595844 +Samples: 3000000 +Consumed Energy (mAs): 86690.14208794995 +Consumed Energy (mAh): 24.08059502443054 +Consumed Energy (mWs): 436784.116778472 +Consumed Energy (mWh): 121.32892132735333 +Avg power (mW): 735.9135240776465 +Avg Current (mA): 146.00852553149653 +Avg Voltage (V): 5.040209271333936 + +Threads results +------------------------------------------------------------ +Thread : 0 - ThreadProcess id: 22459 +---------------------------------------- +Starting time: Sun, 19 Dec 2021 00:44:48 +0100 +Core id: 0 +Ending time: Sun, 19 Dec 2021 00:54:49 +0100 - Duration: 600018 seconds +Real workload: 4.6969304753841354E10 - Integer reached: 129122 - Number of reset = 0 +Battery stats: 0 mAH +Computed Drain: Null +Start: 50 % - End: 50 +Cc_info at the beginning: 0 mAh +Cc_info at the end: 0 mAh +Cc_info variation: 0.0 mAh + +Thread : 1 - ThreadProcess id: 22460 +---------------------------------------- +Starting time: Sun, 19 Dec 2021 00:44:49 +0100 +Core id: 1 +Ending time: Sun, 19 Dec 2021 00:54:49 +0100 - Duration: 600004 seconds +Real workload: 4.654709010589149E10 - Integer reached: 128565 - Number of reset = 0 +Battery stats: 0 mAH +Computed Drain: Null +Start: 50 % - End: 50 +Cc_info at the beginning: 0 mAh +Cc_info at the end: 0 mAh +Cc_info variation: 0.0 mAh + + +Expermiment results +------------------------------------------------------------ +Energy Consumed (mAh): 24.08059502443054 +Workload: 9.35164e+10 +Energy efficiency: 2.57501e-10 +-------------------------------------------------------------------------------- + + +--- Writing to the total result file +--- Removing previous tested configuration tmp_output folder +removed '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__04Oct22_02_27_06/app_output_folder/all_workloads.txt' +removed '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__04Oct22_02_27_06/app_output_folder/Thread_0_ended' +removed '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__04Oct22_02_27_06/app_output_folder/Thread_0_ready_for_sampling' +removed '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__04Oct22_02_27_06/app_output_folder/Thread_1_ended' +removed '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__04Oct22_02_27_06/app_output_folder/Thread_1_ready_for_sampling' +removed directory '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__04Oct22_02_27_06/app_output_folder' +removed '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__04Oct22_02_27_06/configuration_mesurement.csv' +removed '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__04Oct22_02_27_06/energy_power_workload_energyByWorkload_ccInfo' +removed '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__04Oct22_02_27_06/logcat_output' +removed '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__04Oct22_02_27_06/powermeter_summary.txt' +removed directory '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__04Oct22_02_27_06' +--- Moving the current experiment tmp_folder to the output result folder +writing a temporary file for the main script with format energy_power_workload_energyByWorkload_ccInfo +--- Obtaining experiment summary result to add to result folder +--- Experiment result, Energy consumed = 24.08059502443054 +--- Experiment result, Avg Power = 735.9135240776465 +--- Experiment result, Total Workload = 9.35164e+10 +--- Experiment result, Energy Efficiency = 2.57501e-10 +--- Adding result to summary file +--- Starting cc information : 0 +--- Ending cc information : 0 +--- The file /mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/output_folder/summary.csv exists we just appending the result to the file +--- Experiments performed on configuration 330000-0-0. +--- Observing a pause betwenn experiment; pause duration : 180 seconds; starting at 04Oct22_02_40_52 +--- Performing experiments on configuration 330000-0-0 +--- Cleaning the tmp expermiment folder : /mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/last_tmp_expermiment_folder +--- Second step : verifying the battery level +--- Verifying the battery level +--- Getting current battery level, adb command path: /mnt/c/Program Files/Android/platform-tools_r33.0.1-windows/platform-tools/adb.exe +--- Current battery level : 50 +Current battery level: OKAY +--- Third step calibrating phone core frequency +--- Resetting all frequency configurations + -- Command used : echo schedutil > /sys/devices/system/cpu/cpu1/cpufreq/scaling_governor + -- Command used : echo schedutil > /sys/devices/system/cpu/cpu2/cpufreq/scaling_governor + -- Command used : echo schedutil > /sys/devices/system/cpu/cpu3/cpufreq/scaling_governor + -- Command used : echo schedutil > /sys/devices/system/cpu/cpu4/cpufreq/scaling_governor + -- Command used : echo schedutil > /sys/devices/system/cpu/cpu5/cpufreq/scaling_governor + -- Command used : echo schedutil > /sys/devices/system/cpu/cpu6/cpufreq/scaling_governor + -- Command used : echo schedutil > /sys/devices/system/cpu/cpu7/cpufreq/scaling_governor +--- Frequency level of core 0 is 3 +--- Exact frequency of core 0: 1804800 +--- Modifying the governor of core 0 +--- Modifying the the current frequency of core 0 with frequency 1804800 +--- Frequency level of core 1 is 3 +--- Exact frequency of core 1: 1804800 +--- Modifying the governor of core 1 +--- Modifying the the current frequency of core 1 with frequency 1804800 +--- Frequency level of core 2 is 0 +--- Exact frequency of core 2: 0 +--- Modifying the governor of core 2 +--- Modifying the the current frequency of core 2 with frequency 0 +--- Frequency level of core 3 is 0 +--- Exact frequency of core 3: 0 +--- Modifying the governor of core 3 +--- Modifying the the current frequency of core 3 with frequency 0 +--- Frequency level of core 4 is 0 +--- Exact frequency of core 4: 0 +--- Modifying the governor of core 4 +--- Modifying the the current frequency of core 4 with frequency 0 +--- Frequency level of core 5 is 0 +--- Exact frequency of core 5: 0 +--- Modifying the governor of core 5 +--- Modifying the the current frequency of core 5 with frequency 0 +--- Frequency level of core 6 is 0 +--- Exact frequency of core 6: 0 +--- Modifying the governor of core 6 +--- Modifying the the current frequency of core 6 with frequency 0 +--- Frequency level of core 7 is 0 +--- Exact frequency of core 7: 0 +--- Modifying the governor of core 7 +--- Modifying the the current frequency of core 7 with frequency 0 +--- Calibrating Monsoon power meter, please wait for 10 seconds... +powermeter script : --- Inside the monsoon_power_meter, arg function: 1 +powermeter script : calibration duration = 10 +powermeter script : Creating the Monsoon engine +powermeter script : Creating the Monsoon engine +powermeter script : Configuring channels the Monsoon engine +powermeter script : Configuring output to : C:\Users\lavoi\opportunist_task_on_android\scripts_valuable_files\experiment_automatization\last_tmp_expermiment_folder\configuration_mesurement.csv +powermeter script : Starting sampling; number of sample = 50000 + returning 50000 samples after experiments +powermeter script : Power meter calibration okay +--- Monsoon power meter Calibrated +--- starting the benchmarking app +## writing the configuration inside the phone file + --- Removing file /sdcard/experiments_automatization +rm '/sdcard/experiments_automatization/current_configuration.txt' +rm '/sdcard/experiments_automatization/experiment_duration.txt' +rm '/sdcard/experiments_automatization/app_output_folder/Thread_0_ready_for_sampling' +rm '/sdcard/experiments_automatization/app_output_folder/Thread_1_ready_for_sampling' +rm '/sdcard/experiments_automatization/app_output_folder/Thread_0_ended' +rm '/sdcard/experiments_automatization/app_output_folder/Thread_1_ended' +rmdir '/sdcard/experiments_automatization/app_output_folder' +rmdir '/sdcard/experiments_automatization' + --- Clearing the logcat + --- Creating file /sdcard/experiments_automatization +----- Uninstalling experiment app +Success +----- Installing experiment app +Performing Streamed Install +Success +------ Giving rights to experiment app +----- Starting experiment app +Starting: Intent { cmp=com.opportunistask.scheduling.benchmarking_app_to_test_big_cores/.MainActivity } +adb command : ps -A | grep com.opportunistask.scheduling.benchmarking_app_to_test_big_cores + ----- Experiment app started with pid: 23627 +---- waiting for benchmarking app thread to be pinned and to be ready +--- frequency level of core 0 is 3 +--- frequency level of core 1 is 3 +--- frequency level of core 2 is 0 +--- frequency level of core 3 is 0 +--- frequency level of core 4 is 0 +--- frequency level of core 5 is 0 +--- frequency level of core 6 is 0 +--- frequency level of core 7 is 0 +--- Number of cores to occupy = 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 1 +--- The current number of thread ready to be sambled : 1, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 2 +--- Now threads are running and the phone is ready to be sampled with the power meter \n--- Threads pids +Thread_0_ready_for_sampling +Thread_1_ready_for_sampling +--- Printing cc_info beginning datas (for the samsung galaxy s8) + --- Starting power meter sampling for about 600 seconds +--- Sampling with the Monsoon power meter +powermeter script : --- Inside the monsoon_power_meter, arg function: 2 +powermeter script : Experiment duration = 600 +powermeter script : Creating the Monsoon engine +powermeter script : Creating the Monsoon engine +powermeter script : Configuring channels the Monsoon engine +powermeter script : Configuring output to : C:\Users\lavoi\opportunist_task_on_android\scripts_valuable_files\experiment_automatization\last_tmp_expermiment_folder\configuration_mesurement.csv +powermeter script : Starting sampling; number of sample = 3000000 + returning 3000000 samples after experiments +powermeter script : Total nomber of sample measured : 3000000 +powermeter script : Computing powermeter summary result + Number of samples = 3000000 +powermeter script : We computed the energy on 600 samples +powermeter script : average_power = 745.9699120502246 +powermeter script : average_power with numpy arrays = 745.9699120501754 +powermeter script : Summary Result = time (s): 601.6547796726227 +Ins Current (mA):163.06372830993695 +Samples: 3000000 +Consumed Energy (mAs): 88695.84824966453 +Consumed Energy (mAh): 24.637735624906814 +Consumed Energy (mWs): 446723.6457105455 +Consumed Energy (mWh): 124.08990158626263 +Avg power (mW): 745.9699120502246 +Avg Current (mA): 148.05003579293452 +Avg Voltage (V): 5.038633783875282 +Exp Batt Life (hrs for 1000mAh battery): NOT COMPUTED +--- Monsoon power meter sampling is finished ! + --- experiment folder path /mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/last_tmp_expermiment_folder +--- frequency level of core 0 is 3 +--- frequency level of core 1 is 3 +--- frequency level of core 2 is 0 +--- frequency level of core 3 is 0 +--- frequency level of core 4 is 0 +--- frequency level of core 5 is 0 +--- frequency level of core 6 is 0 +--- frequency level of core 7 is 0 +--- Number of threads normally started = 2 +--- Number of thread ended: 2 +--- Now threads are stopped, getting the cc_info_level for samsung +--- Copying thread results locally +command /mnt/c/Program Files/Android/platform-tools_r33.0.1-windows/platform-tools/adb.exe pull /sdcard/experiments_automatization/app_output_folder C:\Users\lavoi\opportunist_task_on_android\scripts_valuable_files\experiment_automatization\last_tmp_expermiment_folder </dev/null +/sdcard/experiments_automatization/app_output_folder/: 4 files pulled, 0 skipped. 0.0 MB/s (908 bytes in 0.026s) +saving the logcat file to /mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/last_tmp_expermiment_folder -/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/last_tmp_expermiment_folder- +--- Parsing result from /mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/last_tmp_expermiment_folder to /mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/output_folder/raw_result.txt +--- Getting exact configuration with frequency +--- Configuration with frequencies = [1804800- 1804800- 0- 0- 0- 0- 0- 0] +--- Getting the powermeter summary +--- Powermeter summary: +time (s): 601.6547796726227 +Ins Current (mA):163.06372830993695 +Samples: 3000000 +Consumed Energy (mAs): 88695.84824966453 +Consumed Energy (mAh): 24.637735624906814 +Consumed Energy (mWs): 446723.6457105455 +Consumed Energy (mWh): 124.08990158626263 +Avg power (mW): 745.9699120502246 +Avg Current (mA): 148.05003579293452 +Avg Voltage (V): 5.038633783875282 + +--- Getting the total energy consumed of the google pixel +--- Energy consumed = 24.637735624906814 +--- Starting cc_info = 0 +--- Ending cc_info = 0 +--- Getting the average power +--- Avg Power = 745.9699120502246 +--- Printing the total threads summary +--- Thread results +Thread : 0 - ThreadProcess id: 23652 +---------------------------------------- +Starting time: Sun, 19 Dec 2021 01:00:36 +0100 +Core id: 0 +Ending time: Sun, 19 Dec 2021 01:10:37 +0100 - Duration: 600019 seconds +Real workload: 4.657507527352141E10 - Integer reached: 128602 - Number of reset = 0 +Battery stats: 0 mAH +Computed Drain: Null +Start: 50 % - End: 50 +Cc_info at the beginning: 0 mAh +Cc_info at the end: 0 mAh +Cc_info variation: 0.0 mAh + +Thread : 1 - ThreadProcess id: 23653 +---------------------------------------- +Starting time: Sun, 19 Dec 2021 01:00:37 +0100 +Core id: 1 +Ending time: Sun, 19 Dec 2021 01:10:37 +0100 - Duration: 600006 seconds +Real workload: 4.639295036182178E10 - Integer reached: 128361 - Number of reset = 0 +Battery stats: 0 mAH +Computed Drain: Null +Start: 50 % - End: 50 +Cc_info at the beginning: 0 mAh +Cc_info at the end: 0 mAh +Cc_info variation: 0.0 mAh + + +--- Counting the total workload command : print_total_workload /mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/last_tmp_expermiment_folder app_output_folder 3,3,0,0,0,0,0,0 /mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first +--- Total workload : 9.2968e+10 +--- Getting energy efficiency +--- Energy efficiency: 2.65013e-10 +--- Building what we will add to the total result file command +------ + (build_configuration_raw_result 330000-0-0 3,3,0,0,0,0,0,0 [1804800- 1804800- 0- 0- 0- 0- 0- 0] time (s): 601.6547796726227 +Ins Current (mA):163.06372830993695 +Samples: 3000000 +Consumed Energy (mAs): 88695.84824966453 +Consumed Energy (mAh): 24.637735624906814 +Consumed Energy (mWs): 446723.6457105455 +Consumed Energy (mWh): 124.08990158626263 +Avg power (mW): 745.9699120502246 +Avg Current (mA): 148.05003579293452 +Avg Voltage (V): 5.038633783875282 + Thread : 0 - ThreadProcess id: 23652 +---------------------------------------- +Starting time: Sun, 19 Dec 2021 01:00:36 +0100 +Core id: 0 +Ending time: Sun, 19 Dec 2021 01:10:37 +0100 - Duration: 600019 seconds +Real workload: 4.657507527352141E10 - Integer reached: 128602 - Number of reset = 0 +Battery stats: 0 mAH +Computed Drain: Null +Start: 50 % - End: 50 +Cc_info at the beginning: 0 mAh +Cc_info at the end: 0 mAh +Cc_info variation: 0.0 mAh + +Thread : 1 - ThreadProcess id: 23653 +---------------------------------------- +Starting time: Sun, 19 Dec 2021 01:00:37 +0100 +Core id: 1 +Ending time: Sun, 19 Dec 2021 01:10:37 +0100 - Duration: 600006 seconds +Real workload: 4.639295036182178E10 - Integer reached: 128361 - Number of reset = 0 +Battery stats: 0 mAH +Computed Drain: Null +Start: 50 % - End: 50 +Cc_info at the beginning: 0 mAh +Cc_info at the end: 0 mAh +Cc_info variation: 0.0 mAh + + 24.637735624906814 9.2968e+10 2.65013e-10 0 0 +------ + +--- Final result to print to File + -------------------------------------------------------------------------------- + +++++ +++++ +++++ Configuration Description +-------------------------------------------------------------------------------- +Configuration: 330000-0-0 +phone format: 3,3,0,0,0,0,0,0 +Exact values of frequencies: [1804800- 1804800- 0- 0- 0- 0- 0- 0] + +Power meter results +------------------------------------------------------------ +time (s): 601.6547796726227 +Ins Current (mA):163.06372830993695 +Samples: 3000000 +Consumed Energy (mAs): 88695.84824966453 +Consumed Energy (mAh): 24.637735624906814 +Consumed Energy (mWs): 446723.6457105455 +Consumed Energy (mWh): 124.08990158626263 +Avg power (mW): 745.9699120502246 +Avg Current (mA): 148.05003579293452 +Avg Voltage (V): 5.038633783875282 + +Threads results +------------------------------------------------------------ +Thread : 0 - ThreadProcess id: 23652 +---------------------------------------- +Starting time: Sun, 19 Dec 2021 01:00:36 +0100 +Core id: 0 +Ending time: Sun, 19 Dec 2021 01:10:37 +0100 - Duration: 600019 seconds +Real workload: 4.657507527352141E10 - Integer reached: 128602 - Number of reset = 0 +Battery stats: 0 mAH +Computed Drain: Null +Start: 50 % - End: 50 +Cc_info at the beginning: 0 mAh +Cc_info at the end: 0 mAh +Cc_info variation: 0.0 mAh + +Thread : 1 - ThreadProcess id: 23653 +---------------------------------------- +Starting time: Sun, 19 Dec 2021 01:00:37 +0100 +Core id: 1 +Ending time: Sun, 19 Dec 2021 01:10:37 +0100 - Duration: 600006 seconds +Real workload: 4.639295036182178E10 - Integer reached: 128361 - Number of reset = 0 +Battery stats: 0 mAH +Computed Drain: Null +Start: 50 % - End: 50 +Cc_info at the beginning: 0 mAh +Cc_info at the end: 0 mAh +Cc_info variation: 0.0 mAh + + +Expermiment results +------------------------------------------------------------ +Energy Consumed (mAh): 24.637735624906814 +Workload: 9.2968e+10 +Energy efficiency: 2.65013e-10 +-------------------------------------------------------------------------------- + + +--- Writing to the total result file +--- Removing previous tested configuration tmp_output folder +removed '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__04Oct22_02_43_54/app_output_folder/all_workloads.txt' +removed '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__04Oct22_02_43_54/app_output_folder/Thread_0_ended' +removed '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__04Oct22_02_43_54/app_output_folder/Thread_0_ready_for_sampling' +removed '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__04Oct22_02_43_54/app_output_folder/Thread_1_ended' +removed '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__04Oct22_02_43_54/app_output_folder/Thread_1_ready_for_sampling' +removed directory '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__04Oct22_02_43_54/app_output_folder' +removed '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__04Oct22_02_43_54/configuration_mesurement.csv' +removed '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__04Oct22_02_43_54/energy_power_workload_energyByWorkload_ccInfo' +removed '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__04Oct22_02_43_54/logcat_output' +removed '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__04Oct22_02_43_54/powermeter_summary.txt' +removed directory '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__04Oct22_02_43_54' +--- Moving the current experiment tmp_folder to the output result folder +writing a temporary file for the main script with format energy_power_workload_energyByWorkload_ccInfo +--- Obtaining experiment summary result to add to result folder +--- Experiment result, Energy consumed = 24.637735624906814 +--- Experiment result, Avg Power = 745.9699120502246 +--- Experiment result, Total Workload = 9.2968e+10 +--- Experiment result, Energy Efficiency = 2.65013e-10 +--- Adding result to summary file +--- Starting cc information : 0 +--- Ending cc information : 0 +--- The file /mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/output_folder/summary.csv exists we just appending the result to the file +--- Experiments performed on configuration 330000-0-0. +--- Observing a pause betwenn experiment; pause duration : 180 seconds; starting at 04Oct22_02_56_41 +--- Performing experiments on configuration 330000-0-0 +--- Cleaning the tmp expermiment folder : /mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/last_tmp_expermiment_folder +--- Second step : verifying the battery level +--- Verifying the battery level +--- Getting current battery level, adb command path: /mnt/c/Program Files/Android/platform-tools_r33.0.1-windows/platform-tools/adb.exe +--- Current battery level : 50 +Current battery level: OKAY +--- Third step calibrating phone core frequency +--- Resetting all frequency configurations + -- Command used : echo schedutil > /sys/devices/system/cpu/cpu1/cpufreq/scaling_governor + -- Command used : echo schedutil > /sys/devices/system/cpu/cpu2/cpufreq/scaling_governor + -- Command used : echo schedutil > /sys/devices/system/cpu/cpu3/cpufreq/scaling_governor + -- Command used : echo schedutil > /sys/devices/system/cpu/cpu4/cpufreq/scaling_governor + -- Command used : echo schedutil > /sys/devices/system/cpu/cpu5/cpufreq/scaling_governor + -- Command used : echo schedutil > /sys/devices/system/cpu/cpu6/cpufreq/scaling_governor + -- Command used : echo schedutil > /sys/devices/system/cpu/cpu7/cpufreq/scaling_governor +--- Frequency level of core 0 is 3 +--- Exact frequency of core 0: 1804800 +--- Modifying the governor of core 0 +--- Modifying the the current frequency of core 0 with frequency 1804800 +--- Frequency level of core 1 is 3 +--- Exact frequency of core 1: 1804800 +--- Modifying the governor of core 1 +--- Modifying the the current frequency of core 1 with frequency 1804800 +--- Frequency level of core 2 is 0 +--- Exact frequency of core 2: 0 +--- Modifying the governor of core 2 +--- Modifying the the current frequency of core 2 with frequency 0 +--- Frequency level of core 3 is 0 +--- Exact frequency of core 3: 0 +--- Modifying the governor of core 3 +--- Modifying the the current frequency of core 3 with frequency 0 +--- Frequency level of core 4 is 0 +--- Exact frequency of core 4: 0 +--- Modifying the governor of core 4 +--- Modifying the the current frequency of core 4 with frequency 0 +--- Frequency level of core 5 is 0 +--- Exact frequency of core 5: 0 +--- Modifying the governor of core 5 +--- Modifying the the current frequency of core 5 with frequency 0 +--- Frequency level of core 6 is 0 +--- Exact frequency of core 6: 0 +--- Modifying the governor of core 6 +--- Modifying the the current frequency of core 6 with frequency 0 +--- Frequency level of core 7 is 0 +--- Exact frequency of core 7: 0 +--- Modifying the governor of core 7 +--- Modifying the the current frequency of core 7 with frequency 0 +--- Calibrating Monsoon power meter, please wait for 10 seconds... +powermeter script : --- Inside the monsoon_power_meter, arg function: 1 +powermeter script : calibration duration = 10 +powermeter script : Creating the Monsoon engine +powermeter script : Creating the Monsoon engine +powermeter script : Configuring channels the Monsoon engine +powermeter script : Configuring output to : C:\Users\lavoi\opportunist_task_on_android\scripts_valuable_files\experiment_automatization\last_tmp_expermiment_folder\configuration_mesurement.csv +powermeter script : Starting sampling; number of sample = 50000 + returning 50000 samples after experiments +powermeter script : Power meter calibration okay +--- Monsoon power meter Calibrated +--- starting the benchmarking app +## writing the configuration inside the phone file + --- Removing file /sdcard/experiments_automatization +rm '/sdcard/experiments_automatization/current_configuration.txt' +rm '/sdcard/experiments_automatization/experiment_duration.txt' +rm '/sdcard/experiments_automatization/app_output_folder/Thread_0_ready_for_sampling' +rm '/sdcard/experiments_automatization/app_output_folder/Thread_1_ready_for_sampling' +rm '/sdcard/experiments_automatization/app_output_folder/Thread_0_ended' +rm '/sdcard/experiments_automatization/app_output_folder/Thread_1_ended' +rmdir '/sdcard/experiments_automatization/app_output_folder' +rmdir '/sdcard/experiments_automatization' + --- Clearing the logcat + --- Creating file /sdcard/experiments_automatization +----- Uninstalling experiment app +Success +----- Installing experiment app +Performing Streamed Install +Success +------ Giving rights to experiment app +----- Starting experiment app +Starting: Intent { cmp=com.opportunistask.scheduling.benchmarking_app_to_test_big_cores/.MainActivity } +adb command : ps -A | grep com.opportunistask.scheduling.benchmarking_app_to_test_big_cores + ----- Experiment app started with pid: 24465 +---- waiting for benchmarking app thread to be pinned and to be ready +--- frequency level of core 0 is 3 +--- frequency level of core 1 is 3 +--- frequency level of core 2 is 0 +--- frequency level of core 3 is 0 +--- frequency level of core 4 is 0 +--- frequency level of core 5 is 0 +--- frequency level of core 6 is 0 +--- frequency level of core 7 is 0 +--- Number of cores to occupy = 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 2 +--- Now threads are running and the phone is ready to be sampled with the power meter \n--- Threads pids +Thread_0_ready_for_sampling +Thread_1_ready_for_sampling +--- Printing cc_info beginning datas (for the samsung galaxy s8) + --- Starting power meter sampling for about 600 seconds +--- Sampling with the Monsoon power meter +powermeter script : --- Inside the monsoon_power_meter, arg function: 2 +powermeter script : Experiment duration = 600 +powermeter script : Creating the Monsoon engine +powermeter script : Creating the Monsoon engine +powermeter script : Configuring channels the Monsoon engine +powermeter script : Configuring output to : C:\Users\lavoi\opportunist_task_on_android\scripts_valuable_files\experiment_automatization\last_tmp_expermiment_folder\configuration_mesurement.csv +powermeter script : Starting sampling; number of sample = 3000000 + returning 3000000 samples after experiments +powermeter script : Total nomber of sample measured : 3000000 +powermeter script : Computing powermeter summary result + Number of samples = 3000000 +powermeter script : We computed the energy on 600 samples +powermeter script : average_power = 743.5584038893306 +powermeter script : average_power with numpy arrays = 743.5584038892612 +powermeter script : Summary Result = time (s): 601.4370169639587 +Ins Current (mA):136.18604837204344 +Samples: 3000000 +Consumed Energy (mAs): 88710.29058877208 +Consumed Energy (mAh): 24.641747385770024 +Consumed Energy (mWs): 446864.0811949229 +Consumed Energy (mWh): 124.12891144303414 +Avg power (mW): 743.5584038893306 +Avg Current (mA): 147.56130337173033 +Avg Voltage (V): 5.03897964370909 +Exp Batt Life (hrs for 1000mAh battery): NOT COMPUTED +--- Monsoon power meter sampling is finished ! + --- experiment folder path /mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/last_tmp_expermiment_folder +--- frequency level of core 0 is 3 +--- frequency level of core 1 is 3 +--- frequency level of core 2 is 0 +--- frequency level of core 3 is 0 +--- frequency level of core 4 is 0 +--- frequency level of core 5 is 0 +--- frequency level of core 6 is 0 +--- frequency level of core 7 is 0 +--- Number of threads normally started = 2 +--- Number of thread ended: 2 +--- Now threads are stopped, getting the cc_info_level for samsung +--- Copying thread results locally +command /mnt/c/Program Files/Android/platform-tools_r33.0.1-windows/platform-tools/adb.exe pull /sdcard/experiments_automatization/app_output_folder C:\Users\lavoi\opportunist_task_on_android\scripts_valuable_files\experiment_automatization\last_tmp_expermiment_folder </dev/null +/sdcard/experiments_automatization/app_output_folder/: 4 files pulled, 0 skipped. 0.0 MB/s (908 bytes in 0.032s) +saving the logcat file to /mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/last_tmp_expermiment_folder -/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/last_tmp_expermiment_folder- +--- Parsing result from /mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/last_tmp_expermiment_folder to /mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/output_folder/raw_result.txt +--- Getting exact configuration with frequency +--- Configuration with frequencies = [1804800- 1804800- 0- 0- 0- 0- 0- 0] +--- Getting the powermeter summary +--- Powermeter summary: +time (s): 601.4370169639587 +Ins Current (mA):136.18604837204344 +Samples: 3000000 +Consumed Energy (mAs): 88710.29058877208 +Consumed Energy (mAh): 24.641747385770024 +Consumed Energy (mWs): 446864.0811949229 +Consumed Energy (mWh): 124.12891144303414 +Avg power (mW): 743.5584038893306 +Avg Current (mA): 147.56130337173033 +Avg Voltage (V): 5.03897964370909 + +--- Getting the total energy consumed of the google pixel +--- Energy consumed = 24.641747385770024 +--- Starting cc_info = 0 +--- Ending cc_info = 0 +--- Getting the average power +--- Avg Power = 743.5584038893306 +--- Printing the total threads summary +--- Thread results +Thread : 0 - ThreadProcess id: 24490 +---------------------------------------- +Starting time: Sun, 19 Dec 2021 01:16:25 +0100 +Core id: 0 +Ending time: Sun, 19 Dec 2021 01:26:26 +0100 - Duration: 600004 seconds +Real workload: 4.6581127271366806E10 - Integer reached: 128610 - Number of reset = 0 +Battery stats: 0 mAH +Computed Drain: Null +Start: 50 % - End: 50 +Cc_info at the beginning: 0 mAh +Cc_info at the end: 0 mAh +Cc_info variation: 0.0 mAh + +Thread : 1 - ThreadProcess id: 24491 +---------------------------------------- +Starting time: Sun, 19 Dec 2021 01:16:25 +0100 +Core id: 1 +Ending time: Sun, 19 Dec 2021 01:26:26 +0100 - Duration: 600002 seconds +Real workload: 4.65531402134896E10 - Integer reached: 128573 - Number of reset = 0 +Battery stats: 0 mAH +Computed Drain: Null +Start: 50 % - End: 50 +Cc_info at the beginning: 0 mAh +Cc_info at the end: 0 mAh +Cc_info variation: 0.0 mAh + + +--- Counting the total workload command : print_total_workload /mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/last_tmp_expermiment_folder app_output_folder 3,3,0,0,0,0,0,0 /mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first +--- Total workload : 9.31343e+10 +--- Getting energy efficiency +--- Energy efficiency: 2.64583e-10 +--- Building what we will add to the total result file command +------ + (build_configuration_raw_result 330000-0-0 3,3,0,0,0,0,0,0 [1804800- 1804800- 0- 0- 0- 0- 0- 0] time (s): 601.4370169639587 +Ins Current (mA):136.18604837204344 +Samples: 3000000 +Consumed Energy (mAs): 88710.29058877208 +Consumed Energy (mAh): 24.641747385770024 +Consumed Energy (mWs): 446864.0811949229 +Consumed Energy (mWh): 124.12891144303414 +Avg power (mW): 743.5584038893306 +Avg Current (mA): 147.56130337173033 +Avg Voltage (V): 5.03897964370909 + Thread : 0 - ThreadProcess id: 24490 +---------------------------------------- +Starting time: Sun, 19 Dec 2021 01:16:25 +0100 +Core id: 0 +Ending time: Sun, 19 Dec 2021 01:26:26 +0100 - Duration: 600004 seconds +Real workload: 4.6581127271366806E10 - Integer reached: 128610 - Number of reset = 0 +Battery stats: 0 mAH +Computed Drain: Null +Start: 50 % - End: 50 +Cc_info at the beginning: 0 mAh +Cc_info at the end: 0 mAh +Cc_info variation: 0.0 mAh + +Thread : 1 - ThreadProcess id: 24491 +---------------------------------------- +Starting time: Sun, 19 Dec 2021 01:16:25 +0100 +Core id: 1 +Ending time: Sun, 19 Dec 2021 01:26:26 +0100 - Duration: 600002 seconds +Real workload: 4.65531402134896E10 - Integer reached: 128573 - Number of reset = 0 +Battery stats: 0 mAH +Computed Drain: Null +Start: 50 % - End: 50 +Cc_info at the beginning: 0 mAh +Cc_info at the end: 0 mAh +Cc_info variation: 0.0 mAh + + 24.641747385770024 9.31343e+10 2.64583e-10 0 0 +------ + +--- Final result to print to File + -------------------------------------------------------------------------------- + +++++ +++++ +++++ Configuration Description +-------------------------------------------------------------------------------- +Configuration: 330000-0-0 +phone format: 3,3,0,0,0,0,0,0 +Exact values of frequencies: [1804800- 1804800- 0- 0- 0- 0- 0- 0] + +Power meter results +------------------------------------------------------------ +time (s): 601.4370169639587 +Ins Current (mA):136.18604837204344 +Samples: 3000000 +Consumed Energy (mAs): 88710.29058877208 +Consumed Energy (mAh): 24.641747385770024 +Consumed Energy (mWs): 446864.0811949229 +Consumed Energy (mWh): 124.12891144303414 +Avg power (mW): 743.5584038893306 +Avg Current (mA): 147.56130337173033 +Avg Voltage (V): 5.03897964370909 + +Threads results +------------------------------------------------------------ +Thread : 0 - ThreadProcess id: 24490 +---------------------------------------- +Starting time: Sun, 19 Dec 2021 01:16:25 +0100 +Core id: 0 +Ending time: Sun, 19 Dec 2021 01:26:26 +0100 - Duration: 600004 seconds +Real workload: 4.6581127271366806E10 - Integer reached: 128610 - Number of reset = 0 +Battery stats: 0 mAH +Computed Drain: Null +Start: 50 % - End: 50 +Cc_info at the beginning: 0 mAh +Cc_info at the end: 0 mAh +Cc_info variation: 0.0 mAh + +Thread : 1 - ThreadProcess id: 24491 +---------------------------------------- +Starting time: Sun, 19 Dec 2021 01:16:25 +0100 +Core id: 1 +Ending time: Sun, 19 Dec 2021 01:26:26 +0100 - Duration: 600002 seconds +Real workload: 4.65531402134896E10 - Integer reached: 128573 - Number of reset = 0 +Battery stats: 0 mAH +Computed Drain: Null +Start: 50 % - End: 50 +Cc_info at the beginning: 0 mAh +Cc_info at the end: 0 mAh +Cc_info variation: 0.0 mAh + + +Expermiment results +------------------------------------------------------------ +Energy Consumed (mAh): 24.641747385770024 +Workload: 9.31343e+10 +Energy efficiency: 2.64583e-10 +-------------------------------------------------------------------------------- + + +--- Writing to the total result file +--- Removing previous tested configuration tmp_output folder +removed '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__04Oct22_02_59_43/app_output_folder/all_workloads.txt' +removed '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__04Oct22_02_59_43/app_output_folder/Thread_0_ended' +removed '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__04Oct22_02_59_43/app_output_folder/Thread_0_ready_for_sampling' +removed '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__04Oct22_02_59_43/app_output_folder/Thread_1_ended' +removed '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__04Oct22_02_59_43/app_output_folder/Thread_1_ready_for_sampling' +removed directory '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__04Oct22_02_59_43/app_output_folder' +removed '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__04Oct22_02_59_43/configuration_mesurement.csv' +removed '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__04Oct22_02_59_43/energy_power_workload_energyByWorkload_ccInfo' +removed '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__04Oct22_02_59_43/logcat_output' +removed '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__04Oct22_02_59_43/powermeter_summary.txt' +removed directory '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__04Oct22_02_59_43' +--- Moving the current experiment tmp_folder to the output result folder +writing a temporary file for the main script with format energy_power_workload_energyByWorkload_ccInfo +--- Obtaining experiment summary result to add to result folder +--- Experiment result, Energy consumed = 24.641747385770024 +--- Experiment result, Avg Power = 743.5584038893306 +--- Experiment result, Total Workload = 9.31343e+10 +--- Experiment result, Energy Efficiency = 2.64583e-10 +--- Adding result to summary file +--- Starting cc information : 0 +--- Ending cc information : 0 +--- The file /mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/output_folder/summary.csv exists we just appending the result to the file +--- Experiments performed on configuration 330000-0-0. +--- Observing a pause betwenn experiment; pause duration : 180 seconds; starting at 04Oct22_03_12_29 +--- Performing experiments on configuration 400004-0-0 +--- Cleaning the tmp expermiment folder : /mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/last_tmp_expermiment_folder +--- Second step : verifying the battery level +--- Verifying the battery level +--- Getting current battery level, adb command path: /mnt/c/Program Files/Android/platform-tools_r33.0.1-windows/platform-tools/adb.exe +--- Current battery level : 50 +Current battery level: OKAY +--- Third step calibrating phone core frequency +--- Resetting all frequency configurations + -- Command used : echo schedutil > /sys/devices/system/cpu/cpu1/cpufreq/scaling_governor + -- Command used : echo schedutil > /sys/devices/system/cpu/cpu2/cpufreq/scaling_governor + -- Command used : echo schedutil > /sys/devices/system/cpu/cpu3/cpufreq/scaling_governor + -- Command used : echo schedutil > /sys/devices/system/cpu/cpu4/cpufreq/scaling_governor + -- Command used : echo schedutil > /sys/devices/system/cpu/cpu5/cpufreq/scaling_governor + -- Command used : echo schedutil > /sys/devices/system/cpu/cpu6/cpufreq/scaling_governor + -- Command used : echo schedutil > /sys/devices/system/cpu/cpu7/cpufreq/scaling_governor +--- Frequency level of core 0 is 4 +--- Modifying the governor of core 0 to set the default value +--- Modifying the governor of core 0 +--- Frequency level of core 1 is 0 +--- Exact frequency of core 1: 0 +--- Modifying the governor of core 1 +--- Modifying the the current frequency of core 1 with frequency 0 +--- Frequency level of core 2 is 0 +--- Exact frequency of core 2: 0 +--- Modifying the governor of core 2 +--- Modifying the the current frequency of core 2 with frequency 0 +--- Frequency level of core 3 is 0 +--- Exact frequency of core 3: 0 +--- Modifying the governor of core 3 +--- Modifying the the current frequency of core 3 with frequency 0 +--- Frequency level of core 4 is 0 +--- Exact frequency of core 4: 0 +--- Modifying the governor of core 4 +--- Modifying the the current frequency of core 4 with frequency 0 +--- Frequency level of core 5 is 4 +--- Modifying the governor of core 5 to set the default value +--- Modifying the governor of core 5 +--- Frequency level of core 6 is 0 +--- Exact frequency of core 6: 0 +--- Modifying the governor of core 6 +--- Modifying the the current frequency of core 6 with frequency 0 +--- Frequency level of core 7 is 0 +--- Exact frequency of core 7: 0 +--- Modifying the governor of core 7 +--- Modifying the the current frequency of core 7 with frequency 0 +--- Calibrating Monsoon power meter, please wait for 10 seconds... +powermeter script : --- Inside the monsoon_power_meter, arg function: 1 +powermeter script : calibration duration = 10 +powermeter script : Creating the Monsoon engine +powermeter script : Creating the Monsoon engine +powermeter script : Configuring channels the Monsoon engine +powermeter script : Configuring output to : C:\Users\lavoi\opportunist_task_on_android\scripts_valuable_files\experiment_automatization\last_tmp_expermiment_folder\configuration_mesurement.csv +powermeter script : Starting sampling; number of sample = 50000 + returning 50000 samples after experiments +powermeter script : Power meter calibration okay +--- Monsoon power meter Calibrated +--- starting the benchmarking app +## writing the configuration inside the phone file + --- Removing file /sdcard/experiments_automatization +rm '/sdcard/experiments_automatization/current_configuration.txt' +rm '/sdcard/experiments_automatization/experiment_duration.txt' +rm '/sdcard/experiments_automatization/app_output_folder/Thread_0_ready_for_sampling' +rm '/sdcard/experiments_automatization/app_output_folder/Thread_1_ready_for_sampling' +rm '/sdcard/experiments_automatization/app_output_folder/Thread_0_ended' +rm '/sdcard/experiments_automatization/app_output_folder/Thread_1_ended' +rmdir '/sdcard/experiments_automatization/app_output_folder' +rmdir '/sdcard/experiments_automatization' + --- Clearing the logcat + --- Creating file /sdcard/experiments_automatization +----- Uninstalling experiment app +Success +----- Installing experiment app +Performing Streamed Install +Success +------ Giving rights to experiment app +----- Starting experiment app +Starting: Intent { cmp=com.opportunistask.scheduling.benchmarking_app_to_test_big_cores/.MainActivity } +adb command : ps -A | grep com.opportunistask.scheduling.benchmarking_app_to_test_big_cores + ----- Experiment app started with pid: 25290 +---- waiting for benchmarking app thread to be pinned and to be ready +--- frequency level of core 0 is 4 +--- frequency level of core 1 is 0 +--- frequency level of core 2 is 0 +--- frequency level of core 3 is 0 +--- frequency level of core 4 is 0 +--- frequency level of core 5 is 4 +--- frequency level of core 6 is 0 +--- frequency level of core 7 is 0 +--- Number of cores to occupy = 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 2 +--- Now threads are running and the phone is ready to be sampled with the power meter \n--- Threads pids +Thread_0_ready_for_sampling +Thread_1_ready_for_sampling +--- Printing cc_info beginning datas (for the samsung galaxy s8) + --- Starting power meter sampling for about 600 seconds +--- Sampling with the Monsoon power meter +powermeter script : --- Inside the monsoon_power_meter, arg function: 2 +powermeter script : Experiment duration = 600 +powermeter script : Creating the Monsoon engine +powermeter script : Creating the Monsoon engine +powermeter script : Configuring channels the Monsoon engine +powermeter script : Configuring output to : C:\Users\lavoi\opportunist_task_on_android\scripts_valuable_files\experiment_automatization\last_tmp_expermiment_folder\configuration_mesurement.csv +powermeter script : Starting sampling; number of sample = 3000000 + returning 3000000 samples after experiments +powermeter script : Total nomber of sample measured : 3000000 +powermeter script : Computing powermeter summary result + Number of samples = 3000000 +powermeter script : We computed the energy on 600 samples +powermeter script : average_power = 1066.2012562271907 +powermeter script : average_power with numpy arrays = 1066.2012562271786 +powermeter script : Summary Result = time (s): 601.4081671237946 +Ins Current (mA):218.72276658158404 +Samples: 3000000 +Consumed Energy (mAs): 128474.54899945218 +Consumed Energy (mAh): 35.68737472207005 +Consumed Energy (mWs): 640832.3039042598 +Consumed Energy (mWh): 178.00897330673882 +Avg power (mW): 1066.2012562271907 +Avg Current (mA): 213.66313199156917 +Avg Voltage (V): 4.990104030999889 +Exp Batt Life (hrs for 1000mAh battery): NOT COMPUTED +--- Monsoon power meter sampling is finished ! + --- experiment folder path /mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/last_tmp_expermiment_folder +--- frequency level of core 0 is 4 +--- frequency level of core 1 is 0 +--- frequency level of core 2 is 0 +--- frequency level of core 3 is 0 +--- frequency level of core 4 is 0 +--- frequency level of core 5 is 4 +--- frequency level of core 6 is 0 +--- frequency level of core 7 is 0 +--- Number of threads normally started = 2 +--- Number of thread ended: 2 +--- Now threads are stopped, getting the cc_info_level for samsung +--- Copying thread results locally +command /mnt/c/Program Files/Android/platform-tools_r33.0.1-windows/platform-tools/adb.exe pull /sdcard/experiments_automatization/app_output_folder C:\Users\lavoi\opportunist_task_on_android\scripts_valuable_files\experiment_automatization\last_tmp_expermiment_folder </dev/null +/sdcard/experiments_automatization/app_output_folder/: 4 files pulled, 0 skipped. 0.0 MB/s (909 bytes in 0.019s) +saving the logcat file to /mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/last_tmp_expermiment_folder -/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/last_tmp_expermiment_folder- +--- Parsing result from /mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/last_tmp_expermiment_folder to /mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/output_folder/raw_result.txt +--- Getting exact configuration with frequency +--- Configuration with frequencies = [1804801- 0- 0- 0- 0- 1804801- 0- 0] +--- Getting the powermeter summary +--- Powermeter summary: +time (s): 601.4081671237946 +Ins Current (mA):218.72276658158404 +Samples: 3000000 +Consumed Energy (mAs): 128474.54899945218 +Consumed Energy (mAh): 35.68737472207005 +Consumed Energy (mWs): 640832.3039042598 +Consumed Energy (mWh): 178.00897330673882 +Avg power (mW): 1066.2012562271907 +Avg Current (mA): 213.66313199156917 +Avg Voltage (V): 4.990104030999889 + +--- Getting the total energy consumed of the google pixel +--- Energy consumed = 35.68737472207005 +--- Starting cc_info = 0 +--- Ending cc_info = 0 +--- Getting the average power +--- Avg Power = 1066.2012562271907 +--- Printing the total threads summary +--- Thread results +Thread : 0 - ThreadProcess id: 25315 +---------------------------------------- +Starting time: Sun, 19 Dec 2021 01:32:11 +0100 +Core id: 0 +Ending time: Sun, 19 Dec 2021 01:42:11 +0100 - Duration: 600005 seconds +Real workload: 1.5430930877252124E11 - Integer reached: 228336 - Number of reset = 0 +Battery stats: 0 mAH +Computed Drain: Null +Start: 50 % - End: 50 +Cc_info at the beginning: 0 mAh +Cc_info at the end: 0 mAh +Cc_info variation: 0.0 mAh + +Thread : 1 - ThreadProcess id: 25316 +---------------------------------------- +Starting time: Sun, 19 Dec 2021 01:32:11 +0100 +Core id: 5 +Ending time: Sun, 19 Dec 2021 01:42:12 +0100 - Duration: 600007 seconds +Real workload: 1.535481904036069E11 - Integer reached: 227795 - Number of reset = 0 +Battery stats: 0 mAH +Computed Drain: Null +Start: 50 % - End: 50 +Cc_info at the beginning: 0 mAh +Cc_info at the end: 0 mAh +Cc_info variation: 0.0 mAh + + +--- Counting the total workload command : print_total_workload /mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/last_tmp_expermiment_folder app_output_folder 4,0,0,0,0,4,0,0 /mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first +--- Total workload : 3.07857e+11 +--- Getting energy efficiency +--- Energy efficiency: 1.15922e-10 +--- Building what we will add to the total result file command +------ + (build_configuration_raw_result 400004-0-0 4,0,0,0,0,4,0,0 [1804801- 0- 0- 0- 0- 1804801- 0- 0] time (s): 601.4081671237946 +Ins Current (mA):218.72276658158404 +Samples: 3000000 +Consumed Energy (mAs): 128474.54899945218 +Consumed Energy (mAh): 35.68737472207005 +Consumed Energy (mWs): 640832.3039042598 +Consumed Energy (mWh): 178.00897330673882 +Avg power (mW): 1066.2012562271907 +Avg Current (mA): 213.66313199156917 +Avg Voltage (V): 4.990104030999889 + Thread : 0 - ThreadProcess id: 25315 +---------------------------------------- +Starting time: Sun, 19 Dec 2021 01:32:11 +0100 +Core id: 0 +Ending time: Sun, 19 Dec 2021 01:42:11 +0100 - Duration: 600005 seconds +Real workload: 1.5430930877252124E11 - Integer reached: 228336 - Number of reset = 0 +Battery stats: 0 mAH +Computed Drain: Null +Start: 50 % - End: 50 +Cc_info at the beginning: 0 mAh +Cc_info at the end: 0 mAh +Cc_info variation: 0.0 mAh + +Thread : 1 - ThreadProcess id: 25316 +---------------------------------------- +Starting time: Sun, 19 Dec 2021 01:32:11 +0100 +Core id: 5 +Ending time: Sun, 19 Dec 2021 01:42:12 +0100 - Duration: 600007 seconds +Real workload: 1.535481904036069E11 - Integer reached: 227795 - Number of reset = 0 +Battery stats: 0 mAH +Computed Drain: Null +Start: 50 % - End: 50 +Cc_info at the beginning: 0 mAh +Cc_info at the end: 0 mAh +Cc_info variation: 0.0 mAh + + 35.68737472207005 3.07857e+11 1.15922e-10 0 0 +------ + +--- Final result to print to File + -------------------------------------------------------------------------------- + +++++ +++++ +++++ Configuration Description +-------------------------------------------------------------------------------- +Configuration: 400004-0-0 +phone format: 4,0,0,0,0,4,0,0 +Exact values of frequencies: [1804801- 0- 0- 0- 0- 1804801- 0- 0] + +Power meter results +------------------------------------------------------------ +time (s): 601.4081671237946 +Ins Current (mA):218.72276658158404 +Samples: 3000000 +Consumed Energy (mAs): 128474.54899945218 +Consumed Energy (mAh): 35.68737472207005 +Consumed Energy (mWs): 640832.3039042598 +Consumed Energy (mWh): 178.00897330673882 +Avg power (mW): 1066.2012562271907 +Avg Current (mA): 213.66313199156917 +Avg Voltage (V): 4.990104030999889 + +Threads results +------------------------------------------------------------ +Thread : 0 - ThreadProcess id: 25315 +---------------------------------------- +Starting time: Sun, 19 Dec 2021 01:32:11 +0100 +Core id: 0 +Ending time: Sun, 19 Dec 2021 01:42:11 +0100 - Duration: 600005 seconds +Real workload: 1.5430930877252124E11 - Integer reached: 228336 - Number of reset = 0 +Battery stats: 0 mAH +Computed Drain: Null +Start: 50 % - End: 50 +Cc_info at the beginning: 0 mAh +Cc_info at the end: 0 mAh +Cc_info variation: 0.0 mAh + +Thread : 1 - ThreadProcess id: 25316 +---------------------------------------- +Starting time: Sun, 19 Dec 2021 01:32:11 +0100 +Core id: 5 +Ending time: Sun, 19 Dec 2021 01:42:12 +0100 - Duration: 600007 seconds +Real workload: 1.535481904036069E11 - Integer reached: 227795 - Number of reset = 0 +Battery stats: 0 mAH +Computed Drain: Null +Start: 50 % - End: 50 +Cc_info at the beginning: 0 mAh +Cc_info at the end: 0 mAh +Cc_info variation: 0.0 mAh + + +Expermiment results +------------------------------------------------------------ +Energy Consumed (mAh): 35.68737472207005 +Workload: 3.07857e+11 +Energy efficiency: 1.15922e-10 +-------------------------------------------------------------------------------- + + +--- Writing to the total result file +--- Removing previous tested configuration tmp_output folder +removed '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__04Oct22_03_15_31/app_output_folder/all_workloads.txt' +removed '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__04Oct22_03_15_31/app_output_folder/Thread_0_ended' +removed '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__04Oct22_03_15_31/app_output_folder/Thread_0_ready_for_sampling' +removed '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__04Oct22_03_15_31/app_output_folder/Thread_1_ended' +removed '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__04Oct22_03_15_31/app_output_folder/Thread_1_ready_for_sampling' +removed directory '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__04Oct22_03_15_31/app_output_folder' +removed '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__04Oct22_03_15_31/configuration_mesurement.csv' +removed '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__04Oct22_03_15_31/energy_power_workload_energyByWorkload_ccInfo' +removed '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__04Oct22_03_15_31/logcat_output' +removed '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__04Oct22_03_15_31/powermeter_summary.txt' +removed directory '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__04Oct22_03_15_31' +--- Moving the current experiment tmp_folder to the output result folder +writing a temporary file for the main script with format energy_power_workload_energyByWorkload_ccInfo +--- Obtaining experiment summary result to add to result folder +--- Experiment result, Energy consumed = 35.68737472207005 +--- Experiment result, Avg Power = 1066.2012562271907 +--- Experiment result, Total Workload = 3.07857e+11 +--- Experiment result, Energy Efficiency = 1.15922e-10 +--- Adding result to summary file +--- Starting cc information : 0 +--- Ending cc information : 0 +--- The file /mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/output_folder/summary.csv exists we just appending the result to the file +--- Experiments performed on configuration 400004-0-0. +--- Observing a pause betwenn experiment; pause duration : 180 seconds; starting at 04Oct22_03_28_14 +--- Performing experiments on configuration 400004-0-0 +--- Cleaning the tmp expermiment folder : /mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/last_tmp_expermiment_folder +--- Second step : verifying the battery level +--- Verifying the battery level +--- Getting current battery level, adb command path: /mnt/c/Program Files/Android/platform-tools_r33.0.1-windows/platform-tools/adb.exe +--- Current battery level : 50 +Current battery level: OKAY +--- Third step calibrating phone core frequency +--- Resetting all frequency configurations + -- Command used : echo schedutil > /sys/devices/system/cpu/cpu1/cpufreq/scaling_governor + -- Command used : echo schedutil > /sys/devices/system/cpu/cpu2/cpufreq/scaling_governor + -- Command used : echo schedutil > /sys/devices/system/cpu/cpu3/cpufreq/scaling_governor + -- Command used : echo schedutil > /sys/devices/system/cpu/cpu4/cpufreq/scaling_governor + -- Command used : echo schedutil > /sys/devices/system/cpu/cpu5/cpufreq/scaling_governor + -- Command used : echo schedutil > /sys/devices/system/cpu/cpu6/cpufreq/scaling_governor + -- Command used : echo schedutil > /sys/devices/system/cpu/cpu7/cpufreq/scaling_governor +--- Frequency level of core 0 is 4 +--- Modifying the governor of core 0 to set the default value +--- Modifying the governor of core 0 +--- Frequency level of core 1 is 0 +--- Exact frequency of core 1: 0 +--- Modifying the governor of core 1 +--- Modifying the the current frequency of core 1 with frequency 0 +--- Frequency level of core 2 is 0 +--- Exact frequency of core 2: 0 +--- Modifying the governor of core 2 +--- Modifying the the current frequency of core 2 with frequency 0 +--- Frequency level of core 3 is 0 +--- Exact frequency of core 3: 0 +--- Modifying the governor of core 3 +--- Modifying the the current frequency of core 3 with frequency 0 +--- Frequency level of core 4 is 0 +--- Exact frequency of core 4: 0 +--- Modifying the governor of core 4 +--- Modifying the the current frequency of core 4 with frequency 0 +--- Frequency level of core 5 is 4 +--- Modifying the governor of core 5 to set the default value +--- Modifying the governor of core 5 +--- Frequency level of core 6 is 0 +--- Exact frequency of core 6: 0 +--- Modifying the governor of core 6 +--- Modifying the the current frequency of core 6 with frequency 0 +--- Frequency level of core 7 is 0 +--- Exact frequency of core 7: 0 +--- Modifying the governor of core 7 +--- Modifying the the current frequency of core 7 with frequency 0 +--- Calibrating Monsoon power meter, please wait for 10 seconds... +powermeter script : --- Inside the monsoon_power_meter, arg function: 1 +powermeter script : calibration duration = 10 +powermeter script : Creating the Monsoon engine +powermeter script : Creating the Monsoon engine +powermeter script : Configuring channels the Monsoon engine +powermeter script : Configuring output to : C:\Users\lavoi\opportunist_task_on_android\scripts_valuable_files\experiment_automatization\last_tmp_expermiment_folder\configuration_mesurement.csv +powermeter script : Starting sampling; number of sample = 50000 + returning 50000 samples after experiments +powermeter script : Power meter calibration okay +--- Monsoon power meter Calibrated +--- starting the benchmarking app +## writing the configuration inside the phone file + --- Removing file /sdcard/experiments_automatization +rm '/sdcard/experiments_automatization/current_configuration.txt' +rm '/sdcard/experiments_automatization/experiment_duration.txt' +rm '/sdcard/experiments_automatization/app_output_folder/Thread_0_ready_for_sampling' +rm '/sdcard/experiments_automatization/app_output_folder/Thread_1_ready_for_sampling' +rm '/sdcard/experiments_automatization/app_output_folder/Thread_0_ended' +rm '/sdcard/experiments_automatization/app_output_folder/Thread_1_ended' +rmdir '/sdcard/experiments_automatization/app_output_folder' +rmdir '/sdcard/experiments_automatization' + --- Clearing the logcat + --- Creating file /sdcard/experiments_automatization +----- Uninstalling experiment app +Success +----- Installing experiment app +Performing Streamed Install +Success +------ Giving rights to experiment app +----- Starting experiment app +Starting: Intent { cmp=com.opportunistask.scheduling.benchmarking_app_to_test_big_cores/.MainActivity } +adb command : ps -A | grep com.opportunistask.scheduling.benchmarking_app_to_test_big_cores + ----- Experiment app started with pid: 26119 +---- waiting for benchmarking app thread to be pinned and to be ready +--- frequency level of core 0 is 4 +--- frequency level of core 1 is 0 +--- frequency level of core 2 is 0 +--- frequency level of core 3 is 0 +--- frequency level of core 4 is 0 +--- frequency level of core 5 is 4 +--- frequency level of core 6 is 0 +--- frequency level of core 7 is 0 +--- Number of cores to occupy = 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 2 +--- Now threads are running and the phone is ready to be sampled with the power meter \n--- Threads pids +Thread_0_ready_for_sampling +Thread_1_ready_for_sampling +--- Printing cc_info beginning datas (for the samsung galaxy s8) + --- Starting power meter sampling for about 600 seconds +--- Sampling with the Monsoon power meter +powermeter script : --- Inside the monsoon_power_meter, arg function: 2 +powermeter script : Experiment duration = 600 +powermeter script : Creating the Monsoon engine +powermeter script : Creating the Monsoon engine +powermeter script : Configuring channels the Monsoon engine +powermeter script : Configuring output to : C:\Users\lavoi\opportunist_task_on_android\scripts_valuable_files\experiment_automatization\last_tmp_expermiment_folder\configuration_mesurement.csv +powermeter script : Starting sampling; number of sample = 3000000 + returning 3000000 samples after experiments +powermeter script : Total nomber of sample measured : 3000000 +powermeter script : Computing powermeter summary result + Number of samples = 3000000 +powermeter script : We computed the energy on 600 samples +powermeter script : average_power = 1083.1078081043274 +powermeter script : average_power with numpy arrays = 1083.1078081043954 +powermeter script : Summary Result = time (s): 601.5736153125763 +Ins Current (mA):199.13287312707862 +Samples: 3000000 +Consumed Energy (mAs): 130558.6057064552 +Consumed Energy (mAh): 36.26627936290422 +Consumed Energy (mWs): 651018.8704777912 +Consumed Energy (mWh): 180.83857513271977 +Avg power (mW): 1083.1078081043274 +Avg Current (mA): 217.16693800503822 +Avg Voltage (V): 4.987443383666438 +Exp Batt Life (hrs for 1000mAh battery): NOT COMPUTED +--- Monsoon power meter sampling is finished ! + --- experiment folder path /mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/last_tmp_expermiment_folder +--- frequency level of core 0 is 4 +--- frequency level of core 1 is 0 +--- frequency level of core 2 is 0 +--- frequency level of core 3 is 0 +--- frequency level of core 4 is 0 +--- frequency level of core 5 is 4 +--- frequency level of core 6 is 0 +--- frequency level of core 7 is 0 +--- Number of threads normally started = 2 +--- Number of thread ended: 2 +--- Now threads are stopped, getting the cc_info_level for samsung +--- Copying thread results locally +command /mnt/c/Program Files/Android/platform-tools_r33.0.1-windows/platform-tools/adb.exe pull /sdcard/experiments_automatization/app_output_folder C:\Users\lavoi\opportunist_task_on_android\scripts_valuable_files\experiment_automatization\last_tmp_expermiment_folder </dev/null +/sdcard/experiments_automatization/app_output_folder/: 4 files pulled, 0 skipped. 0.0 MB/s (910 bytes in 0.036s) +saving the logcat file to /mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/last_tmp_expermiment_folder -/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/last_tmp_expermiment_folder- +--- Parsing result from /mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/last_tmp_expermiment_folder to /mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/output_folder/raw_result.txt +--- Getting exact configuration with frequency +--- Configuration with frequencies = [1804801- 0- 0- 0- 0- 1804801- 0- 0] +--- Getting the powermeter summary +--- Powermeter summary: +time (s): 601.5736153125763 +Ins Current (mA):199.13287312707862 +Samples: 3000000 +Consumed Energy (mAs): 130558.6057064552 +Consumed Energy (mAh): 36.26627936290422 +Consumed Energy (mWs): 651018.8704777912 +Consumed Energy (mWh): 180.83857513271977 +Avg power (mW): 1083.1078081043274 +Avg Current (mA): 217.16693800503822 +Avg Voltage (V): 4.987443383666438 + +--- Getting the total energy consumed of the google pixel +--- Energy consumed = 36.26627936290422 +--- Starting cc_info = 0 +--- Ending cc_info = 0 +--- Getting the average power +--- Avg Power = 1083.1078081043274 +--- Printing the total threads summary +--- Thread results +Thread : 0 - ThreadProcess id: 26144 +---------------------------------------- +Starting time: Sun, 19 Dec 2021 01:47:57 +0100 +Core id: 0 +Ending time: Sun, 19 Dec 2021 01:57:57 +0100 - Duration: 600002 seconds +Real workload: 1.5437129702100507E11 - Integer reached: 228380 - Number of reset = 0 +Battery stats: 0 mAH +Computed Drain: Null +Start: 50 % - End: 50 +Cc_info at the beginning: 0 mAh +Cc_info at the end: 0 mAh +Cc_info variation: 0.0 mAh + +Thread : 1 - ThreadProcess id: 26145 +---------------------------------------- +Starting time: Sun, 19 Dec 2021 01:47:57 +0100 +Core id: 5 +Ending time: Sun, 19 Dec 2021 01:57:57 +0100 - Duration: 600002 seconds +Real workload: 1.5344423355160492E11 - Integer reached: 227721 - Number of reset = 0 +Battery stats: 0 mAH +Computed Drain: Null +Start: 50 % - End: 50 +Cc_info at the beginning: 0 mAh +Cc_info at the end: 0 mAh +Cc_info variation: 0.0 mAh + + +--- Counting the total workload command : print_total_workload /mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/last_tmp_expermiment_folder app_output_folder 4,0,0,0,0,4,0,0 /mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first +--- Total workload : 3.07816e+11 +--- Getting energy efficiency +--- Energy efficiency: 1.17818e-10 +--- Building what we will add to the total result file command +------ + (build_configuration_raw_result 400004-0-0 4,0,0,0,0,4,0,0 [1804801- 0- 0- 0- 0- 1804801- 0- 0] time (s): 601.5736153125763 +Ins Current (mA):199.13287312707862 +Samples: 3000000 +Consumed Energy (mAs): 130558.6057064552 +Consumed Energy (mAh): 36.26627936290422 +Consumed Energy (mWs): 651018.8704777912 +Consumed Energy (mWh): 180.83857513271977 +Avg power (mW): 1083.1078081043274 +Avg Current (mA): 217.16693800503822 +Avg Voltage (V): 4.987443383666438 + Thread : 0 - ThreadProcess id: 26144 +---------------------------------------- +Starting time: Sun, 19 Dec 2021 01:47:57 +0100 +Core id: 0 +Ending time: Sun, 19 Dec 2021 01:57:57 +0100 - Duration: 600002 seconds +Real workload: 1.5437129702100507E11 - Integer reached: 228380 - Number of reset = 0 +Battery stats: 0 mAH +Computed Drain: Null +Start: 50 % - End: 50 +Cc_info at the beginning: 0 mAh +Cc_info at the end: 0 mAh +Cc_info variation: 0.0 mAh + +Thread : 1 - ThreadProcess id: 26145 +---------------------------------------- +Starting time: Sun, 19 Dec 2021 01:47:57 +0100 +Core id: 5 +Ending time: Sun, 19 Dec 2021 01:57:57 +0100 - Duration: 600002 seconds +Real workload: 1.5344423355160492E11 - Integer reached: 227721 - Number of reset = 0 +Battery stats: 0 mAH +Computed Drain: Null +Start: 50 % - End: 50 +Cc_info at the beginning: 0 mAh +Cc_info at the end: 0 mAh +Cc_info variation: 0.0 mAh + + 36.26627936290422 3.07816e+11 1.17818e-10 0 0 +------ + +--- Final result to print to File + -------------------------------------------------------------------------------- + +++++ +++++ +++++ Configuration Description +-------------------------------------------------------------------------------- +Configuration: 400004-0-0 +phone format: 4,0,0,0,0,4,0,0 +Exact values of frequencies: [1804801- 0- 0- 0- 0- 1804801- 0- 0] + +Power meter results +------------------------------------------------------------ +time (s): 601.5736153125763 +Ins Current (mA):199.13287312707862 +Samples: 3000000 +Consumed Energy (mAs): 130558.6057064552 +Consumed Energy (mAh): 36.26627936290422 +Consumed Energy (mWs): 651018.8704777912 +Consumed Energy (mWh): 180.83857513271977 +Avg power (mW): 1083.1078081043274 +Avg Current (mA): 217.16693800503822 +Avg Voltage (V): 4.987443383666438 + +Threads results +------------------------------------------------------------ +Thread : 0 - ThreadProcess id: 26144 +---------------------------------------- +Starting time: Sun, 19 Dec 2021 01:47:57 +0100 +Core id: 0 +Ending time: Sun, 19 Dec 2021 01:57:57 +0100 - Duration: 600002 seconds +Real workload: 1.5437129702100507E11 - Integer reached: 228380 - Number of reset = 0 +Battery stats: 0 mAH +Computed Drain: Null +Start: 50 % - End: 50 +Cc_info at the beginning: 0 mAh +Cc_info at the end: 0 mAh +Cc_info variation: 0.0 mAh + +Thread : 1 - ThreadProcess id: 26145 +---------------------------------------- +Starting time: Sun, 19 Dec 2021 01:47:57 +0100 +Core id: 5 +Ending time: Sun, 19 Dec 2021 01:57:57 +0100 - Duration: 600002 seconds +Real workload: 1.5344423355160492E11 - Integer reached: 227721 - Number of reset = 0 +Battery stats: 0 mAH +Computed Drain: Null +Start: 50 % - End: 50 +Cc_info at the beginning: 0 mAh +Cc_info at the end: 0 mAh +Cc_info variation: 0.0 mAh + + +Expermiment results +------------------------------------------------------------ +Energy Consumed (mAh): 36.26627936290422 +Workload: 3.07816e+11 +Energy efficiency: 1.17818e-10 +-------------------------------------------------------------------------------- + + +--- Writing to the total result file +--- Removing previous tested configuration tmp_output folder +removed '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__04Oct22_03_31_16/app_output_folder/all_workloads.txt' +removed '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__04Oct22_03_31_16/app_output_folder/Thread_0_ended' +removed '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__04Oct22_03_31_16/app_output_folder/Thread_0_ready_for_sampling' +removed '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__04Oct22_03_31_16/app_output_folder/Thread_1_ended' +removed '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__04Oct22_03_31_16/app_output_folder/Thread_1_ready_for_sampling' +removed directory '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__04Oct22_03_31_16/app_output_folder' +removed '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__04Oct22_03_31_16/configuration_mesurement.csv' +removed '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__04Oct22_03_31_16/energy_power_workload_energyByWorkload_ccInfo' +removed '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__04Oct22_03_31_16/logcat_output' +removed '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__04Oct22_03_31_16/powermeter_summary.txt' +removed directory '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__04Oct22_03_31_16' +--- Moving the current experiment tmp_folder to the output result folder +writing a temporary file for the main script with format energy_power_workload_energyByWorkload_ccInfo +--- Obtaining experiment summary result to add to result folder +--- Experiment result, Energy consumed = 36.26627936290422 +--- Experiment result, Avg Power = 1083.1078081043274 +--- Experiment result, Total Workload = 3.07816e+11 +--- Experiment result, Energy Efficiency = 1.17818e-10 +--- Adding result to summary file +--- Starting cc information : 0 +--- Ending cc information : 0 +--- The file /mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/output_folder/summary.csv exists we just appending the result to the file +--- Experiments performed on configuration 400004-0-0. +--- Observing a pause betwenn experiment; pause duration : 180 seconds; starting at 04Oct22_03_44_00 +--- Performing experiments on configuration 400004-0-0 +--- Cleaning the tmp expermiment folder : /mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/last_tmp_expermiment_folder +--- Second step : verifying the battery level +--- Verifying the battery level +--- Getting current battery level, adb command path: /mnt/c/Program Files/Android/platform-tools_r33.0.1-windows/platform-tools/adb.exe +--- Current battery level : 50 +Current battery level: OKAY +--- Third step calibrating phone core frequency +--- Resetting all frequency configurations + -- Command used : echo schedutil > /sys/devices/system/cpu/cpu1/cpufreq/scaling_governor + -- Command used : echo schedutil > /sys/devices/system/cpu/cpu2/cpufreq/scaling_governor + -- Command used : echo schedutil > /sys/devices/system/cpu/cpu3/cpufreq/scaling_governor + -- Command used : echo schedutil > /sys/devices/system/cpu/cpu4/cpufreq/scaling_governor + -- Command used : echo schedutil > /sys/devices/system/cpu/cpu5/cpufreq/scaling_governor + -- Command used : echo schedutil > /sys/devices/system/cpu/cpu6/cpufreq/scaling_governor + -- Command used : echo schedutil > /sys/devices/system/cpu/cpu7/cpufreq/scaling_governor +--- Frequency level of core 0 is 4 +--- Modifying the governor of core 0 to set the default value +--- Modifying the governor of core 0 +--- Frequency level of core 1 is 0 +--- Exact frequency of core 1: 0 +--- Modifying the governor of core 1 +--- Modifying the the current frequency of core 1 with frequency 0 +--- Frequency level of core 2 is 0 +--- Exact frequency of core 2: 0 +--- Modifying the governor of core 2 +--- Modifying the the current frequency of core 2 with frequency 0 +--- Frequency level of core 3 is 0 +--- Exact frequency of core 3: 0 +--- Modifying the governor of core 3 +--- Modifying the the current frequency of core 3 with frequency 0 +--- Frequency level of core 4 is 0 +--- Exact frequency of core 4: 0 +--- Modifying the governor of core 4 +--- Modifying the the current frequency of core 4 with frequency 0 +--- Frequency level of core 5 is 4 +--- Modifying the governor of core 5 to set the default value +--- Modifying the governor of core 5 +--- Frequency level of core 6 is 0 +--- Exact frequency of core 6: 0 +--- Modifying the governor of core 6 +--- Modifying the the current frequency of core 6 with frequency 0 +--- Frequency level of core 7 is 0 +--- Exact frequency of core 7: 0 +--- Modifying the governor of core 7 +--- Modifying the the current frequency of core 7 with frequency 0 +--- Calibrating Monsoon power meter, please wait for 10 seconds... +powermeter script : --- Inside the monsoon_power_meter, arg function: 1 +powermeter script : calibration duration = 10 +powermeter script : Creating the Monsoon engine +powermeter script : Creating the Monsoon engine +powermeter script : Configuring channels the Monsoon engine +powermeter script : Configuring output to : C:\Users\lavoi\opportunist_task_on_android\scripts_valuable_files\experiment_automatization\last_tmp_expermiment_folder\configuration_mesurement.csv +powermeter script : Starting sampling; number of sample = 50000 + returning 50000 samples after experiments +powermeter script : Power meter calibration okay +--- Monsoon power meter Calibrated +--- starting the benchmarking app +## writing the configuration inside the phone file + --- Removing file /sdcard/experiments_automatization +rm '/sdcard/experiments_automatization/current_configuration.txt' +rm '/sdcard/experiments_automatization/experiment_duration.txt' +rm '/sdcard/experiments_automatization/app_output_folder/Thread_0_ready_for_sampling' +rm '/sdcard/experiments_automatization/app_output_folder/Thread_1_ready_for_sampling' +rm '/sdcard/experiments_automatization/app_output_folder/Thread_0_ended' +rm '/sdcard/experiments_automatization/app_output_folder/Thread_1_ended' +rmdir '/sdcard/experiments_automatization/app_output_folder' +rmdir '/sdcard/experiments_automatization' + --- Clearing the logcat + --- Creating file /sdcard/experiments_automatization +----- Uninstalling experiment app +Success +----- Installing experiment app +Performing Streamed Install +Success +------ Giving rights to experiment app +----- Starting experiment app +Starting: Intent { cmp=com.opportunistask.scheduling.benchmarking_app_to_test_big_cores/.MainActivity } +adb command : ps -A | grep com.opportunistask.scheduling.benchmarking_app_to_test_big_cores + ----- Experiment app started with pid: 27269 +---- waiting for benchmarking app thread to be pinned and to be ready +--- frequency level of core 0 is 4 +--- frequency level of core 1 is 0 +--- frequency level of core 2 is 0 +--- frequency level of core 3 is 0 +--- frequency level of core 4 is 0 +--- frequency level of core 5 is 4 +--- frequency level of core 6 is 0 +--- frequency level of core 7 is 0 +--- Number of cores to occupy = 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 2 +--- Now threads are running and the phone is ready to be sampled with the power meter \n--- Threads pids +Thread_0_ready_for_sampling +Thread_1_ready_for_sampling +--- Printing cc_info beginning datas (for the samsung galaxy s8) + --- Starting power meter sampling for about 600 seconds +--- Sampling with the Monsoon power meter +powermeter script : --- Inside the monsoon_power_meter, arg function: 2 +powermeter script : Experiment duration = 600 +powermeter script : Creating the Monsoon engine +powermeter script : Creating the Monsoon engine +powermeter script : Configuring channels the Monsoon engine +powermeter script : Configuring output to : C:\Users\lavoi\opportunist_task_on_android\scripts_valuable_files\experiment_automatization\last_tmp_expermiment_folder\configuration_mesurement.csv +powermeter script : Starting sampling; number of sample = 3000000 + returning 3000000 samples after experiments +powermeter script : Total nomber of sample measured : 3000000 +powermeter script : Computing powermeter summary result + Number of samples = 3000000 +powermeter script : We computed the energy on 600 samples +powermeter script : average_power = 1065.0050069453305 +powermeter script : average_power with numpy arrays = 1065.0050069451975 +powermeter script : Summary Result = time (s): 601.2370843887329 +Ins Current (mA):188.52463569346818 +Samples: 3000000 +Consumed Energy (mAs): 128691.11679715358 +Consumed Energy (mAh): 35.74753244365377 +Consumed Energy (mWs): 641904.8614997296 +Consumed Energy (mWh): 178.3069059721471 +Avg power (mW): 1065.0050069453305 +Avg Current (mA): 213.415002828587 +Avg Voltage (V): 4.9903005544588295 +Exp Batt Life (hrs for 1000mAh battery): NOT COMPUTED +--- Monsoon power meter sampling is finished ! + --- experiment folder path /mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/last_tmp_expermiment_folder +--- frequency level of core 0 is 4 +--- frequency level of core 1 is 0 +--- frequency level of core 2 is 0 +--- frequency level of core 3 is 0 +--- frequency level of core 4 is 0 +--- frequency level of core 5 is 4 +--- frequency level of core 6 is 0 +--- frequency level of core 7 is 0 +--- Number of threads normally started = 2 +--- Number of thread ended: 2 +--- Now threads are stopped, getting the cc_info_level for samsung +--- Copying thread results locally +command /mnt/c/Program Files/Android/platform-tools_r33.0.1-windows/platform-tools/adb.exe pull /sdcard/experiments_automatization/app_output_folder C:\Users\lavoi\opportunist_task_on_android\scripts_valuable_files\experiment_automatization\last_tmp_expermiment_folder </dev/null +/sdcard/experiments_automatization/app_output_folder/: 4 files pulled, 0 skipped. 0.0 MB/s (910 bytes in 0.033s) +saving the logcat file to /mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/last_tmp_expermiment_folder -/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/last_tmp_expermiment_folder- +--- Parsing result from /mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/last_tmp_expermiment_folder to /mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/output_folder/raw_result.txt +--- Getting exact configuration with frequency +--- Configuration with frequencies = [1804801- 0- 0- 0- 0- 1804801- 0- 0] +--- Getting the powermeter summary +--- Powermeter summary: +time (s): 601.2370843887329 +Ins Current (mA):188.52463569346818 +Samples: 3000000 +Consumed Energy (mAs): 128691.11679715358 +Consumed Energy (mAh): 35.74753244365377 +Consumed Energy (mWs): 641904.8614997296 +Consumed Energy (mWh): 178.3069059721471 +Avg power (mW): 1065.0050069453305 +Avg Current (mA): 213.415002828587 +Avg Voltage (V): 4.9903005544588295 + +--- Getting the total energy consumed of the google pixel +--- Energy consumed = 35.74753244365377 +--- Starting cc_info = 0 +--- Ending cc_info = 0 +--- Getting the average power +--- Avg Power = 1065.0050069453305 +--- Printing the total threads summary +--- Thread results +Thread : 0 - ThreadProcess id: 27294 +---------------------------------------- +Starting time: Sun, 19 Dec 2021 02:03:43 +0100 +Core id: 0 +Ending time: Sun, 19 Dec 2021 02:13:43 +0100 - Duration: 600001 seconds +Real workload: 1.5403333619768134E11 - Integer reached: 228140 - Number of reset = 0 +Battery stats: 0 mAH +Computed Drain: Null +Start: 50 % - End: 50 +Cc_info at the beginning: 0 mAh +Cc_info at the end: 0 mAh +Cc_info variation: 0.0 mAh + +Thread : 1 - ThreadProcess id: 27295 +---------------------------------------- +Starting time: Sun, 19 Dec 2021 02:03:43 +0100 +Core id: 5 +Ending time: Sun, 19 Dec 2021 02:13:43 +0100 - Duration: 600006 seconds +Real workload: 1.5431071737867676E11 - Integer reached: 228337 - Number of reset = 0 +Battery stats: 0 mAH +Computed Drain: Null +Start: 50 % - End: 50 +Cc_info at the beginning: 0 mAh +Cc_info at the end: 0 mAh +Cc_info variation: 0.0 mAh + + +--- Counting the total workload command : print_total_workload /mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/last_tmp_expermiment_folder app_output_folder 4,0,0,0,0,4,0,0 /mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first +--- Total workload : 3.08344e+11 +--- Getting energy efficiency +--- Energy efficiency: 1.15934e-10 +--- Building what we will add to the total result file command +------ + (build_configuration_raw_result 400004-0-0 4,0,0,0,0,4,0,0 [1804801- 0- 0- 0- 0- 1804801- 0- 0] time (s): 601.2370843887329 +Ins Current (mA):188.52463569346818 +Samples: 3000000 +Consumed Energy (mAs): 128691.11679715358 +Consumed Energy (mAh): 35.74753244365377 +Consumed Energy (mWs): 641904.8614997296 +Consumed Energy (mWh): 178.3069059721471 +Avg power (mW): 1065.0050069453305 +Avg Current (mA): 213.415002828587 +Avg Voltage (V): 4.9903005544588295 + Thread : 0 - ThreadProcess id: 27294 +---------------------------------------- +Starting time: Sun, 19 Dec 2021 02:03:43 +0100 +Core id: 0 +Ending time: Sun, 19 Dec 2021 02:13:43 +0100 - Duration: 600001 seconds +Real workload: 1.5403333619768134E11 - Integer reached: 228140 - Number of reset = 0 +Battery stats: 0 mAH +Computed Drain: Null +Start: 50 % - End: 50 +Cc_info at the beginning: 0 mAh +Cc_info at the end: 0 mAh +Cc_info variation: 0.0 mAh + +Thread : 1 - ThreadProcess id: 27295 +---------------------------------------- +Starting time: Sun, 19 Dec 2021 02:03:43 +0100 +Core id: 5 +Ending time: Sun, 19 Dec 2021 02:13:43 +0100 - Duration: 600006 seconds +Real workload: 1.5431071737867676E11 - Integer reached: 228337 - Number of reset = 0 +Battery stats: 0 mAH +Computed Drain: Null +Start: 50 % - End: 50 +Cc_info at the beginning: 0 mAh +Cc_info at the end: 0 mAh +Cc_info variation: 0.0 mAh + + 35.74753244365377 3.08344e+11 1.15934e-10 0 0 +------ + +--- Final result to print to File + -------------------------------------------------------------------------------- + +++++ +++++ +++++ Configuration Description +-------------------------------------------------------------------------------- +Configuration: 400004-0-0 +phone format: 4,0,0,0,0,4,0,0 +Exact values of frequencies: [1804801- 0- 0- 0- 0- 1804801- 0- 0] + +Power meter results +------------------------------------------------------------ +time (s): 601.2370843887329 +Ins Current (mA):188.52463569346818 +Samples: 3000000 +Consumed Energy (mAs): 128691.11679715358 +Consumed Energy (mAh): 35.74753244365377 +Consumed Energy (mWs): 641904.8614997296 +Consumed Energy (mWh): 178.3069059721471 +Avg power (mW): 1065.0050069453305 +Avg Current (mA): 213.415002828587 +Avg Voltage (V): 4.9903005544588295 + +Threads results +------------------------------------------------------------ +Thread : 0 - ThreadProcess id: 27294 +---------------------------------------- +Starting time: Sun, 19 Dec 2021 02:03:43 +0100 +Core id: 0 +Ending time: Sun, 19 Dec 2021 02:13:43 +0100 - Duration: 600001 seconds +Real workload: 1.5403333619768134E11 - Integer reached: 228140 - Number of reset = 0 +Battery stats: 0 mAH +Computed Drain: Null +Start: 50 % - End: 50 +Cc_info at the beginning: 0 mAh +Cc_info at the end: 0 mAh +Cc_info variation: 0.0 mAh + +Thread : 1 - ThreadProcess id: 27295 +---------------------------------------- +Starting time: Sun, 19 Dec 2021 02:03:43 +0100 +Core id: 5 +Ending time: Sun, 19 Dec 2021 02:13:43 +0100 - Duration: 600006 seconds +Real workload: 1.5431071737867676E11 - Integer reached: 228337 - Number of reset = 0 +Battery stats: 0 mAH +Computed Drain: Null +Start: 50 % - End: 50 +Cc_info at the beginning: 0 mAh +Cc_info at the end: 0 mAh +Cc_info variation: 0.0 mAh + + +Expermiment results +------------------------------------------------------------ +Energy Consumed (mAh): 35.74753244365377 +Workload: 3.08344e+11 +Energy efficiency: 1.15934e-10 +-------------------------------------------------------------------------------- + + +--- Writing to the total result file +--- Removing previous tested configuration tmp_output folder +removed '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__04Oct22_03_47_02/app_output_folder/all_workloads.txt' +removed '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__04Oct22_03_47_02/app_output_folder/Thread_0_ended' +removed '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__04Oct22_03_47_02/app_output_folder/Thread_0_ready_for_sampling' +removed '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__04Oct22_03_47_02/app_output_folder/Thread_1_ended' +removed '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__04Oct22_03_47_02/app_output_folder/Thread_1_ready_for_sampling' +removed directory '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__04Oct22_03_47_02/app_output_folder' +removed '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__04Oct22_03_47_02/configuration_mesurement.csv' +removed '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__04Oct22_03_47_02/energy_power_workload_energyByWorkload_ccInfo' +removed '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__04Oct22_03_47_02/logcat_output' +removed '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__04Oct22_03_47_02/powermeter_summary.txt' +removed directory '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__04Oct22_03_47_02' +--- Moving the current experiment tmp_folder to the output result folder +writing a temporary file for the main script with format energy_power_workload_energyByWorkload_ccInfo +--- Obtaining experiment summary result to add to result folder +--- Experiment result, Energy consumed = 35.74753244365377 +--- Experiment result, Avg Power = 1065.0050069453305 +--- Experiment result, Total Workload = 3.08344e+11 +--- Experiment result, Energy Efficiency = 1.15934e-10 +--- Adding result to summary file +--- Starting cc information : 0 +--- Ending cc information : 0 +--- The file /mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/output_folder/summary.csv exists we just appending the result to the file +--- Experiments performed on configuration 400004-0-0. +--- Observing a pause betwenn experiment; pause duration : 180 seconds; starting at 04Oct22_03_59_46 +--- Performing experiments on configuration 400040-0-0 +--- Cleaning the tmp expermiment folder : /mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/last_tmp_expermiment_folder +--- Second step : verifying the battery level +--- Verifying the battery level +--- Getting current battery level, adb command path: /mnt/c/Program Files/Android/platform-tools_r33.0.1-windows/platform-tools/adb.exe +--- Current battery level : 50 +Current battery level: OKAY +--- Third step calibrating phone core frequency +--- Resetting all frequency configurations + -- Command used : echo schedutil > /sys/devices/system/cpu/cpu1/cpufreq/scaling_governor + -- Command used : echo schedutil > /sys/devices/system/cpu/cpu2/cpufreq/scaling_governor + -- Command used : echo schedutil > /sys/devices/system/cpu/cpu3/cpufreq/scaling_governor + -- Command used : echo schedutil > /sys/devices/system/cpu/cpu4/cpufreq/scaling_governor + -- Command used : echo schedutil > /sys/devices/system/cpu/cpu5/cpufreq/scaling_governor + -- Command used : echo schedutil > /sys/devices/system/cpu/cpu6/cpufreq/scaling_governor + -- Command used : echo schedutil > /sys/devices/system/cpu/cpu7/cpufreq/scaling_governor +--- Frequency level of core 0 is 4 +--- Modifying the governor of core 0 to set the default value +--- Modifying the governor of core 0 +--- Frequency level of core 1 is 0 +--- Exact frequency of core 1: 0 +--- Modifying the governor of core 1 +--- Modifying the the current frequency of core 1 with frequency 0 +--- Frequency level of core 2 is 0 +--- Exact frequency of core 2: 0 +--- Modifying the governor of core 2 +--- Modifying the the current frequency of core 2 with frequency 0 +--- Frequency level of core 3 is 0 +--- Exact frequency of core 3: 0 +--- Modifying the governor of core 3 +--- Modifying the the current frequency of core 3 with frequency 0 +--- Frequency level of core 4 is 4 +--- Modifying the governor of core 4 to set the default value +--- Modifying the governor of core 4 +--- Frequency level of core 5 is 0 +--- Exact frequency of core 5: 0 +--- Modifying the governor of core 5 +--- Modifying the the current frequency of core 5 with frequency 0 +--- Frequency level of core 6 is 0 +--- Exact frequency of core 6: 0 +--- Modifying the governor of core 6 +--- Modifying the the current frequency of core 6 with frequency 0 +--- Frequency level of core 7 is 0 +--- Exact frequency of core 7: 0 +--- Modifying the governor of core 7 +--- Modifying the the current frequency of core 7 with frequency 0 +--- Calibrating Monsoon power meter, please wait for 10 seconds... +powermeter script : --- Inside the monsoon_power_meter, arg function: 1 +powermeter script : calibration duration = 10 +powermeter script : Creating the Monsoon engine +powermeter script : Creating the Monsoon engine +powermeter script : Configuring channels the Monsoon engine +powermeter script : Configuring output to : C:\Users\lavoi\opportunist_task_on_android\scripts_valuable_files\experiment_automatization\last_tmp_expermiment_folder\configuration_mesurement.csv +powermeter script : Starting sampling; number of sample = 50000 + returning 50000 samples after experiments +powermeter script : Power meter calibration okay +--- Monsoon power meter Calibrated +--- starting the benchmarking app +## writing the configuration inside the phone file + --- Removing file /sdcard/experiments_automatization +rm '/sdcard/experiments_automatization/current_configuration.txt' +rm '/sdcard/experiments_automatization/experiment_duration.txt' +rm '/sdcard/experiments_automatization/app_output_folder/Thread_0_ready_for_sampling' +rm '/sdcard/experiments_automatization/app_output_folder/Thread_1_ready_for_sampling' +rm '/sdcard/experiments_automatization/app_output_folder/Thread_0_ended' +rm '/sdcard/experiments_automatization/app_output_folder/Thread_1_ended' +rmdir '/sdcard/experiments_automatization/app_output_folder' +rmdir '/sdcard/experiments_automatization' + --- Clearing the logcat + --- Creating file /sdcard/experiments_automatization +----- Uninstalling experiment app +Success +----- Installing experiment app +Performing Streamed Install +Success +------ Giving rights to experiment app +----- Starting experiment app +Starting: Intent { cmp=com.opportunistask.scheduling.benchmarking_app_to_test_big_cores/.MainActivity } +adb command : ps -A | grep com.opportunistask.scheduling.benchmarking_app_to_test_big_cores + ----- Experiment app started with pid: 28126 +---- waiting for benchmarking app thread to be pinned and to be ready +--- frequency level of core 0 is 4 +--- frequency level of core 1 is 0 +--- frequency level of core 2 is 0 +--- frequency level of core 3 is 0 +--- frequency level of core 4 is 4 +--- frequency level of core 5 is 0 +--- frequency level of core 6 is 0 +--- frequency level of core 7 is 0 +--- Number of cores to occupy = 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 1 +--- The current number of thread ready to be sambled : 1, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 2 +--- Now threads are running and the phone is ready to be sampled with the power meter \n--- Threads pids +Thread_0_ready_for_sampling +Thread_1_ready_for_sampling +--- Printing cc_info beginning datas (for the samsung galaxy s8) + --- Starting power meter sampling for about 600 seconds +--- Sampling with the Monsoon power meter +powermeter script : --- Inside the monsoon_power_meter, arg function: 2 +powermeter script : Experiment duration = 600 +powermeter script : Creating the Monsoon engine +powermeter script : Creating the Monsoon engine +powermeter script : Configuring channels the Monsoon engine +powermeter script : Configuring output to : C:\Users\lavoi\opportunist_task_on_android\scripts_valuable_files\experiment_automatization\last_tmp_expermiment_folder\configuration_mesurement.csv +powermeter script : Starting sampling; number of sample = 3000000 + returning 3000000 samples after experiments +powermeter script : Total nomber of sample measured : 3000000 +powermeter script : Computing powermeter summary result + Number of samples = 3000000 +powermeter script : We computed the energy on 600 samples +powermeter script : average_power = 726.6868306972233 +powermeter script : average_power with numpy arrays = 726.6868306971621 +powermeter script : Summary Result = time (s): 601.2027866840363 +Ins Current (mA):138.36699033564307 +Samples: 3000000 +Consumed Energy (mAs): 87150.11392998297 +Consumed Energy (mAh): 24.208364980550822 +Consumed Energy (mWs): 439166.01645822526 +Consumed Energy (mWh): 121.9905601272848 +Avg power (mW): 726.6868306972233 +Avg Current (mA): 144.1375590239255 +Avg Voltage (V): 5.041620210708578 +Exp Batt Life (hrs for 1000mAh battery): NOT COMPUTED +--- Monsoon power meter sampling is finished ! + --- experiment folder path /mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/last_tmp_expermiment_folder +--- frequency level of core 0 is 4 +--- frequency level of core 1 is 0 +--- frequency level of core 2 is 0 +--- frequency level of core 3 is 0 +--- frequency level of core 4 is 4 +--- frequency level of core 5 is 0 +--- frequency level of core 6 is 0 +--- frequency level of core 7 is 0 +--- Number of threads normally started = 2 +--- Number of thread ended: 2 +--- Now threads are stopped, getting the cc_info_level for samsung +--- Copying thread results locally +command /mnt/c/Program Files/Android/platform-tools_r33.0.1-windows/platform-tools/adb.exe pull /sdcard/experiments_automatization/app_output_folder C:\Users\lavoi\opportunist_task_on_android\scripts_valuable_files\experiment_automatization\last_tmp_expermiment_folder </dev/null +/sdcard/experiments_automatization/app_output_folder/: 4 files pulled, 0 skipped. 0.0 MB/s (909 bytes in 0.033s) +saving the logcat file to /mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/last_tmp_expermiment_folder -/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/last_tmp_expermiment_folder- +--- Parsing result from /mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/last_tmp_expermiment_folder to /mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/output_folder/raw_result.txt +--- Getting exact configuration with frequency +--- Configuration with frequencies = [1804801- 0- 0- 0- 1804801- 0- 0- 0] +--- Getting the powermeter summary +--- Powermeter summary: +time (s): 601.2027866840363 +Ins Current (mA):138.36699033564307 +Samples: 3000000 +Consumed Energy (mAs): 87150.11392998297 +Consumed Energy (mAh): 24.208364980550822 +Consumed Energy (mWs): 439166.01645822526 +Consumed Energy (mWh): 121.9905601272848 +Avg power (mW): 726.6868306972233 +Avg Current (mA): 144.1375590239255 +Avg Voltage (V): 5.041620210708578 + +--- Getting the total energy consumed of the google pixel +--- Energy consumed = 24.208364980550822 +--- Starting cc_info = 0 +--- Ending cc_info = 0 +--- Getting the average power +--- Avg Power = 726.6868306972233 +--- Printing the total threads summary +--- Thread results +Thread : 0 - ThreadProcess id: 28151 +---------------------------------------- +Starting time: Sun, 19 Dec 2021 02:19:30 +0100 +Core id: 0 +Ending time: Sun, 19 Dec 2021 02:29:30 +0100 - Duration: 600010 seconds +Real workload: 4.701490384679675E10 - Integer reached: 129182 - Number of reset = 0 +Battery stats: 0 mAH +Computed Drain: Null +Start: 50 % - End: 50 +Cc_info at the beginning: 0 mAh +Cc_info at the end: 0 mAh +Cc_info variation: 0.0 mAh + +Thread : 1 - ThreadProcess id: 28152 +---------------------------------------- +Starting time: Sun, 19 Dec 2021 02:19:30 +0100 +Core id: 4 +Ending time: Sun, 19 Dec 2021 02:29:30 +0100 - Duration: 600008 seconds +Real workload: 4.6787896475257614E10 - Integer reached: 128883 - Number of reset = 0 +Battery stats: 0 mAH +Computed Drain: Null +Start: 50 % - End: 50 +Cc_info at the beginning: 0 mAh +Cc_info at the end: 0 mAh +Cc_info variation: 0.0 mAh + + +--- Counting the total workload command : print_total_workload /mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/last_tmp_expermiment_folder app_output_folder 4,0,0,0,4,0,0,0 /mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first +--- Total workload : 9.38028e+10 +--- Getting energy efficiency +--- Energy efficiency: 2.58077e-10 +--- Building what we will add to the total result file command +------ + (build_configuration_raw_result 400040-0-0 4,0,0,0,4,0,0,0 [1804801- 0- 0- 0- 1804801- 0- 0- 0] time (s): 601.2027866840363 +Ins Current (mA):138.36699033564307 +Samples: 3000000 +Consumed Energy (mAs): 87150.11392998297 +Consumed Energy (mAh): 24.208364980550822 +Consumed Energy (mWs): 439166.01645822526 +Consumed Energy (mWh): 121.9905601272848 +Avg power (mW): 726.6868306972233 +Avg Current (mA): 144.1375590239255 +Avg Voltage (V): 5.041620210708578 + Thread : 0 - ThreadProcess id: 28151 +---------------------------------------- +Starting time: Sun, 19 Dec 2021 02:19:30 +0100 +Core id: 0 +Ending time: Sun, 19 Dec 2021 02:29:30 +0100 - Duration: 600010 seconds +Real workload: 4.701490384679675E10 - Integer reached: 129182 - Number of reset = 0 +Battery stats: 0 mAH +Computed Drain: Null +Start: 50 % - End: 50 +Cc_info at the beginning: 0 mAh +Cc_info at the end: 0 mAh +Cc_info variation: 0.0 mAh + +Thread : 1 - ThreadProcess id: 28152 +---------------------------------------- +Starting time: Sun, 19 Dec 2021 02:19:30 +0100 +Core id: 4 +Ending time: Sun, 19 Dec 2021 02:29:30 +0100 - Duration: 600008 seconds +Real workload: 4.6787896475257614E10 - Integer reached: 128883 - Number of reset = 0 +Battery stats: 0 mAH +Computed Drain: Null +Start: 50 % - End: 50 +Cc_info at the beginning: 0 mAh +Cc_info at the end: 0 mAh +Cc_info variation: 0.0 mAh + + 24.208364980550822 9.38028e+10 2.58077e-10 0 0 +------ + +--- Final result to print to File + -------------------------------------------------------------------------------- + +++++ +++++ +++++ Configuration Description +-------------------------------------------------------------------------------- +Configuration: 400040-0-0 +phone format: 4,0,0,0,4,0,0,0 +Exact values of frequencies: [1804801- 0- 0- 0- 1804801- 0- 0- 0] + +Power meter results +------------------------------------------------------------ +time (s): 601.2027866840363 +Ins Current (mA):138.36699033564307 +Samples: 3000000 +Consumed Energy (mAs): 87150.11392998297 +Consumed Energy (mAh): 24.208364980550822 +Consumed Energy (mWs): 439166.01645822526 +Consumed Energy (mWh): 121.9905601272848 +Avg power (mW): 726.6868306972233 +Avg Current (mA): 144.1375590239255 +Avg Voltage (V): 5.041620210708578 + +Threads results +------------------------------------------------------------ +Thread : 0 - ThreadProcess id: 28151 +---------------------------------------- +Starting time: Sun, 19 Dec 2021 02:19:30 +0100 +Core id: 0 +Ending time: Sun, 19 Dec 2021 02:29:30 +0100 - Duration: 600010 seconds +Real workload: 4.701490384679675E10 - Integer reached: 129182 - Number of reset = 0 +Battery stats: 0 mAH +Computed Drain: Null +Start: 50 % - End: 50 +Cc_info at the beginning: 0 mAh +Cc_info at the end: 0 mAh +Cc_info variation: 0.0 mAh + +Thread : 1 - ThreadProcess id: 28152 +---------------------------------------- +Starting time: Sun, 19 Dec 2021 02:19:30 +0100 +Core id: 4 +Ending time: Sun, 19 Dec 2021 02:29:30 +0100 - Duration: 600008 seconds +Real workload: 4.6787896475257614E10 - Integer reached: 128883 - Number of reset = 0 +Battery stats: 0 mAH +Computed Drain: Null +Start: 50 % - End: 50 +Cc_info at the beginning: 0 mAh +Cc_info at the end: 0 mAh +Cc_info variation: 0.0 mAh + + +Expermiment results +------------------------------------------------------------ +Energy Consumed (mAh): 24.208364980550822 +Workload: 9.38028e+10 +Energy efficiency: 2.58077e-10 +-------------------------------------------------------------------------------- + + +--- Writing to the total result file +--- Removing previous tested configuration tmp_output folder +removed '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__04Oct22_04_02_48/app_output_folder/all_workloads.txt' +removed '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__04Oct22_04_02_48/app_output_folder/Thread_0_ended' +removed '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__04Oct22_04_02_48/app_output_folder/Thread_0_ready_for_sampling' +removed '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__04Oct22_04_02_48/app_output_folder/Thread_1_ended' +removed '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__04Oct22_04_02_48/app_output_folder/Thread_1_ready_for_sampling' +removed directory '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__04Oct22_04_02_48/app_output_folder' +removed '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__04Oct22_04_02_48/configuration_mesurement.csv' +removed '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__04Oct22_04_02_48/energy_power_workload_energyByWorkload_ccInfo' +removed '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__04Oct22_04_02_48/logcat_output' +removed '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__04Oct22_04_02_48/powermeter_summary.txt' +removed directory '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__04Oct22_04_02_48' +--- Moving the current experiment tmp_folder to the output result folder +writing a temporary file for the main script with format energy_power_workload_energyByWorkload_ccInfo +--- Obtaining experiment summary result to add to result folder +--- Experiment result, Energy consumed = 24.208364980550822 +--- Experiment result, Avg Power = 726.6868306972233 +--- Experiment result, Total Workload = 9.38028e+10 +--- Experiment result, Energy Efficiency = 2.58077e-10 +--- Adding result to summary file +--- Starting cc information : 0 +--- Ending cc information : 0 +--- The file /mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/output_folder/summary.csv exists we just appending the result to the file +--- Experiments performed on configuration 400040-0-0. +--- Observing a pause betwenn experiment; pause duration : 180 seconds; starting at 04Oct22_04_15_34 +--- Performing experiments on configuration 400040-0-0 +--- Cleaning the tmp expermiment folder : /mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/last_tmp_expermiment_folder +--- Second step : verifying the battery level +--- Verifying the battery level +--- Getting current battery level, adb command path: /mnt/c/Program Files/Android/platform-tools_r33.0.1-windows/platform-tools/adb.exe +--- Current battery level : 50 +Current battery level: OKAY +--- Third step calibrating phone core frequency +--- Resetting all frequency configurations + -- Command used : echo schedutil > /sys/devices/system/cpu/cpu1/cpufreq/scaling_governor + -- Command used : echo schedutil > /sys/devices/system/cpu/cpu2/cpufreq/scaling_governor + -- Command used : echo schedutil > /sys/devices/system/cpu/cpu3/cpufreq/scaling_governor + -- Command used : echo schedutil > /sys/devices/system/cpu/cpu4/cpufreq/scaling_governor + -- Command used : echo schedutil > /sys/devices/system/cpu/cpu5/cpufreq/scaling_governor + -- Command used : echo schedutil > /sys/devices/system/cpu/cpu6/cpufreq/scaling_governor + -- Command used : echo schedutil > /sys/devices/system/cpu/cpu7/cpufreq/scaling_governor +--- Frequency level of core 0 is 4 +--- Modifying the governor of core 0 to set the default value +--- Modifying the governor of core 0 +--- Frequency level of core 1 is 0 +--- Exact frequency of core 1: 0 +--- Modifying the governor of core 1 +--- Modifying the the current frequency of core 1 with frequency 0 +--- Frequency level of core 2 is 0 +--- Exact frequency of core 2: 0 +--- Modifying the governor of core 2 +--- Modifying the the current frequency of core 2 with frequency 0 +--- Frequency level of core 3 is 0 +--- Exact frequency of core 3: 0 +--- Modifying the governor of core 3 +--- Modifying the the current frequency of core 3 with frequency 0 +--- Frequency level of core 4 is 4 +--- Modifying the governor of core 4 to set the default value +--- Modifying the governor of core 4 +--- Frequency level of core 5 is 0 +--- Exact frequency of core 5: 0 +--- Modifying the governor of core 5 +--- Modifying the the current frequency of core 5 with frequency 0 +--- Frequency level of core 6 is 0 +--- Exact frequency of core 6: 0 +--- Modifying the governor of core 6 +--- Modifying the the current frequency of core 6 with frequency 0 +--- Frequency level of core 7 is 0 +--- Exact frequency of core 7: 0 +--- Modifying the governor of core 7 +--- Modifying the the current frequency of core 7 with frequency 0 +--- Calibrating Monsoon power meter, please wait for 10 seconds... +powermeter script : --- Inside the monsoon_power_meter, arg function: 1 +powermeter script : calibration duration = 10 +powermeter script : Creating the Monsoon engine +powermeter script : Creating the Monsoon engine +powermeter script : Configuring channels the Monsoon engine +powermeter script : Configuring output to : C:\Users\lavoi\opportunist_task_on_android\scripts_valuable_files\experiment_automatization\last_tmp_expermiment_folder\configuration_mesurement.csv +powermeter script : Starting sampling; number of sample = 50000 + returning 50000 samples after experiments +powermeter script : Power meter calibration okay +--- Monsoon power meter Calibrated +--- starting the benchmarking app +## writing the configuration inside the phone file + --- Removing file /sdcard/experiments_automatization +rm '/sdcard/experiments_automatization/current_configuration.txt' +rm '/sdcard/experiments_automatization/experiment_duration.txt' +rm '/sdcard/experiments_automatization/app_output_folder/Thread_0_ready_for_sampling' +rm '/sdcard/experiments_automatization/app_output_folder/Thread_1_ready_for_sampling' +rm '/sdcard/experiments_automatization/app_output_folder/Thread_0_ended' +rm '/sdcard/experiments_automatization/app_output_folder/Thread_1_ended' +rmdir '/sdcard/experiments_automatization/app_output_folder' +rmdir '/sdcard/experiments_automatization' + --- Clearing the logcat + --- Creating file /sdcard/experiments_automatization +----- Uninstalling experiment app +Success +----- Installing experiment app +Performing Streamed Install +Success +------ Giving rights to experiment app +----- Starting experiment app +Starting: Intent { cmp=com.opportunistask.scheduling.benchmarking_app_to_test_big_cores/.MainActivity } +adb command : ps -A | grep com.opportunistask.scheduling.benchmarking_app_to_test_big_cores + ----- Experiment app started with pid: 28957 +---- waiting for benchmarking app thread to be pinned and to be ready +--- frequency level of core 0 is 4 +--- frequency level of core 1 is 0 +--- frequency level of core 2 is 0 +--- frequency level of core 3 is 0 +--- frequency level of core 4 is 4 +--- frequency level of core 5 is 0 +--- frequency level of core 6 is 0 +--- frequency level of core 7 is 0 +--- Number of cores to occupy = 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 2 +--- Now threads are running and the phone is ready to be sampled with the power meter \n--- Threads pids +Thread_0_ready_for_sampling +Thread_1_ready_for_sampling +--- Printing cc_info beginning datas (for the samsung galaxy s8) + --- Starting power meter sampling for about 600 seconds +--- Sampling with the Monsoon power meter +powermeter script : --- Inside the monsoon_power_meter, arg function: 2 +powermeter script : Experiment duration = 600 +powermeter script : Creating the Monsoon engine +powermeter script : Creating the Monsoon engine +powermeter script : Configuring channels the Monsoon engine +powermeter script : Configuring output to : C:\Users\lavoi\opportunist_task_on_android\scripts_valuable_files\experiment_automatization\last_tmp_expermiment_folder\configuration_mesurement.csv +powermeter script : Starting sampling; number of sample = 3000000 + returning 3000000 samples after experiments +powermeter script : Total nomber of sample measured : 3000000 +powermeter script : Computing powermeter summary result + Number of samples = 3000000 +powermeter script : We computed the energy on 600 samples +powermeter script : average_power = 744.9521003748002 +powermeter script : average_power with numpy arrays = 744.9521003748187 +powermeter script : Summary Result = time (s): 601.2567279338837 +Ins Current (mA):145.98387428571428 +Samples: 3000000 +Consumed Energy (mAs): 88363.83045474542 +Consumed Energy (mAh): 24.545508459651504 +Consumed Energy (mWs): 445129.7182854883 +Consumed Energy (mWh): 123.6471439681912 +Avg power (mW): 744.9521003748002 +Avg Current (mA): 147.8417003823295 +Avg Voltage (V): 5.038849651000357 +Exp Batt Life (hrs for 1000mAh battery): NOT COMPUTED +--- Monsoon power meter sampling is finished ! + --- experiment folder path /mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/last_tmp_expermiment_folder +--- frequency level of core 0 is 4 +--- frequency level of core 1 is 0 +--- frequency level of core 2 is 0 +--- frequency level of core 3 is 0 +--- frequency level of core 4 is 4 +--- frequency level of core 5 is 0 +--- frequency level of core 6 is 0 +--- frequency level of core 7 is 0 +--- Number of threads normally started = 2 +--- Number of thread ended: 2 +--- Now threads are stopped, getting the cc_info_level for samsung +--- Copying thread results locally +command /mnt/c/Program Files/Android/platform-tools_r33.0.1-windows/platform-tools/adb.exe pull /sdcard/experiments_automatization/app_output_folder C:\Users\lavoi\opportunist_task_on_android\scripts_valuable_files\experiment_automatization\last_tmp_expermiment_folder </dev/null +/sdcard/experiments_automatization/app_output_folder/: 4 files pulled, 0 skipped. 0.0 MB/s (907 bytes in 0.046s) +saving the logcat file to /mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/last_tmp_expermiment_folder -/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/last_tmp_expermiment_folder- +--- Parsing result from /mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/last_tmp_expermiment_folder to /mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/output_folder/raw_result.txt +--- Getting exact configuration with frequency +--- Configuration with frequencies = [1804801- 0- 0- 0- 1804801- 0- 0- 0] +--- Getting the powermeter summary +--- Powermeter summary: +time (s): 601.2567279338837 +Ins Current (mA):145.98387428571428 +Samples: 3000000 +Consumed Energy (mAs): 88363.83045474542 +Consumed Energy (mAh): 24.545508459651504 +Consumed Energy (mWs): 445129.7182854883 +Consumed Energy (mWh): 123.6471439681912 +Avg power (mW): 744.9521003748002 +Avg Current (mA): 147.8417003823295 +Avg Voltage (V): 5.038849651000357 + +--- Getting the total energy consumed of the google pixel +--- Energy consumed = 24.545508459651504 +--- Starting cc_info = 0 +--- Ending cc_info = 0 +--- Getting the average power +--- Avg Power = 744.9521003748002 +--- Printing the total threads summary +--- Thread results +Thread : 0 - ThreadProcess id: 28982 +---------------------------------------- +Starting time: Sun, 19 Dec 2021 02:35:19 +0100 +Core id: 0 +Ending time: Sun, 19 Dec 2021 02:45:19 +0100 - Duration: 600014 seconds +Real workload: 4.681292278077426E10 - Integer reached: 128916 - Number of reset = 0 +Battery stats: 0 mAH +Computed Drain: Null +Start: 50 % - End: 50 +Cc_info at the beginning: 0 mAh +Cc_info at the end: 0 mAh +Cc_info variation: 0.0 mAh + +Thread : 1 - ThreadProcess id: 28983 +---------------------------------------- +Starting time: Sun, 19 Dec 2021 02:35:19 +0100 +Core id: 4 +Ending time: Sun, 19 Dec 2021 02:45:19 +0100 - Duration: 600012 seconds +Real workload: 4.65576780618372E10 - Integer reached: 128579 - Number of reset = 0 +Battery stats: 0 mAH +Computed Drain: Null +Start: 50 % - End: 50 +Cc_info at the beginning: 0 mAh +Cc_info at the end: 0 mAh +Cc_info variation: 0.0 mAh + + +--- Counting the total workload command : print_total_workload /mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/last_tmp_expermiment_folder app_output_folder 4,0,0,0,4,0,0,0 /mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first +--- Total workload : 9.33706e+10 +--- Getting energy efficiency +--- Energy efficiency: 2.62883e-10 +--- Building what we will add to the total result file command +------ + (build_configuration_raw_result 400040-0-0 4,0,0,0,4,0,0,0 [1804801- 0- 0- 0- 1804801- 0- 0- 0] time (s): 601.2567279338837 +Ins Current (mA):145.98387428571428 +Samples: 3000000 +Consumed Energy (mAs): 88363.83045474542 +Consumed Energy (mAh): 24.545508459651504 +Consumed Energy (mWs): 445129.7182854883 +Consumed Energy (mWh): 123.6471439681912 +Avg power (mW): 744.9521003748002 +Avg Current (mA): 147.8417003823295 +Avg Voltage (V): 5.038849651000357 + Thread : 0 - ThreadProcess id: 28982 +---------------------------------------- +Starting time: Sun, 19 Dec 2021 02:35:19 +0100 +Core id: 0 +Ending time: Sun, 19 Dec 2021 02:45:19 +0100 - Duration: 600014 seconds +Real workload: 4.681292278077426E10 - Integer reached: 128916 - Number of reset = 0 +Battery stats: 0 mAH +Computed Drain: Null +Start: 50 % - End: 50 +Cc_info at the beginning: 0 mAh +Cc_info at the end: 0 mAh +Cc_info variation: 0.0 mAh + +Thread : 1 - ThreadProcess id: 28983 +---------------------------------------- +Starting time: Sun, 19 Dec 2021 02:35:19 +0100 +Core id: 4 +Ending time: Sun, 19 Dec 2021 02:45:19 +0100 - Duration: 600012 seconds +Real workload: 4.65576780618372E10 - Integer reached: 128579 - Number of reset = 0 +Battery stats: 0 mAH +Computed Drain: Null +Start: 50 % - End: 50 +Cc_info at the beginning: 0 mAh +Cc_info at the end: 0 mAh +Cc_info variation: 0.0 mAh + + 24.545508459651504 9.33706e+10 2.62883e-10 0 0 +------ + +--- Final result to print to File + -------------------------------------------------------------------------------- + +++++ +++++ +++++ Configuration Description +-------------------------------------------------------------------------------- +Configuration: 400040-0-0 +phone format: 4,0,0,0,4,0,0,0 +Exact values of frequencies: [1804801- 0- 0- 0- 1804801- 0- 0- 0] + +Power meter results +------------------------------------------------------------ +time (s): 601.2567279338837 +Ins Current (mA):145.98387428571428 +Samples: 3000000 +Consumed Energy (mAs): 88363.83045474542 +Consumed Energy (mAh): 24.545508459651504 +Consumed Energy (mWs): 445129.7182854883 +Consumed Energy (mWh): 123.6471439681912 +Avg power (mW): 744.9521003748002 +Avg Current (mA): 147.8417003823295 +Avg Voltage (V): 5.038849651000357 + +Threads results +------------------------------------------------------------ +Thread : 0 - ThreadProcess id: 28982 +---------------------------------------- +Starting time: Sun, 19 Dec 2021 02:35:19 +0100 +Core id: 0 +Ending time: Sun, 19 Dec 2021 02:45:19 +0100 - Duration: 600014 seconds +Real workload: 4.681292278077426E10 - Integer reached: 128916 - Number of reset = 0 +Battery stats: 0 mAH +Computed Drain: Null +Start: 50 % - End: 50 +Cc_info at the beginning: 0 mAh +Cc_info at the end: 0 mAh +Cc_info variation: 0.0 mAh + +Thread : 1 - ThreadProcess id: 28983 +---------------------------------------- +Starting time: Sun, 19 Dec 2021 02:35:19 +0100 +Core id: 4 +Ending time: Sun, 19 Dec 2021 02:45:19 +0100 - Duration: 600012 seconds +Real workload: 4.65576780618372E10 - Integer reached: 128579 - Number of reset = 0 +Battery stats: 0 mAH +Computed Drain: Null +Start: 50 % - End: 50 +Cc_info at the beginning: 0 mAh +Cc_info at the end: 0 mAh +Cc_info variation: 0.0 mAh + + +Expermiment results +------------------------------------------------------------ +Energy Consumed (mAh): 24.545508459651504 +Workload: 9.33706e+10 +Energy efficiency: 2.62883e-10 +-------------------------------------------------------------------------------- + + +--- Writing to the total result file +--- Removing previous tested configuration tmp_output folder +removed '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__04Oct22_04_18_36/app_output_folder/all_workloads.txt' +removed '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__04Oct22_04_18_36/app_output_folder/Thread_0_ended' +removed '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__04Oct22_04_18_36/app_output_folder/Thread_0_ready_for_sampling' +removed '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__04Oct22_04_18_36/app_output_folder/Thread_1_ended' +removed '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__04Oct22_04_18_36/app_output_folder/Thread_1_ready_for_sampling' +removed directory '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__04Oct22_04_18_36/app_output_folder' +removed '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__04Oct22_04_18_36/configuration_mesurement.csv' +removed '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__04Oct22_04_18_36/energy_power_workload_energyByWorkload_ccInfo' +removed '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__04Oct22_04_18_36/logcat_output' +removed '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__04Oct22_04_18_36/powermeter_summary.txt' +removed directory '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__04Oct22_04_18_36' +--- Moving the current experiment tmp_folder to the output result folder +writing a temporary file for the main script with format energy_power_workload_energyByWorkload_ccInfo +--- Obtaining experiment summary result to add to result folder +--- Experiment result, Energy consumed = 24.545508459651504 +--- Experiment result, Avg Power = 744.9521003748002 +--- Experiment result, Total Workload = 9.33706e+10 +--- Experiment result, Energy Efficiency = 2.62883e-10 +--- Adding result to summary file +--- Starting cc information : 0 +--- Ending cc information : 0 +--- The file /mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/output_folder/summary.csv exists we just appending the result to the file +--- Experiments performed on configuration 400040-0-0. +--- Observing a pause betwenn experiment; pause duration : 180 seconds; starting at 04Oct22_04_31_23 +--- Performing experiments on configuration 400040-0-0 +--- Cleaning the tmp expermiment folder : /mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/last_tmp_expermiment_folder +--- Second step : verifying the battery level +--- Verifying the battery level +--- Getting current battery level, adb command path: /mnt/c/Program Files/Android/platform-tools_r33.0.1-windows/platform-tools/adb.exe +--- Current battery level : 50 +Current battery level: OKAY +--- Third step calibrating phone core frequency +--- Resetting all frequency configurations + -- Command used : echo schedutil > /sys/devices/system/cpu/cpu1/cpufreq/scaling_governor + -- Command used : echo schedutil > /sys/devices/system/cpu/cpu2/cpufreq/scaling_governor + -- Command used : echo schedutil > /sys/devices/system/cpu/cpu3/cpufreq/scaling_governor + -- Command used : echo schedutil > /sys/devices/system/cpu/cpu4/cpufreq/scaling_governor + -- Command used : echo schedutil > /sys/devices/system/cpu/cpu5/cpufreq/scaling_governor + -- Command used : echo schedutil > /sys/devices/system/cpu/cpu6/cpufreq/scaling_governor + -- Command used : echo schedutil > /sys/devices/system/cpu/cpu7/cpufreq/scaling_governor +--- Frequency level of core 0 is 4 +--- Modifying the governor of core 0 to set the default value +--- Modifying the governor of core 0 +--- Frequency level of core 1 is 0 +--- Exact frequency of core 1: 0 +--- Modifying the governor of core 1 +--- Modifying the the current frequency of core 1 with frequency 0 +--- Frequency level of core 2 is 0 +--- Exact frequency of core 2: 0 +--- Modifying the governor of core 2 +--- Modifying the the current frequency of core 2 with frequency 0 +--- Frequency level of core 3 is 0 +--- Exact frequency of core 3: 0 +--- Modifying the governor of core 3 +--- Modifying the the current frequency of core 3 with frequency 0 +--- Frequency level of core 4 is 4 +--- Modifying the governor of core 4 to set the default value +--- Modifying the governor of core 4 +--- Frequency level of core 5 is 0 +--- Exact frequency of core 5: 0 +--- Modifying the governor of core 5 +--- Modifying the the current frequency of core 5 with frequency 0 +--- Frequency level of core 6 is 0 +--- Exact frequency of core 6: 0 +--- Modifying the governor of core 6 +--- Modifying the the current frequency of core 6 with frequency 0 +--- Frequency level of core 7 is 0 +--- Exact frequency of core 7: 0 +--- Modifying the governor of core 7 +--- Modifying the the current frequency of core 7 with frequency 0 +--- Calibrating Monsoon power meter, please wait for 10 seconds... +powermeter script : --- Inside the monsoon_power_meter, arg function: 1 +powermeter script : calibration duration = 10 +powermeter script : Creating the Monsoon engine +powermeter script : Creating the Monsoon engine +powermeter script : Configuring channels the Monsoon engine +powermeter script : Configuring output to : C:\Users\lavoi\opportunist_task_on_android\scripts_valuable_files\experiment_automatization\last_tmp_expermiment_folder\configuration_mesurement.csv +powermeter script : Starting sampling; number of sample = 50000 + returning 50000 samples after experiments +powermeter script : Power meter calibration okay +--- Monsoon power meter Calibrated +--- starting the benchmarking app +## writing the configuration inside the phone file + --- Removing file /sdcard/experiments_automatization +rm '/sdcard/experiments_automatization/current_configuration.txt' +rm '/sdcard/experiments_automatization/experiment_duration.txt' +rm '/sdcard/experiments_automatization/app_output_folder/Thread_0_ready_for_sampling' +rm '/sdcard/experiments_automatization/app_output_folder/Thread_1_ready_for_sampling' +rm '/sdcard/experiments_automatization/app_output_folder/Thread_0_ended' +rm '/sdcard/experiments_automatization/app_output_folder/Thread_1_ended' +rmdir '/sdcard/experiments_automatization/app_output_folder' +rmdir '/sdcard/experiments_automatization' + --- Clearing the logcat + --- Creating file /sdcard/experiments_automatization +----- Uninstalling experiment app +Success +----- Installing experiment app +Performing Streamed Install +Success +------ Giving rights to experiment app +----- Starting experiment app +Starting: Intent { cmp=com.opportunistask.scheduling.benchmarking_app_to_test_big_cores/.MainActivity } +adb command : ps -A | grep com.opportunistask.scheduling.benchmarking_app_to_test_big_cores + ----- Experiment app started with pid: 30104 +---- waiting for benchmarking app thread to be pinned and to be ready +--- frequency level of core 0 is 4 +--- frequency level of core 1 is 0 +--- frequency level of core 2 is 0 +--- frequency level of core 3 is 0 +--- frequency level of core 4 is 4 +--- frequency level of core 5 is 0 +--- frequency level of core 6 is 0 +--- frequency level of core 7 is 0 +--- Number of cores to occupy = 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 2 +--- Now threads are running and the phone is ready to be sampled with the power meter \n--- Threads pids +Thread_0_ready_for_sampling +Thread_1_ready_for_sampling +--- Printing cc_info beginning datas (for the samsung galaxy s8) + --- Starting power meter sampling for about 600 seconds +--- Sampling with the Monsoon power meter +powermeter script : --- Inside the monsoon_power_meter, arg function: 2 +powermeter script : Experiment duration = 600 +powermeter script : Creating the Monsoon engine +powermeter script : Creating the Monsoon engine +powermeter script : Configuring channels the Monsoon engine +powermeter script : Configuring output to : C:\Users\lavoi\opportunist_task_on_android\scripts_valuable_files\experiment_automatization\last_tmp_expermiment_folder\configuration_mesurement.csv +powermeter script : Starting sampling; number of sample = 3000000 + returning 3000000 samples after experiments +powermeter script : Total nomber of sample measured : 3000000 +powermeter script : Computing powermeter summary result + Number of samples = 3000000 +powermeter script : We computed the energy on 600 samples +powermeter script : average_power = 720.1107195961464 +powermeter script : average_power with numpy arrays = 720.1107195959784 +powermeter script : Summary Result = time (s): 601.5476298332214 +Ins Current (mA):139.5915960304006 +Samples: 3000000 +Consumed Energy (mAs): 86240.31990738334 +Consumed Energy (mAh): 23.955644418717593 +Consumed Energy (mWs): 434700.3705714372 +Consumed Energy (mWh): 120.75010293651033 +Avg power (mW): 720.1107195961464 +Avg Current (mA): 142.8011613831176 +Avg Voltage (V): 5.042751141667396 +Exp Batt Life (hrs for 1000mAh battery): NOT COMPUTED +--- Monsoon power meter sampling is finished ! + --- experiment folder path /mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/last_tmp_expermiment_folder +--- frequency level of core 0 is 4 +--- frequency level of core 1 is 0 +--- frequency level of core 2 is 0 +--- frequency level of core 3 is 0 +--- frequency level of core 4 is 4 +--- frequency level of core 5 is 0 +--- frequency level of core 6 is 0 +--- frequency level of core 7 is 0 +--- Number of threads normally started = 2 +--- Number of thread ended: 2 +--- Now threads are stopped, getting the cc_info_level for samsung +--- Copying thread results locally +command /mnt/c/Program Files/Android/platform-tools_r33.0.1-windows/platform-tools/adb.exe pull /sdcard/experiments_automatization/app_output_folder C:\Users\lavoi\opportunist_task_on_android\scripts_valuable_files\experiment_automatization\last_tmp_expermiment_folder </dev/null +/sdcard/experiments_automatization/app_output_folder/: 4 files pulled, 0 skipped. 0.0 MB/s (909 bytes in 0.027s) +saving the logcat file to /mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/last_tmp_expermiment_folder -/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/last_tmp_expermiment_folder- +--- Parsing result from /mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/last_tmp_expermiment_folder to /mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/output_folder/raw_result.txt +--- Getting exact configuration with frequency +--- Configuration with frequencies = [1804801- 0- 0- 0- 1804801- 0- 0- 0] +--- Getting the powermeter summary +--- Powermeter summary: +time (s): 601.5476298332214 +Ins Current (mA):139.5915960304006 +Samples: 3000000 +Consumed Energy (mAs): 86240.31990738334 +Consumed Energy (mAh): 23.955644418717593 +Consumed Energy (mWs): 434700.3705714372 +Consumed Energy (mWh): 120.75010293651033 +Avg power (mW): 720.1107195961464 +Avg Current (mA): 142.8011613831176 +Avg Voltage (V): 5.042751141667396 + +--- Getting the total energy consumed of the google pixel +--- Energy consumed = 23.955644418717593 +--- Starting cc_info = 0 +--- Ending cc_info = 0 +--- Getting the average power +--- Avg Power = 720.1107195961464 +--- Printing the total threads summary +--- Thread results +Thread : 0 - ThreadProcess id: 30129 +---------------------------------------- +Starting time: Sun, 19 Dec 2021 02:51:08 +0100 +Core id: 0 +Ending time: Sun, 19 Dec 2021 03:01:08 +0100 - Duration: 600013 seconds +Real workload: 4.699058147363501E10 - Integer reached: 129150 - Number of reset = 0 +Battery stats: 0 mAH +Computed Drain: Null +Start: 50 % - End: 49 +Cc_info at the beginning: 0 mAh +Cc_info at the end: 0 mAh +Cc_info variation: 0.0 mAh + +Thread : 1 - ThreadProcess id: 30130 +---------------------------------------- +Starting time: Sun, 19 Dec 2021 02:51:08 +0100 +Core id: 4 +Ending time: Sun, 19 Dec 2021 03:01:08 +0100 - Duration: 600001 seconds +Real workload: 4.6743927690109505E10 - Integer reached: 128825 - Number of reset = 0 +Battery stats: 0 mAH +Computed Drain: Null +Start: 50 % - End: 49 +Cc_info at the beginning: 0 mAh +Cc_info at the end: 0 mAh +Cc_info variation: 0.0 mAh + + +--- Counting the total workload command : print_total_workload /mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/last_tmp_expermiment_folder app_output_folder 4,0,0,0,4,0,0,0 /mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first +--- Total workload : 9.37345e+10 +--- Getting energy efficiency +--- Energy efficiency: 2.55569e-10 +--- Building what we will add to the total result file command +------ + (build_configuration_raw_result 400040-0-0 4,0,0,0,4,0,0,0 [1804801- 0- 0- 0- 1804801- 0- 0- 0] time (s): 601.5476298332214 +Ins Current (mA):139.5915960304006 +Samples: 3000000 +Consumed Energy (mAs): 86240.31990738334 +Consumed Energy (mAh): 23.955644418717593 +Consumed Energy (mWs): 434700.3705714372 +Consumed Energy (mWh): 120.75010293651033 +Avg power (mW): 720.1107195961464 +Avg Current (mA): 142.8011613831176 +Avg Voltage (V): 5.042751141667396 + Thread : 0 - ThreadProcess id: 30129 +---------------------------------------- +Starting time: Sun, 19 Dec 2021 02:51:08 +0100 +Core id: 0 +Ending time: Sun, 19 Dec 2021 03:01:08 +0100 - Duration: 600013 seconds +Real workload: 4.699058147363501E10 - Integer reached: 129150 - Number of reset = 0 +Battery stats: 0 mAH +Computed Drain: Null +Start: 50 % - End: 49 +Cc_info at the beginning: 0 mAh +Cc_info at the end: 0 mAh +Cc_info variation: 0.0 mAh + +Thread : 1 - ThreadProcess id: 30130 +---------------------------------------- +Starting time: Sun, 19 Dec 2021 02:51:08 +0100 +Core id: 4 +Ending time: Sun, 19 Dec 2021 03:01:08 +0100 - Duration: 600001 seconds +Real workload: 4.6743927690109505E10 - Integer reached: 128825 - Number of reset = 0 +Battery stats: 0 mAH +Computed Drain: Null +Start: 50 % - End: 49 +Cc_info at the beginning: 0 mAh +Cc_info at the end: 0 mAh +Cc_info variation: 0.0 mAh + + 23.955644418717593 9.37345e+10 2.55569e-10 0 0 +------ + +--- Final result to print to File + -------------------------------------------------------------------------------- + +++++ +++++ +++++ Configuration Description +-------------------------------------------------------------------------------- +Configuration: 400040-0-0 +phone format: 4,0,0,0,4,0,0,0 +Exact values of frequencies: [1804801- 0- 0- 0- 1804801- 0- 0- 0] + +Power meter results +------------------------------------------------------------ +time (s): 601.5476298332214 +Ins Current (mA):139.5915960304006 +Samples: 3000000 +Consumed Energy (mAs): 86240.31990738334 +Consumed Energy (mAh): 23.955644418717593 +Consumed Energy (mWs): 434700.3705714372 +Consumed Energy (mWh): 120.75010293651033 +Avg power (mW): 720.1107195961464 +Avg Current (mA): 142.8011613831176 +Avg Voltage (V): 5.042751141667396 + +Threads results +------------------------------------------------------------ +Thread : 0 - ThreadProcess id: 30129 +---------------------------------------- +Starting time: Sun, 19 Dec 2021 02:51:08 +0100 +Core id: 0 +Ending time: Sun, 19 Dec 2021 03:01:08 +0100 - Duration: 600013 seconds +Real workload: 4.699058147363501E10 - Integer reached: 129150 - Number of reset = 0 +Battery stats: 0 mAH +Computed Drain: Null +Start: 50 % - End: 49 +Cc_info at the beginning: 0 mAh +Cc_info at the end: 0 mAh +Cc_info variation: 0.0 mAh + +Thread : 1 - ThreadProcess id: 30130 +---------------------------------------- +Starting time: Sun, 19 Dec 2021 02:51:08 +0100 +Core id: 4 +Ending time: Sun, 19 Dec 2021 03:01:08 +0100 - Duration: 600001 seconds +Real workload: 4.6743927690109505E10 - Integer reached: 128825 - Number of reset = 0 +Battery stats: 0 mAH +Computed Drain: Null +Start: 50 % - End: 49 +Cc_info at the beginning: 0 mAh +Cc_info at the end: 0 mAh +Cc_info variation: 0.0 mAh + + +Expermiment results +------------------------------------------------------------ +Energy Consumed (mAh): 23.955644418717593 +Workload: 9.37345e+10 +Energy efficiency: 2.55569e-10 +-------------------------------------------------------------------------------- + + +--- Writing to the total result file +--- Removing previous tested configuration tmp_output folder +removed '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__04Oct22_04_34_25/app_output_folder/all_workloads.txt' +removed '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__04Oct22_04_34_25/app_output_folder/Thread_0_ended' +removed '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__04Oct22_04_34_25/app_output_folder/Thread_0_ready_for_sampling' +removed '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__04Oct22_04_34_25/app_output_folder/Thread_1_ended' +removed '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__04Oct22_04_34_25/app_output_folder/Thread_1_ready_for_sampling' +removed directory '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__04Oct22_04_34_25/app_output_folder' +removed '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__04Oct22_04_34_25/configuration_mesurement.csv' +removed '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__04Oct22_04_34_25/energy_power_workload_energyByWorkload_ccInfo' +removed '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__04Oct22_04_34_25/logcat_output' +removed '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__04Oct22_04_34_25/powermeter_summary.txt' +removed directory '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__04Oct22_04_34_25' +--- Moving the current experiment tmp_folder to the output result folder +writing a temporary file for the main script with format energy_power_workload_energyByWorkload_ccInfo +--- Obtaining experiment summary result to add to result folder +--- Experiment result, Energy consumed = 23.955644418717593 +--- Experiment result, Avg Power = 720.1107195961464 +--- Experiment result, Total Workload = 9.37345e+10 +--- Experiment result, Energy Efficiency = 2.55569e-10 +--- Adding result to summary file +--- Starting cc information : 0 +--- Ending cc information : 0 +--- The file /mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/output_folder/summary.csv exists we just appending the result to the file +--- Experiments performed on configuration 400040-0-0. +--- Observing a pause betwenn experiment; pause duration : 180 seconds; starting at 04Oct22_04_47_11 +--- Performing experiments on configuration 400400-0-0 +--- Cleaning the tmp expermiment folder : /mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/last_tmp_expermiment_folder +--- Second step : verifying the battery level +--- Verifying the battery level +--- Getting current battery level, adb command path: /mnt/c/Program Files/Android/platform-tools_r33.0.1-windows/platform-tools/adb.exe +--- Current battery level : 49 +--- Current battery is low, so we need to wait battery +--- Getting current battery level, adb command path: /mnt/c/Program Files/Android/platform-tools_r33.0.1-windows/platform-tools/adb.exe +--- Current battery level : 49 +--- Desactivating the charge stop level option +--- Desactivating the charge stop level option, command : /mnt/c/Program Files/Android/platform-tools_r33.0.1-windows/platform-tools/adb.exe shell echo 100 > /sys/devices/platform/soc/soc:google,charger/charge_stop_level </dev/null +--- The current battery level : 49, still lower than the experiment one : 50 +--- Waiting 30 second... +--- Getting current battery level, adb command path: /mnt/c/Program Files/Android/platform-tools_r33.0.1-windows/platform-tools/adb.exe +--- Current battery level : 49 +--- The current battery level : 49, still lower than the experiment one : 50 +--- Waiting 30 second... +--- Getting current battery level, adb command path: /mnt/c/Program Files/Android/platform-tools_r33.0.1-windows/platform-tools/adb.exe +--- Current battery level : 50 +--- Current battery is now equal to the experiment battery level +--- Third step calibrating phone core frequency +--- Resetting all frequency configurations + -- Command used : echo schedutil > /sys/devices/system/cpu/cpu1/cpufreq/scaling_governor + -- Command used : echo schedutil > /sys/devices/system/cpu/cpu2/cpufreq/scaling_governor + -- Command used : echo schedutil > /sys/devices/system/cpu/cpu3/cpufreq/scaling_governor + -- Command used : echo schedutil > /sys/devices/system/cpu/cpu4/cpufreq/scaling_governor + -- Command used : echo schedutil > /sys/devices/system/cpu/cpu5/cpufreq/scaling_governor + -- Command used : echo schedutil > /sys/devices/system/cpu/cpu6/cpufreq/scaling_governor + -- Command used : echo schedutil > /sys/devices/system/cpu/cpu7/cpufreq/scaling_governor +--- Frequency level of core 0 is 4 +--- Modifying the governor of core 0 to set the default value +--- Modifying the governor of core 0 +--- Frequency level of core 1 is 0 +--- Exact frequency of core 1: 0 +--- Modifying the governor of core 1 +--- Modifying the the current frequency of core 1 with frequency 0 +--- Frequency level of core 2 is 0 +--- Exact frequency of core 2: 0 +--- Modifying the governor of core 2 +--- Modifying the the current frequency of core 2 with frequency 0 +--- Frequency level of core 3 is 4 +--- Modifying the governor of core 3 to set the default value +--- Modifying the governor of core 3 +--- Frequency level of core 4 is 0 +--- Exact frequency of core 4: 0 +--- Modifying the governor of core 4 +--- Modifying the the current frequency of core 4 with frequency 0 +--- Frequency level of core 5 is 0 +--- Exact frequency of core 5: 0 +--- Modifying the governor of core 5 +--- Modifying the the current frequency of core 5 with frequency 0 +--- Frequency level of core 6 is 0 +--- Exact frequency of core 6: 0 +--- Modifying the governor of core 6 +--- Modifying the the current frequency of core 6 with frequency 0 +--- Frequency level of core 7 is 0 +--- Exact frequency of core 7: 0 +--- Modifying the governor of core 7 +--- Modifying the the current frequency of core 7 with frequency 0 +--- Calibrating Monsoon power meter, please wait for 10 seconds... +powermeter script : --- Inside the monsoon_power_meter, arg function: 1 +powermeter script : calibration duration = 10 +powermeter script : Creating the Monsoon engine +powermeter script : Creating the Monsoon engine +powermeter script : Configuring channels the Monsoon engine +powermeter script : Configuring output to : C:\Users\lavoi\opportunist_task_on_android\scripts_valuable_files\experiment_automatization\last_tmp_expermiment_folder\configuration_mesurement.csv +powermeter script : Starting sampling; number of sample = 50000 + returning 50000 samples after experiments +powermeter script : Power meter calibration okay +--- Monsoon power meter Calibrated +--- starting the benchmarking app +## writing the configuration inside the phone file + --- Removing file /sdcard/experiments_automatization +rm '/sdcard/experiments_automatization/current_configuration.txt' +rm '/sdcard/experiments_automatization/experiment_duration.txt' +rm '/sdcard/experiments_automatization/app_output_folder/Thread_0_ready_for_sampling' +rm '/sdcard/experiments_automatization/app_output_folder/Thread_1_ready_for_sampling' +rm '/sdcard/experiments_automatization/app_output_folder/Thread_0_ended' +rm '/sdcard/experiments_automatization/app_output_folder/Thread_1_ended' +rmdir '/sdcard/experiments_automatization/app_output_folder' +rmdir '/sdcard/experiments_automatization' + --- Clearing the logcat + --- Creating file /sdcard/experiments_automatization +----- Uninstalling experiment app +Success +----- Installing experiment app +Performing Streamed Install +Success +------ Giving rights to experiment app +----- Starting experiment app +Starting: Intent { cmp=com.opportunistask.scheduling.benchmarking_app_to_test_big_cores/.MainActivity } +adb command : ps -A | grep com.opportunistask.scheduling.benchmarking_app_to_test_big_cores + ----- Experiment app started with pid: 30978 +---- waiting for benchmarking app thread to be pinned and to be ready +--- frequency level of core 0 is 4 +--- frequency level of core 1 is 0 +--- frequency level of core 2 is 0 +--- frequency level of core 3 is 4 +--- frequency level of core 4 is 0 +--- frequency level of core 5 is 0 +--- frequency level of core 6 is 0 +--- frequency level of core 7 is 0 +--- Number of cores to occupy = 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 2 +--- Now threads are running and the phone is ready to be sampled with the power meter \n--- Threads pids +Thread_0_ready_for_sampling +Thread_1_ready_for_sampling +--- Printing cc_info beginning datas (for the samsung galaxy s8) + --- Starting power meter sampling for about 600 seconds +--- Sampling with the Monsoon power meter +powermeter script : --- Inside the monsoon_power_meter, arg function: 2 +powermeter script : Experiment duration = 600 +powermeter script : Creating the Monsoon engine +powermeter script : Creating the Monsoon engine +powermeter script : Configuring channels the Monsoon engine +powermeter script : Configuring output to : C:\Users\lavoi\opportunist_task_on_android\scripts_valuable_files\experiment_automatization\last_tmp_expermiment_folder\configuration_mesurement.csv +powermeter script : Starting sampling; number of sample = 3000000 + returning 3000000 samples after experiments +powermeter script : Total nomber of sample measured : 3000000 +powermeter script : Computing powermeter summary result + Number of samples = 3000000 +powermeter script : We computed the energy on 600 samples +powermeter script : average_power = 614.4824082169501 +powermeter script : average_power with numpy arrays = 614.482408216726 +powermeter script : Summary Result = time (s): 601.4197061061859 +Ins Current (mA):139.34628175677992 +Samples: 3000000 +Consumed Energy (mAs): 75213.82148645062 +Consumed Energy (mAh): 20.892728190680728 +Consumed Energy (mWs): 378874.15955374937 +Consumed Energy (mWh): 105.24282209826372 +Avg power (mW): 614.4824082169501 +Avg Current (mA): 121.47801453290916 +Avg Voltage (V): 5.058383696668693 +Exp Batt Life (hrs for 1000mAh battery): NOT COMPUTED +--- Monsoon power meter sampling is finished ! + --- experiment folder path /mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/last_tmp_expermiment_folder +--- frequency level of core 0 is 4 +--- frequency level of core 1 is 0 +--- frequency level of core 2 is 0 +--- frequency level of core 3 is 4 +--- frequency level of core 4 is 0 +--- frequency level of core 5 is 0 +--- frequency level of core 6 is 0 +--- frequency level of core 7 is 0 +--- Number of threads normally started = 2 +--- Number of thread ended: 2 +--- Now threads are stopped, getting the cc_info_level for samsung +--- Copying thread results locally +command /mnt/c/Program Files/Android/platform-tools_r33.0.1-windows/platform-tools/adb.exe pull /sdcard/experiments_automatization/app_output_folder C:\Users\lavoi\opportunist_task_on_android\scripts_valuable_files\experiment_automatization\last_tmp_expermiment_folder </dev/null +/sdcard/experiments_automatization/app_output_folder/: 4 files pulled, 0 skipped. 0.0 MB/s (910 bytes in 0.045s) +saving the logcat file to /mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/last_tmp_expermiment_folder -/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/last_tmp_expermiment_folder- +--- Parsing result from /mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/last_tmp_expermiment_folder to /mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/output_folder/raw_result.txt +--- Getting exact configuration with frequency +--- Configuration with frequencies = [1804801- 0- 0- 1804801- 0- 0- 0- 0] +--- Getting the powermeter summary +--- Powermeter summary: +time (s): 601.4197061061859 +Ins Current (mA):139.34628175677992 +Samples: 3000000 +Consumed Energy (mAs): 75213.82148645062 +Consumed Energy (mAh): 20.892728190680728 +Consumed Energy (mWs): 378874.15955374937 +Consumed Energy (mWh): 105.24282209826372 +Avg power (mW): 614.4824082169501 +Avg Current (mA): 121.47801453290916 +Avg Voltage (V): 5.058383696668693 + +--- Getting the total energy consumed of the google pixel +--- Energy consumed = 20.892728190680728 +--- Starting cc_info = 0 +--- Ending cc_info = 0 +--- Getting the average power +--- Avg Power = 614.4824082169501 +--- Printing the total threads summary +--- Thread results +Thread : 0 - ThreadProcess id: 31003 +---------------------------------------- +Starting time: Sun, 19 Dec 2021 03:07:56 +0100 +Core id: 0 +Ending time: Sun, 19 Dec 2021 03:17:56 +0100 - Duration: 600003 seconds +Real workload: 4.7188390022969345E10 - Integer reached: 129410 - Number of reset = 0 +Battery stats: 0 mAH +Computed Drain: Null +Start: 50 % - End: 50 +Cc_info at the beginning: 0 mAh +Cc_info at the end: 0 mAh +Cc_info variation: 0.0 mAh + +Thread : 1 - ThreadProcess id: 31004 +---------------------------------------- +Starting time: Sun, 19 Dec 2021 03:07:56 +0100 +Core id: 3 +Ending time: Sun, 19 Dec 2021 03:17:56 +0100 - Duration: 600005 seconds +Real workload: 4.6790929597308685E10 - Integer reached: 128887 - Number of reset = 0 +Battery stats: 0 mAH +Computed Drain: Null +Start: 50 % - End: 50 +Cc_info at the beginning: 0 mAh +Cc_info at the end: 0 mAh +Cc_info variation: 0.0 mAh + + +--- Counting the total workload command : print_total_workload /mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/last_tmp_expermiment_folder app_output_folder 4,0,0,4,0,0,0,0 /mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first +--- Total workload : 9.39793e+10 +--- Getting energy efficiency +--- Energy efficiency: 2.22312e-10 +--- Building what we will add to the total result file command +------ + (build_configuration_raw_result 400400-0-0 4,0,0,4,0,0,0,0 [1804801- 0- 0- 1804801- 0- 0- 0- 0] time (s): 601.4197061061859 +Ins Current (mA):139.34628175677992 +Samples: 3000000 +Consumed Energy (mAs): 75213.82148645062 +Consumed Energy (mAh): 20.892728190680728 +Consumed Energy (mWs): 378874.15955374937 +Consumed Energy (mWh): 105.24282209826372 +Avg power (mW): 614.4824082169501 +Avg Current (mA): 121.47801453290916 +Avg Voltage (V): 5.058383696668693 + Thread : 0 - ThreadProcess id: 31003 +---------------------------------------- +Starting time: Sun, 19 Dec 2021 03:07:56 +0100 +Core id: 0 +Ending time: Sun, 19 Dec 2021 03:17:56 +0100 - Duration: 600003 seconds +Real workload: 4.7188390022969345E10 - Integer reached: 129410 - Number of reset = 0 +Battery stats: 0 mAH +Computed Drain: Null +Start: 50 % - End: 50 +Cc_info at the beginning: 0 mAh +Cc_info at the end: 0 mAh +Cc_info variation: 0.0 mAh + +Thread : 1 - ThreadProcess id: 31004 +---------------------------------------- +Starting time: Sun, 19 Dec 2021 03:07:56 +0100 +Core id: 3 +Ending time: Sun, 19 Dec 2021 03:17:56 +0100 - Duration: 600005 seconds +Real workload: 4.6790929597308685E10 - Integer reached: 128887 - Number of reset = 0 +Battery stats: 0 mAH +Computed Drain: Null +Start: 50 % - End: 50 +Cc_info at the beginning: 0 mAh +Cc_info at the end: 0 mAh +Cc_info variation: 0.0 mAh + + 20.892728190680728 9.39793e+10 2.22312e-10 0 0 +------ + +--- Final result to print to File + -------------------------------------------------------------------------------- + +++++ +++++ +++++ Configuration Description +-------------------------------------------------------------------------------- +Configuration: 400400-0-0 +phone format: 4,0,0,4,0,0,0,0 +Exact values of frequencies: [1804801- 0- 0- 1804801- 0- 0- 0- 0] + +Power meter results +------------------------------------------------------------ +time (s): 601.4197061061859 +Ins Current (mA):139.34628175677992 +Samples: 3000000 +Consumed Energy (mAs): 75213.82148645062 +Consumed Energy (mAh): 20.892728190680728 +Consumed Energy (mWs): 378874.15955374937 +Consumed Energy (mWh): 105.24282209826372 +Avg power (mW): 614.4824082169501 +Avg Current (mA): 121.47801453290916 +Avg Voltage (V): 5.058383696668693 + +Threads results +------------------------------------------------------------ +Thread : 0 - ThreadProcess id: 31003 +---------------------------------------- +Starting time: Sun, 19 Dec 2021 03:07:56 +0100 +Core id: 0 +Ending time: Sun, 19 Dec 2021 03:17:56 +0100 - Duration: 600003 seconds +Real workload: 4.7188390022969345E10 - Integer reached: 129410 - Number of reset = 0 +Battery stats: 0 mAH +Computed Drain: Null +Start: 50 % - End: 50 +Cc_info at the beginning: 0 mAh +Cc_info at the end: 0 mAh +Cc_info variation: 0.0 mAh + +Thread : 1 - ThreadProcess id: 31004 +---------------------------------------- +Starting time: Sun, 19 Dec 2021 03:07:56 +0100 +Core id: 3 +Ending time: Sun, 19 Dec 2021 03:17:56 +0100 - Duration: 600005 seconds +Real workload: 4.6790929597308685E10 - Integer reached: 128887 - Number of reset = 0 +Battery stats: 0 mAH +Computed Drain: Null +Start: 50 % - End: 50 +Cc_info at the beginning: 0 mAh +Cc_info at the end: 0 mAh +Cc_info variation: 0.0 mAh + + +Expermiment results +------------------------------------------------------------ +Energy Consumed (mAh): 20.892728190680728 +Workload: 9.39793e+10 +Energy efficiency: 2.22312e-10 +-------------------------------------------------------------------------------- + + +--- Writing to the total result file +--- Removing previous tested configuration tmp_output folder +removed '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__04Oct22_04_50_13/app_output_folder/all_workloads.txt' +removed '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__04Oct22_04_50_13/app_output_folder/Thread_0_ended' +removed '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__04Oct22_04_50_13/app_output_folder/Thread_0_ready_for_sampling' +removed '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__04Oct22_04_50_13/app_output_folder/Thread_1_ended' +removed '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__04Oct22_04_50_13/app_output_folder/Thread_1_ready_for_sampling' +removed directory '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__04Oct22_04_50_13/app_output_folder' +removed '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__04Oct22_04_50_13/configuration_mesurement.csv' +removed '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__04Oct22_04_50_13/energy_power_workload_energyByWorkload_ccInfo' +removed '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__04Oct22_04_50_13/logcat_output' +removed '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__04Oct22_04_50_13/powermeter_summary.txt' +removed directory '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__04Oct22_04_50_13' +--- Moving the current experiment tmp_folder to the output result folder +writing a temporary file for the main script with format energy_power_workload_energyByWorkload_ccInfo +--- Obtaining experiment summary result to add to result folder +--- Experiment result, Energy consumed = 20.892728190680728 +--- Experiment result, Avg Power = 614.4824082169501 +--- Experiment result, Total Workload = 9.39793e+10 +--- Experiment result, Energy Efficiency = 2.22312e-10 +--- Adding result to summary file +--- Starting cc information : 0 +--- Ending cc information : 0 +--- The file /mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/output_folder/summary.csv exists we just appending the result to the file +--- Experiments performed on configuration 400400-0-0. +--- Observing a pause betwenn experiment; pause duration : 180 seconds; starting at 04Oct22_05_03_59 +--- Performing experiments on configuration 400400-0-0 +--- Cleaning the tmp expermiment folder : /mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/last_tmp_expermiment_folder +--- Second step : verifying the battery level +--- Verifying the battery level +--- Getting current battery level, adb command path: /mnt/c/Program Files/Android/platform-tools_r33.0.1-windows/platform-tools/adb.exe +--- Current battery level : 50 +Current battery level: OKAY +--- Third step calibrating phone core frequency +--- Resetting all frequency configurations + -- Command used : echo schedutil > /sys/devices/system/cpu/cpu1/cpufreq/scaling_governor + -- Command used : echo schedutil > /sys/devices/system/cpu/cpu2/cpufreq/scaling_governor + -- Command used : echo schedutil > /sys/devices/system/cpu/cpu3/cpufreq/scaling_governor + -- Command used : echo schedutil > /sys/devices/system/cpu/cpu4/cpufreq/scaling_governor + -- Command used : echo schedutil > /sys/devices/system/cpu/cpu5/cpufreq/scaling_governor + -- Command used : echo schedutil > /sys/devices/system/cpu/cpu6/cpufreq/scaling_governor + -- Command used : echo schedutil > /sys/devices/system/cpu/cpu7/cpufreq/scaling_governor +--- Frequency level of core 0 is 4 +--- Modifying the governor of core 0 to set the default value +--- Modifying the governor of core 0 +--- Frequency level of core 1 is 0 +--- Exact frequency of core 1: 0 +--- Modifying the governor of core 1 +--- Modifying the the current frequency of core 1 with frequency 0 +--- Frequency level of core 2 is 0 +--- Exact frequency of core 2: 0 +--- Modifying the governor of core 2 +--- Modifying the the current frequency of core 2 with frequency 0 +--- Frequency level of core 3 is 4 +--- Modifying the governor of core 3 to set the default value +--- Modifying the governor of core 3 +--- Frequency level of core 4 is 0 +--- Exact frequency of core 4: 0 +--- Modifying the governor of core 4 +--- Modifying the the current frequency of core 4 with frequency 0 +--- Frequency level of core 5 is 0 +--- Exact frequency of core 5: 0 +--- Modifying the governor of core 5 +--- Modifying the the current frequency of core 5 with frequency 0 +--- Frequency level of core 6 is 0 +--- Exact frequency of core 6: 0 +--- Modifying the governor of core 6 +--- Modifying the the current frequency of core 6 with frequency 0 +--- Frequency level of core 7 is 0 +--- Exact frequency of core 7: 0 +--- Modifying the governor of core 7 +--- Modifying the the current frequency of core 7 with frequency 0 +--- Calibrating Monsoon power meter, please wait for 10 seconds... +powermeter script : --- Inside the monsoon_power_meter, arg function: 1 +powermeter script : calibration duration = 10 +powermeter script : Creating the Monsoon engine +powermeter script : Creating the Monsoon engine +powermeter script : Configuring channels the Monsoon engine +powermeter script : Configuring output to : C:\Users\lavoi\opportunist_task_on_android\scripts_valuable_files\experiment_automatization\last_tmp_expermiment_folder\configuration_mesurement.csv +powermeter script : Starting sampling; number of sample = 50000 + returning 50000 samples after experiments +powermeter script : Power meter calibration okay +--- Monsoon power meter Calibrated +--- starting the benchmarking app +## writing the configuration inside the phone file + --- Removing file /sdcard/experiments_automatization +rm '/sdcard/experiments_automatization/current_configuration.txt' +rm '/sdcard/experiments_automatization/experiment_duration.txt' +rm '/sdcard/experiments_automatization/app_output_folder/Thread_0_ready_for_sampling' +rm '/sdcard/experiments_automatization/app_output_folder/Thread_1_ready_for_sampling' +rm '/sdcard/experiments_automatization/app_output_folder/Thread_0_ended' +rm '/sdcard/experiments_automatization/app_output_folder/Thread_1_ended' +rmdir '/sdcard/experiments_automatization/app_output_folder' +rmdir '/sdcard/experiments_automatization' + --- Clearing the logcat + --- Creating file /sdcard/experiments_automatization +----- Uninstalling experiment app +Success +----- Installing experiment app +Performing Streamed Install +Success +------ Giving rights to experiment app +----- Starting experiment app +Starting: Intent { cmp=com.opportunistask.scheduling.benchmarking_app_to_test_big_cores/.MainActivity } +adb command : ps -A | grep com.opportunistask.scheduling.benchmarking_app_to_test_big_cores + ----- Experiment app started with pid: 31810 +---- waiting for benchmarking app thread to be pinned and to be ready +--- frequency level of core 0 is 4 +--- frequency level of core 1 is 0 +--- frequency level of core 2 is 0 +--- frequency level of core 3 is 4 +--- frequency level of core 4 is 0 +--- frequency level of core 5 is 0 +--- frequency level of core 6 is 0 +--- frequency level of core 7 is 0 +--- Number of cores to occupy = 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 2 +--- Now threads are running and the phone is ready to be sampled with the power meter \n--- Threads pids +Thread_0_ready_for_sampling +Thread_1_ready_for_sampling +--- Printing cc_info beginning datas (for the samsung galaxy s8) + --- Starting power meter sampling for about 600 seconds +--- Sampling with the Monsoon power meter +powermeter script : --- Inside the monsoon_power_meter, arg function: 2 +powermeter script : Experiment duration = 600 +powermeter script : Creating the Monsoon engine +powermeter script : Creating the Monsoon engine +powermeter script : Configuring channels the Monsoon engine +powermeter script : Configuring output to : C:\Users\lavoi\opportunist_task_on_android\scripts_valuable_files\experiment_automatization\last_tmp_expermiment_folder\configuration_mesurement.csv +powermeter script : Starting sampling; number of sample = 3000000 + returning 3000000 samples after experiments +powermeter script : Total nomber of sample measured : 3000000 +powermeter script : Computing powermeter summary result + Number of samples = 3000000 +powermeter script : We computed the energy on 600 samples +powermeter script : average_power = 714.8303589060488 +powermeter script : average_power with numpy arrays = 714.8303589059316 +powermeter script : Summary Result = time (s): 601.4976115226746 +Ins Current (mA):138.20824428876728 +Samples: 3000000 +Consumed Energy (mAs): 83003.19316529426 +Consumed Energy (mAh): 23.056442545915072 +Consumed Energy (mWs): 418742.78264122765 +Consumed Energy (mWh): 116.31743962256324 +Avg power (mW): 714.8303589060488 +Avg Current (mA): 141.7318257474453 +Avg Voltage (V): 5.0435415979175975 +Exp Batt Life (hrs for 1000mAh battery): NOT COMPUTED +--- Monsoon power meter sampling is finished ! + --- experiment folder path /mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/last_tmp_expermiment_folder +--- frequency level of core 0 is 4 +--- frequency level of core 1 is 0 +--- frequency level of core 2 is 0 +--- frequency level of core 3 is 4 +--- frequency level of core 4 is 0 +--- frequency level of core 5 is 0 +--- frequency level of core 6 is 0 +--- frequency level of core 7 is 0 +--- Number of threads normally started = 2 +--- Number of thread ended: 2 +--- Now threads are stopped, getting the cc_info_level for samsung +--- Copying thread results locally +command /mnt/c/Program Files/Android/platform-tools_r33.0.1-windows/platform-tools/adb.exe pull /sdcard/experiments_automatization/app_output_folder C:\Users\lavoi\opportunist_task_on_android\scripts_valuable_files\experiment_automatization\last_tmp_expermiment_folder </dev/null +/sdcard/experiments_automatization/app_output_folder/: 4 files pulled, 0 skipped. 0.0 MB/s (907 bytes in 0.029s) +saving the logcat file to /mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/last_tmp_expermiment_folder -/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/last_tmp_expermiment_folder- +--- Parsing result from /mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/last_tmp_expermiment_folder to /mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/output_folder/raw_result.txt +--- Getting exact configuration with frequency +--- Configuration with frequencies = [1804801- 0- 0- 1804801- 0- 0- 0- 0] +--- Getting the powermeter summary +--- Powermeter summary: +time (s): 601.4976115226746 +Ins Current (mA):138.20824428876728 +Samples: 3000000 +Consumed Energy (mAs): 83003.19316529426 +Consumed Energy (mAh): 23.056442545915072 +Consumed Energy (mWs): 418742.78264122765 +Consumed Energy (mWh): 116.31743962256324 +Avg power (mW): 714.8303589060488 +Avg Current (mA): 141.7318257474453 +Avg Voltage (V): 5.0435415979175975 + +--- Getting the total energy consumed of the google pixel +--- Energy consumed = 23.056442545915072 +--- Starting cc_info = 0 +--- Ending cc_info = 0 +--- Getting the average power +--- Avg Power = 714.8303589060488 +--- Printing the total threads summary +--- Thread results +Thread : 0 - ThreadProcess id: 31835 +---------------------------------------- +Starting time: Sun, 19 Dec 2021 03:23:43 +0100 +Core id: 0 +Ending time: Sun, 19 Dec 2021 03:33:43 +0100 - Duration: 600015 seconds +Real workload: 4.695866827366751E10 - Integer reached: 129108 - Number of reset = 0 +Battery stats: 0 mAH +Computed Drain: Null +Start: 50 % - End: 50 +Cc_info at the beginning: 0 mAh +Cc_info at the end: 0 mAh +Cc_info variation: 0.0 mAh + +Thread : 1 - ThreadProcess id: 31836 +---------------------------------------- +Starting time: Sun, 19 Dec 2021 03:23:43 +0100 +Core id: 3 +Ending time: Sun, 19 Dec 2021 03:33:43 +0100 - Duration: 600014 seconds +Real workload: 4.68804526315687E10 - Integer reached: 129005 - Number of reset = 0 +Battery stats: 0 mAH +Computed Drain: Null +Start: 50 % - End: 50 +Cc_info at the beginning: 0 mAh +Cc_info at the end: 0 mAh +Cc_info variation: 0.0 mAh + + +--- Counting the total workload command : print_total_workload /mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/last_tmp_expermiment_folder app_output_folder 4,0,0,4,0,0,0,0 /mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first +--- Total workload : 9.38391e+10 +--- Getting energy efficiency +--- Energy efficiency: 2.45702e-10 +--- Building what we will add to the total result file command +------ + (build_configuration_raw_result 400400-0-0 4,0,0,4,0,0,0,0 [1804801- 0- 0- 1804801- 0- 0- 0- 0] time (s): 601.4976115226746 +Ins Current (mA):138.20824428876728 +Samples: 3000000 +Consumed Energy (mAs): 83003.19316529426 +Consumed Energy (mAh): 23.056442545915072 +Consumed Energy (mWs): 418742.78264122765 +Consumed Energy (mWh): 116.31743962256324 +Avg power (mW): 714.8303589060488 +Avg Current (mA): 141.7318257474453 +Avg Voltage (V): 5.0435415979175975 + Thread : 0 - ThreadProcess id: 31835 +---------------------------------------- +Starting time: Sun, 19 Dec 2021 03:23:43 +0100 +Core id: 0 +Ending time: Sun, 19 Dec 2021 03:33:43 +0100 - Duration: 600015 seconds +Real workload: 4.695866827366751E10 - Integer reached: 129108 - Number of reset = 0 +Battery stats: 0 mAH +Computed Drain: Null +Start: 50 % - End: 50 +Cc_info at the beginning: 0 mAh +Cc_info at the end: 0 mAh +Cc_info variation: 0.0 mAh + +Thread : 1 - ThreadProcess id: 31836 +---------------------------------------- +Starting time: Sun, 19 Dec 2021 03:23:43 +0100 +Core id: 3 +Ending time: Sun, 19 Dec 2021 03:33:43 +0100 - Duration: 600014 seconds +Real workload: 4.68804526315687E10 - Integer reached: 129005 - Number of reset = 0 +Battery stats: 0 mAH +Computed Drain: Null +Start: 50 % - End: 50 +Cc_info at the beginning: 0 mAh +Cc_info at the end: 0 mAh +Cc_info variation: 0.0 mAh + + 23.056442545915072 9.38391e+10 2.45702e-10 0 0 +------ + +--- Final result to print to File + -------------------------------------------------------------------------------- + +++++ +++++ +++++ Configuration Description +-------------------------------------------------------------------------------- +Configuration: 400400-0-0 +phone format: 4,0,0,4,0,0,0,0 +Exact values of frequencies: [1804801- 0- 0- 1804801- 0- 0- 0- 0] + +Power meter results +------------------------------------------------------------ +time (s): 601.4976115226746 +Ins Current (mA):138.20824428876728 +Samples: 3000000 +Consumed Energy (mAs): 83003.19316529426 +Consumed Energy (mAh): 23.056442545915072 +Consumed Energy (mWs): 418742.78264122765 +Consumed Energy (mWh): 116.31743962256324 +Avg power (mW): 714.8303589060488 +Avg Current (mA): 141.7318257474453 +Avg Voltage (V): 5.0435415979175975 + +Threads results +------------------------------------------------------------ +Thread : 0 - ThreadProcess id: 31835 +---------------------------------------- +Starting time: Sun, 19 Dec 2021 03:23:43 +0100 +Core id: 0 +Ending time: Sun, 19 Dec 2021 03:33:43 +0100 - Duration: 600015 seconds +Real workload: 4.695866827366751E10 - Integer reached: 129108 - Number of reset = 0 +Battery stats: 0 mAH +Computed Drain: Null +Start: 50 % - End: 50 +Cc_info at the beginning: 0 mAh +Cc_info at the end: 0 mAh +Cc_info variation: 0.0 mAh + +Thread : 1 - ThreadProcess id: 31836 +---------------------------------------- +Starting time: Sun, 19 Dec 2021 03:23:43 +0100 +Core id: 3 +Ending time: Sun, 19 Dec 2021 03:33:43 +0100 - Duration: 600014 seconds +Real workload: 4.68804526315687E10 - Integer reached: 129005 - Number of reset = 0 +Battery stats: 0 mAH +Computed Drain: Null +Start: 50 % - End: 50 +Cc_info at the beginning: 0 mAh +Cc_info at the end: 0 mAh +Cc_info variation: 0.0 mAh + + +Expermiment results +------------------------------------------------------------ +Energy Consumed (mAh): 23.056442545915072 +Workload: 9.38391e+10 +Energy efficiency: 2.45702e-10 +-------------------------------------------------------------------------------- + + +--- Writing to the total result file +--- Removing previous tested configuration tmp_output folder +removed '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__04Oct22_05_07_01/app_output_folder/all_workloads.txt' +removed '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__04Oct22_05_07_01/app_output_folder/Thread_0_ended' +removed '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__04Oct22_05_07_01/app_output_folder/Thread_0_ready_for_sampling' +removed '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__04Oct22_05_07_01/app_output_folder/Thread_1_ended' +removed '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__04Oct22_05_07_01/app_output_folder/Thread_1_ready_for_sampling' +removed directory '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__04Oct22_05_07_01/app_output_folder' +removed '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__04Oct22_05_07_01/configuration_mesurement.csv' +removed '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__04Oct22_05_07_01/energy_power_workload_energyByWorkload_ccInfo' +removed '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__04Oct22_05_07_01/logcat_output' +removed '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__04Oct22_05_07_01/powermeter_summary.txt' +removed directory '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__04Oct22_05_07_01' +--- Moving the current experiment tmp_folder to the output result folder +writing a temporary file for the main script with format energy_power_workload_energyByWorkload_ccInfo +--- Obtaining experiment summary result to add to result folder +--- Experiment result, Energy consumed = 23.056442545915072 +--- Experiment result, Avg Power = 714.8303589060488 +--- Experiment result, Total Workload = 9.38391e+10 +--- Experiment result, Energy Efficiency = 2.45702e-10 +--- Adding result to summary file +--- Starting cc information : 0 +--- Ending cc information : 0 +--- The file /mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/output_folder/summary.csv exists we just appending the result to the file +--- Experiments performed on configuration 400400-0-0. +--- Observing a pause betwenn experiment; pause duration : 180 seconds; starting at 04Oct22_05_19_46 +--- Performing experiments on configuration 400400-0-0 +--- Cleaning the tmp expermiment folder : /mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/last_tmp_expermiment_folder +--- Second step : verifying the battery level +--- Verifying the battery level +--- Getting current battery level, adb command path: /mnt/c/Program Files/Android/platform-tools_r33.0.1-windows/platform-tools/adb.exe +--- Current battery level : 50 +Current battery level: OKAY +--- Third step calibrating phone core frequency +--- Resetting all frequency configurations + -- Command used : echo schedutil > /sys/devices/system/cpu/cpu1/cpufreq/scaling_governor + -- Command used : echo schedutil > /sys/devices/system/cpu/cpu2/cpufreq/scaling_governor + -- Command used : echo schedutil > /sys/devices/system/cpu/cpu3/cpufreq/scaling_governor + -- Command used : echo schedutil > /sys/devices/system/cpu/cpu4/cpufreq/scaling_governor + -- Command used : echo schedutil > /sys/devices/system/cpu/cpu5/cpufreq/scaling_governor + -- Command used : echo schedutil > /sys/devices/system/cpu/cpu6/cpufreq/scaling_governor + -- Command used : echo schedutil > /sys/devices/system/cpu/cpu7/cpufreq/scaling_governor +--- Frequency level of core 0 is 4 +--- Modifying the governor of core 0 to set the default value +--- Modifying the governor of core 0 +--- Frequency level of core 1 is 0 +--- Exact frequency of core 1: 0 +--- Modifying the governor of core 1 +--- Modifying the the current frequency of core 1 with frequency 0 +--- Frequency level of core 2 is 0 +--- Exact frequency of core 2: 0 +--- Modifying the governor of core 2 +--- Modifying the the current frequency of core 2 with frequency 0 +--- Frequency level of core 3 is 4 +--- Modifying the governor of core 3 to set the default value +--- Modifying the governor of core 3 +--- Frequency level of core 4 is 0 +--- Exact frequency of core 4: 0 +--- Modifying the governor of core 4 +--- Modifying the the current frequency of core 4 with frequency 0 +--- Frequency level of core 5 is 0 +--- Exact frequency of core 5: 0 +--- Modifying the governor of core 5 +--- Modifying the the current frequency of core 5 with frequency 0 +--- Frequency level of core 6 is 0 +--- Exact frequency of core 6: 0 +--- Modifying the governor of core 6 +--- Modifying the the current frequency of core 6 with frequency 0 +--- Frequency level of core 7 is 0 +--- Exact frequency of core 7: 0 +--- Modifying the governor of core 7 +--- Modifying the the current frequency of core 7 with frequency 0 +--- Calibrating Monsoon power meter, please wait for 10 seconds... +powermeter script : --- Inside the monsoon_power_meter, arg function: 1 +powermeter script : calibration duration = 10 +powermeter script : Creating the Monsoon engine +powermeter script : Creating the Monsoon engine +powermeter script : Configuring channels the Monsoon engine +powermeter script : Configuring output to : C:\Users\lavoi\opportunist_task_on_android\scripts_valuable_files\experiment_automatization\last_tmp_expermiment_folder\configuration_mesurement.csv +powermeter script : Starting sampling; number of sample = 50000 + returning 50000 samples after experiments +powermeter script : Power meter calibration okay +--- Monsoon power meter Calibrated +--- starting the benchmarking app +## writing the configuration inside the phone file + --- Removing file /sdcard/experiments_automatization +rm '/sdcard/experiments_automatization/current_configuration.txt' +rm '/sdcard/experiments_automatization/experiment_duration.txt' +rm '/sdcard/experiments_automatization/app_output_folder/Thread_1_ready_for_sampling' +rm '/sdcard/experiments_automatization/app_output_folder/Thread_0_ready_for_sampling' +rm '/sdcard/experiments_automatization/app_output_folder/Thread_1_ended' +rm '/sdcard/experiments_automatization/app_output_folder/Thread_0_ended' +rmdir '/sdcard/experiments_automatization/app_output_folder' +rmdir '/sdcard/experiments_automatization' + --- Clearing the logcat + --- Creating file /sdcard/experiments_automatization +----- Uninstalling experiment app +Success +----- Installing experiment app +Performing Streamed Install +Success +------ Giving rights to experiment app +----- Starting experiment app +Starting: Intent { cmp=com.opportunistask.scheduling.benchmarking_app_to_test_big_cores/.MainActivity } +adb command : ps -A | grep com.opportunistask.scheduling.benchmarking_app_to_test_big_cores + ----- Experiment app started with pid: 32639 +---- waiting for benchmarking app thread to be pinned and to be ready +--- frequency level of core 0 is 4 +--- frequency level of core 1 is 0 +--- frequency level of core 2 is 0 +--- frequency level of core 3 is 4 +--- frequency level of core 4 is 0 +--- frequency level of core 5 is 0 +--- frequency level of core 6 is 0 +--- frequency level of core 7 is 0 +--- Number of cores to occupy = 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 2 +--- Now threads are running and the phone is ready to be sampled with the power meter \n--- Threads pids +Thread_0_ready_for_sampling +Thread_1_ready_for_sampling +--- Printing cc_info beginning datas (for the samsung galaxy s8) + --- Starting power meter sampling for about 600 seconds +--- Sampling with the Monsoon power meter +powermeter script : --- Inside the monsoon_power_meter, arg function: 2 +powermeter script : Experiment duration = 600 +powermeter script : Creating the Monsoon engine +powermeter script : Creating the Monsoon engine +powermeter script : Configuring channels the Monsoon engine +powermeter script : Configuring output to : C:\Users\lavoi\opportunist_task_on_android\scripts_valuable_files\experiment_automatization\last_tmp_expermiment_folder\configuration_mesurement.csv +powermeter script : Starting sampling; number of sample = 3000000 + returning 3000000 samples after experiments +powermeter script : Total nomber of sample measured : 3000000 +powermeter script : Computing powermeter summary result + Number of samples = 3000000 +powermeter script : We computed the energy on 600 samples +powermeter script : average_power = 722.632215692879 +powermeter script : average_power with numpy arrays = 722.6322156928807 +powermeter script : Summary Result = time (s): 601.4767756462097 +Ins Current (mA):143.49355458036203 +Samples: 3000000 +Consumed Energy (mAs): 85895.27089978887 +Consumed Energy (mAh): 23.859797472163574 +Consumed Energy (mWs): 433012.5968763704 +Consumed Energy (mWh): 120.28127691010287 +Avg power (mW): 722.632215692879 +Avg Current (mA): 143.30904104056236 +Avg Voltage (V): 5.042474713708707 +Exp Batt Life (hrs for 1000mAh battery): NOT COMPUTED +--- Monsoon power meter sampling is finished ! + --- experiment folder path /mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/last_tmp_expermiment_folder +--- frequency level of core 0 is 4 +--- frequency level of core 1 is 0 +--- frequency level of core 2 is 0 +--- frequency level of core 3 is 4 +--- frequency level of core 4 is 0 +--- frequency level of core 5 is 0 +--- frequency level of core 6 is 0 +--- frequency level of core 7 is 0 +--- Number of threads normally started = 2 +--- Number of thread ended: 2 +--- Now threads are stopped, getting the cc_info_level for samsung +--- Copying thread results locally +command /mnt/c/Program Files/Android/platform-tools_r33.0.1-windows/platform-tools/adb.exe pull /sdcard/experiments_automatization/app_output_folder C:\Users\lavoi\opportunist_task_on_android\scripts_valuable_files\experiment_automatization\last_tmp_expermiment_folder </dev/null +/sdcard/experiments_automatization/app_output_folder/: 4 files pulled, 0 skipped. 0.0 MB/s (908 bytes in 0.047s) +saving the logcat file to /mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/last_tmp_expermiment_folder -/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/last_tmp_expermiment_folder- +--- Parsing result from /mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/last_tmp_expermiment_folder to /mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/output_folder/raw_result.txt +--- Getting exact configuration with frequency +--- Configuration with frequencies = [1804801- 0- 0- 1804801- 0- 0- 0- 0] +--- Getting the powermeter summary +--- Powermeter summary: +time (s): 601.4767756462097 +Ins Current (mA):143.49355458036203 +Samples: 3000000 +Consumed Energy (mAs): 85895.27089978887 +Consumed Energy (mAh): 23.859797472163574 +Consumed Energy (mWs): 433012.5968763704 +Consumed Energy (mWh): 120.28127691010287 +Avg power (mW): 722.632215692879 +Avg Current (mA): 143.30904104056236 +Avg Voltage (V): 5.042474713708707 + +--- Getting the total energy consumed of the google pixel +--- Energy consumed = 23.859797472163574 +--- Starting cc_info = 0 +--- Ending cc_info = 0 +--- Getting the average power +--- Avg Power = 722.632215692879 +--- Printing the total threads summary +--- Thread results +Thread : 0 - ThreadProcess id: 32664 +---------------------------------------- +Starting time: Sun, 19 Dec 2021 03:39:31 +0100 +Core id: 0 +Ending time: Sun, 19 Dec 2021 03:49:31 +0100 - Duration: 600002 seconds +Real workload: 4.676439324472237E10 - Integer reached: 128852 - Number of reset = 0 +Battery stats: 0 mAH +Computed Drain: Null +Start: 50 % - End: 50 +Cc_info at the beginning: 0 mAh +Cc_info at the end: 0 mAh +Cc_info variation: 0.0 mAh + +Thread : 1 - ThreadProcess id: 32665 +---------------------------------------- +Starting time: Sun, 19 Dec 2021 03:39:31 +0100 +Core id: 3 +Ending time: Sun, 19 Dec 2021 03:49:31 +0100 - Duration: 600007 seconds +Real workload: 4.685009588292572E10 - Integer reached: 128965 - Number of reset = 0 +Battery stats: 0 mAH +Computed Drain: Null +Start: 50 % - End: 50 +Cc_info at the beginning: 0 mAh +Cc_info at the end: 0 mAh +Cc_info variation: 0.0 mAh + + +--- Counting the total workload command : print_total_workload /mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/last_tmp_expermiment_folder app_output_folder 4,0,0,4,0,0,0,0 /mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first +--- Total workload : 9.36145e+10 +--- Getting energy efficiency +--- Energy efficiency: 2.54873e-10 +--- Building what we will add to the total result file command +------ + (build_configuration_raw_result 400400-0-0 4,0,0,4,0,0,0,0 [1804801- 0- 0- 1804801- 0- 0- 0- 0] time (s): 601.4767756462097 +Ins Current (mA):143.49355458036203 +Samples: 3000000 +Consumed Energy (mAs): 85895.27089978887 +Consumed Energy (mAh): 23.859797472163574 +Consumed Energy (mWs): 433012.5968763704 +Consumed Energy (mWh): 120.28127691010287 +Avg power (mW): 722.632215692879 +Avg Current (mA): 143.30904104056236 +Avg Voltage (V): 5.042474713708707 + Thread : 0 - ThreadProcess id: 32664 +---------------------------------------- +Starting time: Sun, 19 Dec 2021 03:39:31 +0100 +Core id: 0 +Ending time: Sun, 19 Dec 2021 03:49:31 +0100 - Duration: 600002 seconds +Real workload: 4.676439324472237E10 - Integer reached: 128852 - Number of reset = 0 +Battery stats: 0 mAH +Computed Drain: Null +Start: 50 % - End: 50 +Cc_info at the beginning: 0 mAh +Cc_info at the end: 0 mAh +Cc_info variation: 0.0 mAh + +Thread : 1 - ThreadProcess id: 32665 +---------------------------------------- +Starting time: Sun, 19 Dec 2021 03:39:31 +0100 +Core id: 3 +Ending time: Sun, 19 Dec 2021 03:49:31 +0100 - Duration: 600007 seconds +Real workload: 4.685009588292572E10 - Integer reached: 128965 - Number of reset = 0 +Battery stats: 0 mAH +Computed Drain: Null +Start: 50 % - End: 50 +Cc_info at the beginning: 0 mAh +Cc_info at the end: 0 mAh +Cc_info variation: 0.0 mAh + + 23.859797472163574 9.36145e+10 2.54873e-10 0 0 +------ + +--- Final result to print to File + -------------------------------------------------------------------------------- + +++++ +++++ +++++ Configuration Description +-------------------------------------------------------------------------------- +Configuration: 400400-0-0 +phone format: 4,0,0,4,0,0,0,0 +Exact values of frequencies: [1804801- 0- 0- 1804801- 0- 0- 0- 0] + +Power meter results +------------------------------------------------------------ +time (s): 601.4767756462097 +Ins Current (mA):143.49355458036203 +Samples: 3000000 +Consumed Energy (mAs): 85895.27089978887 +Consumed Energy (mAh): 23.859797472163574 +Consumed Energy (mWs): 433012.5968763704 +Consumed Energy (mWh): 120.28127691010287 +Avg power (mW): 722.632215692879 +Avg Current (mA): 143.30904104056236 +Avg Voltage (V): 5.042474713708707 + +Threads results +------------------------------------------------------------ +Thread : 0 - ThreadProcess id: 32664 +---------------------------------------- +Starting time: Sun, 19 Dec 2021 03:39:31 +0100 +Core id: 0 +Ending time: Sun, 19 Dec 2021 03:49:31 +0100 - Duration: 600002 seconds +Real workload: 4.676439324472237E10 - Integer reached: 128852 - Number of reset = 0 +Battery stats: 0 mAH +Computed Drain: Null +Start: 50 % - End: 50 +Cc_info at the beginning: 0 mAh +Cc_info at the end: 0 mAh +Cc_info variation: 0.0 mAh + +Thread : 1 - ThreadProcess id: 32665 +---------------------------------------- +Starting time: Sun, 19 Dec 2021 03:39:31 +0100 +Core id: 3 +Ending time: Sun, 19 Dec 2021 03:49:31 +0100 - Duration: 600007 seconds +Real workload: 4.685009588292572E10 - Integer reached: 128965 - Number of reset = 0 +Battery stats: 0 mAH +Computed Drain: Null +Start: 50 % - End: 50 +Cc_info at the beginning: 0 mAh +Cc_info at the end: 0 mAh +Cc_info variation: 0.0 mAh + + +Expermiment results +------------------------------------------------------------ +Energy Consumed (mAh): 23.859797472163574 +Workload: 9.36145e+10 +Energy efficiency: 2.54873e-10 +-------------------------------------------------------------------------------- + + +--- Writing to the total result file +--- Removing previous tested configuration tmp_output folder +removed '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__04Oct22_05_22_48/app_output_folder/all_workloads.txt' +removed '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__04Oct22_05_22_48/app_output_folder/Thread_0_ended' +removed '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__04Oct22_05_22_48/app_output_folder/Thread_0_ready_for_sampling' +removed '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__04Oct22_05_22_48/app_output_folder/Thread_1_ended' +removed '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__04Oct22_05_22_48/app_output_folder/Thread_1_ready_for_sampling' +removed directory '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__04Oct22_05_22_48/app_output_folder' +removed '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__04Oct22_05_22_48/configuration_mesurement.csv' +removed '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__04Oct22_05_22_48/energy_power_workload_energyByWorkload_ccInfo' +removed '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__04Oct22_05_22_48/logcat_output' +removed '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__04Oct22_05_22_48/powermeter_summary.txt' +removed directory '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__04Oct22_05_22_48' +--- Moving the current experiment tmp_folder to the output result folder +writing a temporary file for the main script with format energy_power_workload_energyByWorkload_ccInfo +--- Obtaining experiment summary result to add to result folder +--- Experiment result, Energy consumed = 23.859797472163574 +--- Experiment result, Avg Power = 722.632215692879 +--- Experiment result, Total Workload = 9.36145e+10 +--- Experiment result, Energy Efficiency = 2.54873e-10 +--- Adding result to summary file +--- Starting cc information : 0 +--- Ending cc information : 0 +--- The file /mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/output_folder/summary.csv exists we just appending the result to the file +--- Experiments performed on configuration 400400-0-0. +--- Observing a pause betwenn experiment; pause duration : 180 seconds; starting at 04Oct22_05_35_34 +--- Performing experiments on configuration 404000-0-0 +--- Cleaning the tmp expermiment folder : /mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/last_tmp_expermiment_folder +--- Second step : verifying the battery level +--- Verifying the battery level +--- Getting current battery level, adb command path: /mnt/c/Program Files/Android/platform-tools_r33.0.1-windows/platform-tools/adb.exe +--- Current battery level : 50 +Current battery level: OKAY +--- Third step calibrating phone core frequency +--- Resetting all frequency configurations + -- Command used : echo schedutil > /sys/devices/system/cpu/cpu1/cpufreq/scaling_governor + -- Command used : echo schedutil > /sys/devices/system/cpu/cpu2/cpufreq/scaling_governor + -- Command used : echo schedutil > /sys/devices/system/cpu/cpu3/cpufreq/scaling_governor + -- Command used : echo schedutil > /sys/devices/system/cpu/cpu4/cpufreq/scaling_governor + -- Command used : echo schedutil > /sys/devices/system/cpu/cpu5/cpufreq/scaling_governor + -- Command used : echo schedutil > /sys/devices/system/cpu/cpu6/cpufreq/scaling_governor + -- Command used : echo schedutil > /sys/devices/system/cpu/cpu7/cpufreq/scaling_governor +--- Frequency level of core 0 is 4 +--- Modifying the governor of core 0 to set the default value +--- Modifying the governor of core 0 +--- Frequency level of core 1 is 0 +--- Exact frequency of core 1: 0 +--- Modifying the governor of core 1 +--- Modifying the the current frequency of core 1 with frequency 0 +--- Frequency level of core 2 is 4 +--- Modifying the governor of core 2 to set the default value +--- Modifying the governor of core 2 +--- Frequency level of core 3 is 0 +--- Exact frequency of core 3: 0 +--- Modifying the governor of core 3 +--- Modifying the the current frequency of core 3 with frequency 0 +--- Frequency level of core 4 is 0 +--- Exact frequency of core 4: 0 +--- Modifying the governor of core 4 +--- Modifying the the current frequency of core 4 with frequency 0 +--- Frequency level of core 5 is 0 +--- Exact frequency of core 5: 0 +--- Modifying the governor of core 5 +--- Modifying the the current frequency of core 5 with frequency 0 +--- Frequency level of core 6 is 0 +--- Exact frequency of core 6: 0 +--- Modifying the governor of core 6 +--- Modifying the the current frequency of core 6 with frequency 0 +--- Frequency level of core 7 is 0 +--- Exact frequency of core 7: 0 +--- Modifying the governor of core 7 +--- Modifying the the current frequency of core 7 with frequency 0 +--- Calibrating Monsoon power meter, please wait for 10 seconds... +powermeter script : --- Inside the monsoon_power_meter, arg function: 1 +powermeter script : calibration duration = 10 +powermeter script : Creating the Monsoon engine +powermeter script : Creating the Monsoon engine +powermeter script : Configuring channels the Monsoon engine +powermeter script : Configuring output to : C:\Users\lavoi\opportunist_task_on_android\scripts_valuable_files\experiment_automatization\last_tmp_expermiment_folder\configuration_mesurement.csv +powermeter script : Starting sampling; number of sample = 50000 + returning 50000 samples after experiments +powermeter script : Power meter calibration okay +--- Monsoon power meter Calibrated +--- starting the benchmarking app +## writing the configuration inside the phone file + --- Removing file /sdcard/experiments_automatization +rm '/sdcard/experiments_automatization/current_configuration.txt' +rm '/sdcard/experiments_automatization/experiment_duration.txt' +rm '/sdcard/experiments_automatization/app_output_folder/Thread_0_ready_for_sampling' +rm '/sdcard/experiments_automatization/app_output_folder/Thread_1_ready_for_sampling' +rm '/sdcard/experiments_automatization/app_output_folder/Thread_0_ended' +rm '/sdcard/experiments_automatization/app_output_folder/Thread_1_ended' +rmdir '/sdcard/experiments_automatization/app_output_folder' +rmdir '/sdcard/experiments_automatization' + --- Clearing the logcat + --- Creating file /sdcard/experiments_automatization +----- Uninstalling experiment app +Success +----- Installing experiment app +Performing Streamed Install +Success +------ Giving rights to experiment app +----- Starting experiment app +Starting: Intent { cmp=com.opportunistask.scheduling.benchmarking_app_to_test_big_cores/.MainActivity } +adb command : ps -A | grep com.opportunistask.scheduling.benchmarking_app_to_test_big_cores + ----- Experiment app started with pid: 1759 +---- waiting for benchmarking app thread to be pinned and to be ready +--- frequency level of core 0 is 4 +--- frequency level of core 1 is 0 +--- frequency level of core 2 is 4 +--- frequency level of core 3 is 0 +--- frequency level of core 4 is 0 +--- frequency level of core 5 is 0 +--- frequency level of core 6 is 0 +--- frequency level of core 7 is 0 +--- Number of cores to occupy = 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 1 +--- The current number of thread ready to be sambled : 1, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 2 +--- Now threads are running and the phone is ready to be sampled with the power meter \n--- Threads pids +Thread_0_ready_for_sampling +Thread_1_ready_for_sampling +--- Printing cc_info beginning datas (for the samsung galaxy s8) + --- Starting power meter sampling for about 600 seconds +--- Sampling with the Monsoon power meter +powermeter script : --- Inside the monsoon_power_meter, arg function: 2 +powermeter script : Experiment duration = 600 +powermeter script : Creating the Monsoon engine +powermeter script : Creating the Monsoon engine +powermeter script : Configuring channels the Monsoon engine +powermeter script : Configuring output to : C:\Users\lavoi\opportunist_task_on_android\scripts_valuable_files\experiment_automatization\last_tmp_expermiment_folder\configuration_mesurement.csv +powermeter script : Starting sampling; number of sample = 3000000 + returning 3000000 samples after experiments +powermeter script : Total nomber of sample measured : 3000000 +powermeter script : Computing powermeter summary result + Number of samples = 3000000 +powermeter script : We computed the energy on 600 samples +powermeter script : average_power = 721.3687521773078 +powermeter script : average_power with numpy arrays = 721.3687521771222 +powermeter script : Summary Result = time (s): 601.214362859726 +Ins Current (mA):122.68735571758359 +Samples: 3000000 +Consumed Energy (mAs): 86146.55826313088 +Consumed Energy (mAh): 23.929599517536357 +Consumed Energy (mWs): 434162.0662975157 +Consumed Energy (mWh): 120.60057397153214 +Avg power (mW): 721.3687521773078 +Avg Current (mA): 143.05247805376743 +Avg Voltage (V): 5.042686166584095 +Exp Batt Life (hrs for 1000mAh battery): NOT COMPUTED +--- Monsoon power meter sampling is finished ! + --- experiment folder path /mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/last_tmp_expermiment_folder +--- frequency level of core 0 is 4 +--- frequency level of core 1 is 0 +--- frequency level of core 2 is 4 +--- frequency level of core 3 is 0 +--- frequency level of core 4 is 0 +--- frequency level of core 5 is 0 +--- frequency level of core 6 is 0 +--- frequency level of core 7 is 0 +--- Number of threads normally started = 2 +--- Number of thread ended: 2 +--- Now threads are stopped, getting the cc_info_level for samsung +--- Copying thread results locally +command /mnt/c/Program Files/Android/platform-tools_r33.0.1-windows/platform-tools/adb.exe pull /sdcard/experiments_automatization/app_output_folder C:\Users\lavoi\opportunist_task_on_android\scripts_valuable_files\experiment_automatization\last_tmp_expermiment_folder </dev/null +/sdcard/experiments_automatization/app_output_folder/: 4 files pulled, 0 skipped. 0.0 MB/s (905 bytes in 0.030s) +saving the logcat file to /mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/last_tmp_expermiment_folder -/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/last_tmp_expermiment_folder- +--- Parsing result from /mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/last_tmp_expermiment_folder to /mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/output_folder/raw_result.txt +--- Getting exact configuration with frequency +--- Configuration with frequencies = [1804801- 0- 1804801- 0- 0- 0- 0- 0] +--- Getting the powermeter summary +--- Powermeter summary: +time (s): 601.214362859726 +Ins Current (mA):122.68735571758359 +Samples: 3000000 +Consumed Energy (mAs): 86146.55826313088 +Consumed Energy (mAh): 23.929599517536357 +Consumed Energy (mWs): 434162.0662975157 +Consumed Energy (mWh): 120.60057397153214 +Avg power (mW): 721.3687521773078 +Avg Current (mA): 143.05247805376743 +Avg Voltage (V): 5.042686166584095 + +--- Getting the total energy consumed of the google pixel +--- Energy consumed = 23.929599517536357 +--- Starting cc_info = 0 +--- Ending cc_info = 0 +--- Getting the average power +--- Avg Power = 721.3687521773078 +--- Printing the total threads summary +--- Thread results +Thread : 0 - ThreadProcess id: 1816 +---------------------------------------- +Starting time: Sun, 19 Dec 2021 03:55:19 +0100 +Core id: 0 +Ending time: Sun, 19 Dec 2021 04:05:19 +0100 - Duration: 600011 seconds +Real workload: 4.6806855159648926E10 - Integer reached: 128908 - Number of reset = 0 +Battery stats: 0 mAH +Computed Drain: Null +Start: 50 % - End: 50 +Cc_info at the beginning: 0 mAh +Cc_info at the end: 0 mAh +Cc_info variation: 0.0 mAh + +Thread : 1 - ThreadProcess id: 1818 +---------------------------------------- +Starting time: Sun, 19 Dec 2021 03:55:19 +0100 +Core id: 2 +Ending time: Sun, 19 Dec 2021 04:05:19 +0100 - Duration: 600005 seconds +Real workload: 4.681519824576926E10 - Integer reached: 128919 - Number of reset = 0 +Battery stats: 0 mAH +Computed Drain: Null +Start: 50 % - End: 50 +Cc_info at the beginning: 0 mAh +Cc_info at the end: 0 mAh +Cc_info variation: 0.0 mAh + + +--- Counting the total workload command : print_total_workload /mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/last_tmp_expermiment_folder app_output_folder 4,0,4,0,0,0,0,0 /mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first +--- Total workload : 9.36221e+10 +--- Getting energy efficiency +--- Energy efficiency: 2.55598e-10 +--- Building what we will add to the total result file command +------ + (build_configuration_raw_result 404000-0-0 4,0,4,0,0,0,0,0 [1804801- 0- 1804801- 0- 0- 0- 0- 0] time (s): 601.214362859726 +Ins Current (mA):122.68735571758359 +Samples: 3000000 +Consumed Energy (mAs): 86146.55826313088 +Consumed Energy (mAh): 23.929599517536357 +Consumed Energy (mWs): 434162.0662975157 +Consumed Energy (mWh): 120.60057397153214 +Avg power (mW): 721.3687521773078 +Avg Current (mA): 143.05247805376743 +Avg Voltage (V): 5.042686166584095 + Thread : 0 - ThreadProcess id: 1816 +---------------------------------------- +Starting time: Sun, 19 Dec 2021 03:55:19 +0100 +Core id: 0 +Ending time: Sun, 19 Dec 2021 04:05:19 +0100 - Duration: 600011 seconds +Real workload: 4.6806855159648926E10 - Integer reached: 128908 - Number of reset = 0 +Battery stats: 0 mAH +Computed Drain: Null +Start: 50 % - End: 50 +Cc_info at the beginning: 0 mAh +Cc_info at the end: 0 mAh +Cc_info variation: 0.0 mAh + +Thread : 1 - ThreadProcess id: 1818 +---------------------------------------- +Starting time: Sun, 19 Dec 2021 03:55:19 +0100 +Core id: 2 +Ending time: Sun, 19 Dec 2021 04:05:19 +0100 - Duration: 600005 seconds +Real workload: 4.681519824576926E10 - Integer reached: 128919 - Number of reset = 0 +Battery stats: 0 mAH +Computed Drain: Null +Start: 50 % - End: 50 +Cc_info at the beginning: 0 mAh +Cc_info at the end: 0 mAh +Cc_info variation: 0.0 mAh + + 23.929599517536357 9.36221e+10 2.55598e-10 0 0 +------ + +--- Final result to print to File + -------------------------------------------------------------------------------- + +++++ +++++ +++++ Configuration Description +-------------------------------------------------------------------------------- +Configuration: 404000-0-0 +phone format: 4,0,4,0,0,0,0,0 +Exact values of frequencies: [1804801- 0- 1804801- 0- 0- 0- 0- 0] + +Power meter results +------------------------------------------------------------ +time (s): 601.214362859726 +Ins Current (mA):122.68735571758359 +Samples: 3000000 +Consumed Energy (mAs): 86146.55826313088 +Consumed Energy (mAh): 23.929599517536357 +Consumed Energy (mWs): 434162.0662975157 +Consumed Energy (mWh): 120.60057397153214 +Avg power (mW): 721.3687521773078 +Avg Current (mA): 143.05247805376743 +Avg Voltage (V): 5.042686166584095 + +Threads results +------------------------------------------------------------ +Thread : 0 - ThreadProcess id: 1816 +---------------------------------------- +Starting time: Sun, 19 Dec 2021 03:55:19 +0100 +Core id: 0 +Ending time: Sun, 19 Dec 2021 04:05:19 +0100 - Duration: 600011 seconds +Real workload: 4.6806855159648926E10 - Integer reached: 128908 - Number of reset = 0 +Battery stats: 0 mAH +Computed Drain: Null +Start: 50 % - End: 50 +Cc_info at the beginning: 0 mAh +Cc_info at the end: 0 mAh +Cc_info variation: 0.0 mAh + +Thread : 1 - ThreadProcess id: 1818 +---------------------------------------- +Starting time: Sun, 19 Dec 2021 03:55:19 +0100 +Core id: 2 +Ending time: Sun, 19 Dec 2021 04:05:19 +0100 - Duration: 600005 seconds +Real workload: 4.681519824576926E10 - Integer reached: 128919 - Number of reset = 0 +Battery stats: 0 mAH +Computed Drain: Null +Start: 50 % - End: 50 +Cc_info at the beginning: 0 mAh +Cc_info at the end: 0 mAh +Cc_info variation: 0.0 mAh + + +Expermiment results +------------------------------------------------------------ +Energy Consumed (mAh): 23.929599517536357 +Workload: 9.36221e+10 +Energy efficiency: 2.55598e-10 +-------------------------------------------------------------------------------- + + +--- Writing to the total result file +--- Removing previous tested configuration tmp_output folder +removed '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__04Oct22_05_38_36/app_output_folder/all_workloads.txt' +removed '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__04Oct22_05_38_36/app_output_folder/Thread_0_ended' +removed '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__04Oct22_05_38_36/app_output_folder/Thread_0_ready_for_sampling' +removed '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__04Oct22_05_38_36/app_output_folder/Thread_1_ended' +removed '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__04Oct22_05_38_36/app_output_folder/Thread_1_ready_for_sampling' +removed directory '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__04Oct22_05_38_36/app_output_folder' +removed '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__04Oct22_05_38_36/configuration_mesurement.csv' +removed '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__04Oct22_05_38_36/energy_power_workload_energyByWorkload_ccInfo' +removed '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__04Oct22_05_38_36/logcat_output' +removed '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__04Oct22_05_38_36/powermeter_summary.txt' +removed directory '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__04Oct22_05_38_36' +--- Moving the current experiment tmp_folder to the output result folder +writing a temporary file for the main script with format energy_power_workload_energyByWorkload_ccInfo +--- Obtaining experiment summary result to add to result folder +--- Experiment result, Energy consumed = 23.929599517536357 +--- Experiment result, Avg Power = 721.3687521773078 +--- Experiment result, Total Workload = 9.36221e+10 +--- Experiment result, Energy Efficiency = 2.55598e-10 +--- Adding result to summary file +--- Starting cc information : 0 +--- Ending cc information : 0 +--- The file /mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/output_folder/summary.csv exists we just appending the result to the file +--- Experiments performed on configuration 404000-0-0. +--- Observing a pause betwenn experiment; pause duration : 180 seconds; starting at 04Oct22_05_51_23 +--- Performing experiments on configuration 404000-0-0 +--- Cleaning the tmp expermiment folder : /mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/last_tmp_expermiment_folder +--- Second step : verifying the battery level +--- Verifying the battery level +--- Getting current battery level, adb command path: /mnt/c/Program Files/Android/platform-tools_r33.0.1-windows/platform-tools/adb.exe +--- Current battery level : 50 +Current battery level: OKAY +--- Third step calibrating phone core frequency +--- Resetting all frequency configurations + -- Command used : echo schedutil > /sys/devices/system/cpu/cpu1/cpufreq/scaling_governor + -- Command used : echo schedutil > /sys/devices/system/cpu/cpu2/cpufreq/scaling_governor + -- Command used : echo schedutil > /sys/devices/system/cpu/cpu3/cpufreq/scaling_governor + -- Command used : echo schedutil > /sys/devices/system/cpu/cpu4/cpufreq/scaling_governor + -- Command used : echo schedutil > /sys/devices/system/cpu/cpu5/cpufreq/scaling_governor + -- Command used : echo schedutil > /sys/devices/system/cpu/cpu6/cpufreq/scaling_governor + -- Command used : echo schedutil > /sys/devices/system/cpu/cpu7/cpufreq/scaling_governor +--- Frequency level of core 0 is 4 +--- Modifying the governor of core 0 to set the default value +--- Modifying the governor of core 0 +--- Frequency level of core 1 is 0 +--- Exact frequency of core 1: 0 +--- Modifying the governor of core 1 +--- Modifying the the current frequency of core 1 with frequency 0 +--- Frequency level of core 2 is 4 +--- Modifying the governor of core 2 to set the default value +--- Modifying the governor of core 2 +--- Frequency level of core 3 is 0 +--- Exact frequency of core 3: 0 +--- Modifying the governor of core 3 +--- Modifying the the current frequency of core 3 with frequency 0 +--- Frequency level of core 4 is 0 +--- Exact frequency of core 4: 0 +--- Modifying the governor of core 4 +--- Modifying the the current frequency of core 4 with frequency 0 +--- Frequency level of core 5 is 0 +--- Exact frequency of core 5: 0 +--- Modifying the governor of core 5 +--- Modifying the the current frequency of core 5 with frequency 0 +--- Frequency level of core 6 is 0 +--- Exact frequency of core 6: 0 +--- Modifying the governor of core 6 +--- Modifying the the current frequency of core 6 with frequency 0 +--- Frequency level of core 7 is 0 +--- Exact frequency of core 7: 0 +--- Modifying the governor of core 7 +--- Modifying the the current frequency of core 7 with frequency 0 +--- Calibrating Monsoon power meter, please wait for 10 seconds... +powermeter script : --- Inside the monsoon_power_meter, arg function: 1 +powermeter script : calibration duration = 10 +powermeter script : Creating the Monsoon engine +powermeter script : Creating the Monsoon engine +powermeter script : Configuring channels the Monsoon engine +powermeter script : Configuring output to : C:\Users\lavoi\opportunist_task_on_android\scripts_valuable_files\experiment_automatization\last_tmp_expermiment_folder\configuration_mesurement.csv +powermeter script : Starting sampling; number of sample = 50000 + returning 50000 samples after experiments +powermeter script : Power meter calibration okay +--- Monsoon power meter Calibrated +--- starting the benchmarking app +## writing the configuration inside the phone file + --- Removing file /sdcard/experiments_automatization +rm '/sdcard/experiments_automatization/current_configuration.txt' +rm '/sdcard/experiments_automatization/experiment_duration.txt' +rm '/sdcard/experiments_automatization/app_output_folder/Thread_0_ready_for_sampling' +rm '/sdcard/experiments_automatization/app_output_folder/Thread_1_ready_for_sampling' +rm '/sdcard/experiments_automatization/app_output_folder/Thread_0_ended' +rm '/sdcard/experiments_automatization/app_output_folder/Thread_1_ended' +rmdir '/sdcard/experiments_automatization/app_output_folder' +rmdir '/sdcard/experiments_automatization' + --- Clearing the logcat + --- Creating file /sdcard/experiments_automatization +----- Uninstalling experiment app +Success +----- Installing experiment app +Performing Streamed Install +Success +------ Giving rights to experiment app +----- Starting experiment app +Starting: Intent { cmp=com.opportunistask.scheduling.benchmarking_app_to_test_big_cores/.MainActivity } +adb command : ps -A | grep com.opportunistask.scheduling.benchmarking_app_to_test_big_cores + ----- Experiment app started with pid: 3357 +---- waiting for benchmarking app thread to be pinned and to be ready +--- frequency level of core 0 is 4 +--- frequency level of core 1 is 0 +--- frequency level of core 2 is 4 +--- frequency level of core 3 is 0 +--- frequency level of core 4 is 0 +--- frequency level of core 5 is 0 +--- frequency level of core 6 is 0 +--- frequency level of core 7 is 0 +--- Number of cores to occupy = 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 2 +--- Now threads are running and the phone is ready to be sampled with the power meter \n--- Threads pids +Thread_0_ready_for_sampling +Thread_1_ready_for_sampling +--- Printing cc_info beginning datas (for the samsung galaxy s8) + --- Starting power meter sampling for about 600 seconds +--- Sampling with the Monsoon power meter +powermeter script : --- Inside the monsoon_power_meter, arg function: 2 +powermeter script : Experiment duration = 600 +powermeter script : Creating the Monsoon engine +powermeter script : Creating the Monsoon engine +powermeter script : Configuring channels the Monsoon engine +powermeter script : Configuring output to : C:\Users\lavoi\opportunist_task_on_android\scripts_valuable_files\experiment_automatization\last_tmp_expermiment_folder\configuration_mesurement.csv +powermeter script : Starting sampling; number of sample = 3000000 + returning 3000000 samples after experiments +powermeter script : Total nomber of sample measured : 3000000 +powermeter script : Computing powermeter summary result + Number of samples = 3000000 +powermeter script : We computed the energy on 600 samples +powermeter script : average_power = 721.8407875668076 +powermeter script : average_power with numpy arrays = 721.8407875667563 +powermeter script : Summary Result = time (s): 602.3596470355988 +Ins Current (mA):130.37681424424588 +Samples: 3000000 +Consumed Energy (mAs): 86330.28747771238 +Consumed Energy (mAh): 23.98063541047566 +Consumed Energy (mWs): 435047.79490979994 +Consumed Energy (mWh): 120.84660969716666 +Avg power (mW): 721.8407875668076 +Avg Current (mA): 143.14718100738776 +Avg Voltage (V): 5.042647591708801 +Exp Batt Life (hrs for 1000mAh battery): NOT COMPUTED +--- Monsoon power meter sampling is finished ! + --- experiment folder path /mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/last_tmp_expermiment_folder +--- frequency level of core 0 is 4 +--- frequency level of core 1 is 0 +--- frequency level of core 2 is 4 +--- frequency level of core 3 is 0 +--- frequency level of core 4 is 0 +--- frequency level of core 5 is 0 +--- frequency level of core 6 is 0 +--- frequency level of core 7 is 0 +--- Number of threads normally started = 2 +--- Number of thread ended: 2 +--- Now threads are stopped, getting the cc_info_level for samsung +--- Copying thread results locally +command /mnt/c/Program Files/Android/platform-tools_r33.0.1-windows/platform-tools/adb.exe pull /sdcard/experiments_automatization/app_output_folder C:\Users\lavoi\opportunist_task_on_android\scripts_valuable_files\experiment_automatization\last_tmp_expermiment_folder </dev/null +/sdcard/experiments_automatization/app_output_folder/: 4 files pulled, 0 skipped. 0.0 MB/s (904 bytes in 0.029s) +saving the logcat file to /mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/last_tmp_expermiment_folder -/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/last_tmp_expermiment_folder- +--- Parsing result from /mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/last_tmp_expermiment_folder to /mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/output_folder/raw_result.txt +--- Getting exact configuration with frequency +--- Configuration with frequencies = [1804801- 0- 1804801- 0- 0- 0- 0- 0] +--- Getting the powermeter summary +--- Powermeter summary: +time (s): 602.3596470355988 +Ins Current (mA):130.37681424424588 +Samples: 3000000 +Consumed Energy (mAs): 86330.28747771238 +Consumed Energy (mAh): 23.98063541047566 +Consumed Energy (mWs): 435047.79490979994 +Consumed Energy (mWh): 120.84660969716666 +Avg power (mW): 721.8407875668076 +Avg Current (mA): 143.14718100738776 +Avg Voltage (V): 5.042647591708801 + +--- Getting the total energy consumed of the google pixel +--- Energy consumed = 23.98063541047566 +--- Starting cc_info = 0 +--- Ending cc_info = 0 +--- Getting the average power +--- Avg Power = 721.8407875668076 +--- Printing the total threads summary +--- Thread results +Thread : 0 - ThreadProcess id: 3391 +---------------------------------------- +Starting time: Sun, 19 Dec 2021 04:11:07 +0100 +Core id: 0 +Ending time: Sun, 19 Dec 2021 04:21:07 +0100 - Duration: 600018 seconds +Real workload: 4.695107155444357E10 - Integer reached: 129098 - Number of reset = 0 +Battery stats: 0 mAH +Computed Drain: Null +Start: 50 % - End: 50 +Cc_info at the beginning: 0 mAh +Cc_info at the end: 0 mAh +Cc_info variation: 0.0 mAh + +Thread : 1 - ThreadProcess id: 3392 +---------------------------------------- +Starting time: Sun, 19 Dec 2021 04:11:07 +0100 +Core id: 2 +Ending time: Sun, 19 Dec 2021 04:21:08 +0100 - Duration: 600023 seconds +Real workload: 4.693967767359915E10 - Integer reached: 129083 - Number of reset = 0 +Battery stats: 0 mAH +Computed Drain: Null +Start: 50 % - End: 50 +Cc_info at the beginning: 0 mAh +Cc_info at the end: 0 mAh +Cc_info variation: 0.0 mAh + + +--- Counting the total workload command : print_total_workload /mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/last_tmp_expermiment_folder app_output_folder 4,0,4,0,0,0,0,0 /mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first +--- Total workload : 9.38907e+10 +--- Getting energy efficiency +--- Energy efficiency: 2.5541e-10 +--- Building what we will add to the total result file command +------ + (build_configuration_raw_result 404000-0-0 4,0,4,0,0,0,0,0 [1804801- 0- 1804801- 0- 0- 0- 0- 0] time (s): 602.3596470355988 +Ins Current (mA):130.37681424424588 +Samples: 3000000 +Consumed Energy (mAs): 86330.28747771238 +Consumed Energy (mAh): 23.98063541047566 +Consumed Energy (mWs): 435047.79490979994 +Consumed Energy (mWh): 120.84660969716666 +Avg power (mW): 721.8407875668076 +Avg Current (mA): 143.14718100738776 +Avg Voltage (V): 5.042647591708801 + Thread : 0 - ThreadProcess id: 3391 +---------------------------------------- +Starting time: Sun, 19 Dec 2021 04:11:07 +0100 +Core id: 0 +Ending time: Sun, 19 Dec 2021 04:21:07 +0100 - Duration: 600018 seconds +Real workload: 4.695107155444357E10 - Integer reached: 129098 - Number of reset = 0 +Battery stats: 0 mAH +Computed Drain: Null +Start: 50 % - End: 50 +Cc_info at the beginning: 0 mAh +Cc_info at the end: 0 mAh +Cc_info variation: 0.0 mAh + +Thread : 1 - ThreadProcess id: 3392 +---------------------------------------- +Starting time: Sun, 19 Dec 2021 04:11:07 +0100 +Core id: 2 +Ending time: Sun, 19 Dec 2021 04:21:08 +0100 - Duration: 600023 seconds +Real workload: 4.693967767359915E10 - Integer reached: 129083 - Number of reset = 0 +Battery stats: 0 mAH +Computed Drain: Null +Start: 50 % - End: 50 +Cc_info at the beginning: 0 mAh +Cc_info at the end: 0 mAh +Cc_info variation: 0.0 mAh + + 23.98063541047566 9.38907e+10 2.5541e-10 0 0 +------ + +--- Final result to print to File + -------------------------------------------------------------------------------- + +++++ +++++ +++++ Configuration Description +-------------------------------------------------------------------------------- +Configuration: 404000-0-0 +phone format: 4,0,4,0,0,0,0,0 +Exact values of frequencies: [1804801- 0- 1804801- 0- 0- 0- 0- 0] + +Power meter results +------------------------------------------------------------ +time (s): 602.3596470355988 +Ins Current (mA):130.37681424424588 +Samples: 3000000 +Consumed Energy (mAs): 86330.28747771238 +Consumed Energy (mAh): 23.98063541047566 +Consumed Energy (mWs): 435047.79490979994 +Consumed Energy (mWh): 120.84660969716666 +Avg power (mW): 721.8407875668076 +Avg Current (mA): 143.14718100738776 +Avg Voltage (V): 5.042647591708801 + +Threads results +------------------------------------------------------------ +Thread : 0 - ThreadProcess id: 3391 +---------------------------------------- +Starting time: Sun, 19 Dec 2021 04:11:07 +0100 +Core id: 0 +Ending time: Sun, 19 Dec 2021 04:21:07 +0100 - Duration: 600018 seconds +Real workload: 4.695107155444357E10 - Integer reached: 129098 - Number of reset = 0 +Battery stats: 0 mAH +Computed Drain: Null +Start: 50 % - End: 50 +Cc_info at the beginning: 0 mAh +Cc_info at the end: 0 mAh +Cc_info variation: 0.0 mAh + +Thread : 1 - ThreadProcess id: 3392 +---------------------------------------- +Starting time: Sun, 19 Dec 2021 04:11:07 +0100 +Core id: 2 +Ending time: Sun, 19 Dec 2021 04:21:08 +0100 - Duration: 600023 seconds +Real workload: 4.693967767359915E10 - Integer reached: 129083 - Number of reset = 0 +Battery stats: 0 mAH +Computed Drain: Null +Start: 50 % - End: 50 +Cc_info at the beginning: 0 mAh +Cc_info at the end: 0 mAh +Cc_info variation: 0.0 mAh + + +Expermiment results +------------------------------------------------------------ +Energy Consumed (mAh): 23.98063541047566 +Workload: 9.38907e+10 +Energy efficiency: 2.5541e-10 +-------------------------------------------------------------------------------- + + +--- Writing to the total result file +--- Removing previous tested configuration tmp_output folder +removed '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__04Oct22_05_54_25/app_output_folder/all_workloads.txt' +removed '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__04Oct22_05_54_25/app_output_folder/Thread_0_ended' +removed '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__04Oct22_05_54_25/app_output_folder/Thread_0_ready_for_sampling' +removed '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__04Oct22_05_54_25/app_output_folder/Thread_1_ended' +removed '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__04Oct22_05_54_25/app_output_folder/Thread_1_ready_for_sampling' +removed directory '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__04Oct22_05_54_25/app_output_folder' +removed '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__04Oct22_05_54_25/configuration_mesurement.csv' +removed '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__04Oct22_05_54_25/energy_power_workload_energyByWorkload_ccInfo' +removed '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__04Oct22_05_54_25/logcat_output' +removed '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__04Oct22_05_54_25/powermeter_summary.txt' +removed directory '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__04Oct22_05_54_25' +--- Moving the current experiment tmp_folder to the output result folder +writing a temporary file for the main script with format energy_power_workload_energyByWorkload_ccInfo +--- Obtaining experiment summary result to add to result folder +--- Experiment result, Energy consumed = 23.98063541047566 +--- Experiment result, Avg Power = 721.8407875668076 +--- Experiment result, Total Workload = 9.38907e+10 +--- Experiment result, Energy Efficiency = 2.5541e-10 +--- Adding result to summary file +--- Starting cc information : 0 +--- Ending cc information : 0 +--- The file /mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/output_folder/summary.csv exists we just appending the result to the file +--- Experiments performed on configuration 404000-0-0. +--- Observing a pause betwenn experiment; pause duration : 180 seconds; starting at 04Oct22_06_07_12 +--- Performing experiments on configuration 404000-0-0 +--- Cleaning the tmp expermiment folder : /mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/last_tmp_expermiment_folder +--- Second step : verifying the battery level +--- Verifying the battery level +--- Getting current battery level, adb command path: /mnt/c/Program Files/Android/platform-tools_r33.0.1-windows/platform-tools/adb.exe +--- Current battery level : 50 +Current battery level: OKAY +--- Third step calibrating phone core frequency +--- Resetting all frequency configurations + -- Command used : echo schedutil > /sys/devices/system/cpu/cpu1/cpufreq/scaling_governor + -- Command used : echo schedutil > /sys/devices/system/cpu/cpu2/cpufreq/scaling_governor + -- Command used : echo schedutil > /sys/devices/system/cpu/cpu3/cpufreq/scaling_governor + -- Command used : echo schedutil > /sys/devices/system/cpu/cpu4/cpufreq/scaling_governor + -- Command used : echo schedutil > /sys/devices/system/cpu/cpu5/cpufreq/scaling_governor + -- Command used : echo schedutil > /sys/devices/system/cpu/cpu6/cpufreq/scaling_governor + -- Command used : echo schedutil > /sys/devices/system/cpu/cpu7/cpufreq/scaling_governor +--- Frequency level of core 0 is 4 +--- Modifying the governor of core 0 to set the default value +--- Modifying the governor of core 0 +--- Frequency level of core 1 is 0 +--- Exact frequency of core 1: 0 +--- Modifying the governor of core 1 +--- Modifying the the current frequency of core 1 with frequency 0 +--- Frequency level of core 2 is 4 +--- Modifying the governor of core 2 to set the default value +--- Modifying the governor of core 2 +--- Frequency level of core 3 is 0 +--- Exact frequency of core 3: 0 +--- Modifying the governor of core 3 +--- Modifying the the current frequency of core 3 with frequency 0 +--- Frequency level of core 4 is 0 +--- Exact frequency of core 4: 0 +--- Modifying the governor of core 4 +--- Modifying the the current frequency of core 4 with frequency 0 +--- Frequency level of core 5 is 0 +--- Exact frequency of core 5: 0 +--- Modifying the governor of core 5 +--- Modifying the the current frequency of core 5 with frequency 0 +--- Frequency level of core 6 is 0 +--- Exact frequency of core 6: 0 +--- Modifying the governor of core 6 +--- Modifying the the current frequency of core 6 with frequency 0 +--- Frequency level of core 7 is 0 +--- Exact frequency of core 7: 0 +--- Modifying the governor of core 7 +--- Modifying the the current frequency of core 7 with frequency 0 +--- Calibrating Monsoon power meter, please wait for 10 seconds... +powermeter script : --- Inside the monsoon_power_meter, arg function: 1 +powermeter script : calibration duration = 10 +powermeter script : Creating the Monsoon engine +powermeter script : Creating the Monsoon engine +powermeter script : Configuring channels the Monsoon engine +powermeter script : Configuring output to : C:\Users\lavoi\opportunist_task_on_android\scripts_valuable_files\experiment_automatization\last_tmp_expermiment_folder\configuration_mesurement.csv +powermeter script : Starting sampling; number of sample = 50000 + returning 50000 samples after experiments +powermeter script : Power meter calibration okay +--- Monsoon power meter Calibrated +--- starting the benchmarking app +## writing the configuration inside the phone file + --- Removing file /sdcard/experiments_automatization +rm '/sdcard/experiments_automatization/current_configuration.txt' +rm '/sdcard/experiments_automatization/experiment_duration.txt' +rm '/sdcard/experiments_automatization/app_output_folder/Thread_0_ready_for_sampling' +rm '/sdcard/experiments_automatization/app_output_folder/Thread_1_ready_for_sampling' +rm '/sdcard/experiments_automatization/app_output_folder/Thread_0_ended' +rm '/sdcard/experiments_automatization/app_output_folder/Thread_1_ended' +rmdir '/sdcard/experiments_automatization/app_output_folder' +rmdir '/sdcard/experiments_automatization' + --- Clearing the logcat + --- Creating file /sdcard/experiments_automatization +----- Uninstalling experiment app +Success +----- Installing experiment app +Performing Streamed Install +Success +------ Giving rights to experiment app +----- Starting experiment app +Starting: Intent { cmp=com.opportunistask.scheduling.benchmarking_app_to_test_big_cores/.MainActivity } +adb command : ps -A | grep com.opportunistask.scheduling.benchmarking_app_to_test_big_cores + ----- Experiment app started with pid: 4209 +---- waiting for benchmarking app thread to be pinned and to be ready +--- frequency level of core 0 is 4 +--- frequency level of core 1 is 0 +--- frequency level of core 2 is 4 +--- frequency level of core 3 is 0 +--- frequency level of core 4 is 0 +--- frequency level of core 5 is 0 +--- frequency level of core 6 is 0 +--- frequency level of core 7 is 0 +--- Number of cores to occupy = 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 1 +--- The current number of thread ready to be sambled : 1, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 2 +--- Now threads are running and the phone is ready to be sampled with the power meter \n--- Threads pids +Thread_0_ready_for_sampling +Thread_1_ready_for_sampling +--- Printing cc_info beginning datas (for the samsung galaxy s8) + --- Starting power meter sampling for about 600 seconds +--- Sampling with the Monsoon power meter +powermeter script : --- Inside the monsoon_power_meter, arg function: 2 +powermeter script : Experiment duration = 600 +powermeter script : Creating the Monsoon engine +powermeter script : Creating the Monsoon engine +powermeter script : Configuring channels the Monsoon engine +powermeter script : Configuring output to : C:\Users\lavoi\opportunist_task_on_android\scripts_valuable_files\experiment_automatization\last_tmp_expermiment_folder\configuration_mesurement.csv +powermeter script : Starting sampling; number of sample = 3000000 + returning 3000000 samples after experiments +powermeter script : Total nomber of sample measured : 3000000 +powermeter script : Computing powermeter summary result + Number of samples = 3000000 +powermeter script : We computed the energy on 600 samples +powermeter script : average_power = 735.3564781139453 +powermeter script : average_power with numpy arrays = 735.356478113926 +powermeter script : Summary Result = time (s): 601.2136931419373 +Ins Current (mA):131.09136137322054 +Samples: 3000000 +Consumed Energy (mAs): 87429.11181156967 +Consumed Energy (mAh): 24.285864392102688 +Consumed Energy (mWs): 440564.574479489 +Consumed Energy (mWh): 122.37904846652472 +Avg power (mW): 735.3564781139453 +Avg Current (mA): 145.88765242495037 +Avg Voltage (V): 5.040566942375318 +Exp Batt Life (hrs for 1000mAh battery): NOT COMPUTED +--- Monsoon power meter sampling is finished ! + --- experiment folder path /mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/last_tmp_expermiment_folder +--- frequency level of core 0 is 4 +--- frequency level of core 1 is 0 +--- frequency level of core 2 is 4 +--- frequency level of core 3 is 0 +--- frequency level of core 4 is 0 +--- frequency level of core 5 is 0 +--- frequency level of core 6 is 0 +--- frequency level of core 7 is 0 +--- Number of threads normally started = 2 +--- Number of thread ended: 2 +--- Now threads are stopped, getting the cc_info_level for samsung +--- Copying thread results locally +command /mnt/c/Program Files/Android/platform-tools_r33.0.1-windows/platform-tools/adb.exe pull /sdcard/experiments_automatization/app_output_folder C:\Users\lavoi\opportunist_task_on_android\scripts_valuable_files\experiment_automatization\last_tmp_expermiment_folder </dev/null +/sdcard/experiments_automatization/app_output_folder/: 4 files pulled, 0 skipped. 0.0 MB/s (904 bytes in 0.042s) +saving the logcat file to /mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/last_tmp_expermiment_folder -/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/last_tmp_expermiment_folder- +--- Parsing result from /mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/last_tmp_expermiment_folder to /mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/output_folder/raw_result.txt +--- Getting exact configuration with frequency +--- Configuration with frequencies = [1804801- 0- 1804801- 0- 0- 0- 0- 0] +--- Getting the powermeter summary +--- Powermeter summary: +time (s): 601.2136931419373 +Ins Current (mA):131.09136137322054 +Samples: 3000000 +Consumed Energy (mAs): 87429.11181156967 +Consumed Energy (mAh): 24.285864392102688 +Consumed Energy (mWs): 440564.574479489 +Consumed Energy (mWh): 122.37904846652472 +Avg power (mW): 735.3564781139453 +Avg Current (mA): 145.88765242495037 +Avg Voltage (V): 5.040566942375318 + +--- Getting the total energy consumed of the google pixel +--- Energy consumed = 24.285864392102688 +--- Starting cc_info = 0 +--- Ending cc_info = 0 +--- Getting the average power +--- Avg Power = 735.3564781139453 +--- Printing the total threads summary +--- Thread results +Thread : 0 - ThreadProcess id: 4234 +---------------------------------------- +Starting time: Sun, 19 Dec 2021 04:26:56 +0100 +Core id: 0 +Ending time: Sun, 19 Dec 2021 04:36:56 +0100 - Duration: 600007 seconds +Real workload: 4.690702316433063E10 - Integer reached: 129040 - Number of reset = 0 +Battery stats: 0 mAH +Computed Drain: Null +Start: 50 % - End: 50 +Cc_info at the beginning: 0 mAh +Cc_info at the end: 0 mAh +Cc_info variation: 0.0 mAh + +Thread : 1 - ThreadProcess id: 4235 +---------------------------------------- +Starting time: Sun, 19 Dec 2021 04:26:56 +0100 +Core id: 2 +Ending time: Sun, 19 Dec 2021 04:36:56 +0100 - Duration: 600014 seconds +Real workload: 4.683795604252844E10 - Integer reached: 128949 - Number of reset = 0 +Battery stats: 0 mAH +Computed Drain: Null +Start: 50 % - End: 50 +Cc_info at the beginning: 0 mAh +Cc_info at the end: 0 mAh +Cc_info variation: 0.0 mAh + + +--- Counting the total workload command : print_total_workload /mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/last_tmp_expermiment_folder app_output_folder 4,0,4,0,0,0,0,0 /mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first +--- Total workload : 9.3745e+10 +--- Getting energy efficiency +--- Energy efficiency: 2.59063e-10 +--- Building what we will add to the total result file command +------ + (build_configuration_raw_result 404000-0-0 4,0,4,0,0,0,0,0 [1804801- 0- 1804801- 0- 0- 0- 0- 0] time (s): 601.2136931419373 +Ins Current (mA):131.09136137322054 +Samples: 3000000 +Consumed Energy (mAs): 87429.11181156967 +Consumed Energy (mAh): 24.285864392102688 +Consumed Energy (mWs): 440564.574479489 +Consumed Energy (mWh): 122.37904846652472 +Avg power (mW): 735.3564781139453 +Avg Current (mA): 145.88765242495037 +Avg Voltage (V): 5.040566942375318 + Thread : 0 - ThreadProcess id: 4234 +---------------------------------------- +Starting time: Sun, 19 Dec 2021 04:26:56 +0100 +Core id: 0 +Ending time: Sun, 19 Dec 2021 04:36:56 +0100 - Duration: 600007 seconds +Real workload: 4.690702316433063E10 - Integer reached: 129040 - Number of reset = 0 +Battery stats: 0 mAH +Computed Drain: Null +Start: 50 % - End: 50 +Cc_info at the beginning: 0 mAh +Cc_info at the end: 0 mAh +Cc_info variation: 0.0 mAh + +Thread : 1 - ThreadProcess id: 4235 +---------------------------------------- +Starting time: Sun, 19 Dec 2021 04:26:56 +0100 +Core id: 2 +Ending time: Sun, 19 Dec 2021 04:36:56 +0100 - Duration: 600014 seconds +Real workload: 4.683795604252844E10 - Integer reached: 128949 - Number of reset = 0 +Battery stats: 0 mAH +Computed Drain: Null +Start: 50 % - End: 50 +Cc_info at the beginning: 0 mAh +Cc_info at the end: 0 mAh +Cc_info variation: 0.0 mAh + + 24.285864392102688 9.3745e+10 2.59063e-10 0 0 +------ + +--- Final result to print to File + -------------------------------------------------------------------------------- + +++++ +++++ +++++ Configuration Description +-------------------------------------------------------------------------------- +Configuration: 404000-0-0 +phone format: 4,0,4,0,0,0,0,0 +Exact values of frequencies: [1804801- 0- 1804801- 0- 0- 0- 0- 0] + +Power meter results +------------------------------------------------------------ +time (s): 601.2136931419373 +Ins Current (mA):131.09136137322054 +Samples: 3000000 +Consumed Energy (mAs): 87429.11181156967 +Consumed Energy (mAh): 24.285864392102688 +Consumed Energy (mWs): 440564.574479489 +Consumed Energy (mWh): 122.37904846652472 +Avg power (mW): 735.3564781139453 +Avg Current (mA): 145.88765242495037 +Avg Voltage (V): 5.040566942375318 + +Threads results +------------------------------------------------------------ +Thread : 0 - ThreadProcess id: 4234 +---------------------------------------- +Starting time: Sun, 19 Dec 2021 04:26:56 +0100 +Core id: 0 +Ending time: Sun, 19 Dec 2021 04:36:56 +0100 - Duration: 600007 seconds +Real workload: 4.690702316433063E10 - Integer reached: 129040 - Number of reset = 0 +Battery stats: 0 mAH +Computed Drain: Null +Start: 50 % - End: 50 +Cc_info at the beginning: 0 mAh +Cc_info at the end: 0 mAh +Cc_info variation: 0.0 mAh + +Thread : 1 - ThreadProcess id: 4235 +---------------------------------------- +Starting time: Sun, 19 Dec 2021 04:26:56 +0100 +Core id: 2 +Ending time: Sun, 19 Dec 2021 04:36:56 +0100 - Duration: 600014 seconds +Real workload: 4.683795604252844E10 - Integer reached: 128949 - Number of reset = 0 +Battery stats: 0 mAH +Computed Drain: Null +Start: 50 % - End: 50 +Cc_info at the beginning: 0 mAh +Cc_info at the end: 0 mAh +Cc_info variation: 0.0 mAh + + +Expermiment results +------------------------------------------------------------ +Energy Consumed (mAh): 24.285864392102688 +Workload: 9.3745e+10 +Energy efficiency: 2.59063e-10 +-------------------------------------------------------------------------------- + + +--- Writing to the total result file +--- Removing previous tested configuration tmp_output folder +removed '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__04Oct22_06_10_14/app_output_folder/all_workloads.txt' +removed '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__04Oct22_06_10_14/app_output_folder/Thread_0_ended' +removed '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__04Oct22_06_10_14/app_output_folder/Thread_0_ready_for_sampling' +removed '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__04Oct22_06_10_14/app_output_folder/Thread_1_ended' +removed '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__04Oct22_06_10_14/app_output_folder/Thread_1_ready_for_sampling' +removed directory '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__04Oct22_06_10_14/app_output_folder' +removed '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__04Oct22_06_10_14/configuration_mesurement.csv' +removed '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__04Oct22_06_10_14/energy_power_workload_energyByWorkload_ccInfo' +removed '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__04Oct22_06_10_14/logcat_output' +removed '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__04Oct22_06_10_14/powermeter_summary.txt' +removed directory '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__04Oct22_06_10_14' +--- Moving the current experiment tmp_folder to the output result folder +writing a temporary file for the main script with format energy_power_workload_energyByWorkload_ccInfo +--- Obtaining experiment summary result to add to result folder +--- Experiment result, Energy consumed = 24.285864392102688 +--- Experiment result, Avg Power = 735.3564781139453 +--- Experiment result, Total Workload = 9.3745e+10 +--- Experiment result, Energy Efficiency = 2.59063e-10 +--- Adding result to summary file +--- Starting cc information : 0 +--- Ending cc information : 0 +--- The file /mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/output_folder/summary.csv exists we just appending the result to the file +--- Experiments performed on configuration 404000-0-0. +--- Observing a pause betwenn experiment; pause duration : 180 seconds; starting at 04Oct22_06_23_00 +--- Performing experiments on configuration 440000-0-0 +--- Cleaning the tmp expermiment folder : /mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/last_tmp_expermiment_folder +--- Second step : verifying the battery level +--- Verifying the battery level +--- Getting current battery level, adb command path: /mnt/c/Program Files/Android/platform-tools_r33.0.1-windows/platform-tools/adb.exe +--- Current battery level : 50 +Current battery level: OKAY +--- Third step calibrating phone core frequency +--- Resetting all frequency configurations + -- Command used : echo schedutil > /sys/devices/system/cpu/cpu1/cpufreq/scaling_governor + -- Command used : echo schedutil > /sys/devices/system/cpu/cpu2/cpufreq/scaling_governor + -- Command used : echo schedutil > /sys/devices/system/cpu/cpu3/cpufreq/scaling_governor + -- Command used : echo schedutil > /sys/devices/system/cpu/cpu4/cpufreq/scaling_governor + -- Command used : echo schedutil > /sys/devices/system/cpu/cpu5/cpufreq/scaling_governor + -- Command used : echo schedutil > /sys/devices/system/cpu/cpu6/cpufreq/scaling_governor + -- Command used : echo schedutil > /sys/devices/system/cpu/cpu7/cpufreq/scaling_governor +--- Frequency level of core 0 is 4 +--- Modifying the governor of core 0 to set the default value +--- Modifying the governor of core 0 +--- Frequency level of core 1 is 4 +--- Modifying the governor of core 1 to set the default value +--- Modifying the governor of core 1 +--- Frequency level of core 2 is 0 +--- Exact frequency of core 2: 0 +--- Modifying the governor of core 2 +--- Modifying the the current frequency of core 2 with frequency 0 +--- Frequency level of core 3 is 0 +--- Exact frequency of core 3: 0 +--- Modifying the governor of core 3 +--- Modifying the the current frequency of core 3 with frequency 0 +--- Frequency level of core 4 is 0 +--- Exact frequency of core 4: 0 +--- Modifying the governor of core 4 +--- Modifying the the current frequency of core 4 with frequency 0 +--- Frequency level of core 5 is 0 +--- Exact frequency of core 5: 0 +--- Modifying the governor of core 5 +--- Modifying the the current frequency of core 5 with frequency 0 +--- Frequency level of core 6 is 0 +--- Exact frequency of core 6: 0 +--- Modifying the governor of core 6 +--- Modifying the the current frequency of core 6 with frequency 0 +--- Frequency level of core 7 is 0 +--- Exact frequency of core 7: 0 +--- Modifying the governor of core 7 +--- Modifying the the current frequency of core 7 with frequency 0 +--- Calibrating Monsoon power meter, please wait for 10 seconds... +powermeter script : --- Inside the monsoon_power_meter, arg function: 1 +powermeter script : calibration duration = 10 +powermeter script : Creating the Monsoon engine +powermeter script : Creating the Monsoon engine +powermeter script : Configuring channels the Monsoon engine +powermeter script : Configuring output to : C:\Users\lavoi\opportunist_task_on_android\scripts_valuable_files\experiment_automatization\last_tmp_expermiment_folder\configuration_mesurement.csv +powermeter script : Starting sampling; number of sample = 50000 + returning 50000 samples after experiments +powermeter script : Power meter calibration okay +--- Monsoon power meter Calibrated +--- starting the benchmarking app +## writing the configuration inside the phone file + --- Removing file /sdcard/experiments_automatization +rm '/sdcard/experiments_automatization/current_configuration.txt' +rm '/sdcard/experiments_automatization/experiment_duration.txt' +rm '/sdcard/experiments_automatization/app_output_folder/Thread_1_ready_for_sampling' +rm '/sdcard/experiments_automatization/app_output_folder/Thread_0_ready_for_sampling' +rm '/sdcard/experiments_automatization/app_output_folder/Thread_1_ended' +rm '/sdcard/experiments_automatization/app_output_folder/Thread_0_ended' +rmdir '/sdcard/experiments_automatization/app_output_folder' +rmdir '/sdcard/experiments_automatization' + --- Clearing the logcat + --- Creating file /sdcard/experiments_automatization +----- Uninstalling experiment app +Success +----- Installing experiment app +Performing Streamed Install +Success +------ Giving rights to experiment app +----- Starting experiment app +Starting: Intent { cmp=com.opportunistask.scheduling.benchmarking_app_to_test_big_cores/.MainActivity } +adb command : ps -A | grep com.opportunistask.scheduling.benchmarking_app_to_test_big_cores + ----- Experiment app started with pid: 5104 +---- waiting for benchmarking app thread to be pinned and to be ready +--- frequency level of core 0 is 4 +--- frequency level of core 1 is 4 +--- frequency level of core 2 is 0 +--- frequency level of core 3 is 0 +--- frequency level of core 4 is 0 +--- frequency level of core 5 is 0 +--- frequency level of core 6 is 0 +--- frequency level of core 7 is 0 +--- Number of cores to occupy = 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 2 +--- Now threads are running and the phone is ready to be sampled with the power meter \n--- Threads pids +Thread_0_ready_for_sampling +Thread_1_ready_for_sampling +--- Printing cc_info beginning datas (for the samsung galaxy s8) + --- Starting power meter sampling for about 600 seconds +--- Sampling with the Monsoon power meter +powermeter script : --- Inside the monsoon_power_meter, arg function: 2 +powermeter script : Experiment duration = 600 +powermeter script : Creating the Monsoon engine +powermeter script : Creating the Monsoon engine +powermeter script : Configuring channels the Monsoon engine +powermeter script : Configuring output to : C:\Users\lavoi\opportunist_task_on_android\scripts_valuable_files\experiment_automatization\last_tmp_expermiment_folder\configuration_mesurement.csv +powermeter script : Starting sampling; number of sample = 3000000 + returning 3000000 samples after experiments +powermeter script : Total nomber of sample measured : 3000000 +powermeter script : Computing powermeter summary result + Number of samples = 3000000 +powermeter script : We computed the energy on 600 samples +powermeter script : average_power = 726.7345518189771 +powermeter script : average_power with numpy arrays = 726.7345518188499 +powermeter script : Summary Result = time (s): 601.2273056507111 +Ins Current (mA):143.18321142857144 +Samples: 3000000 +Consumed Energy (mAs): 86704.75237219494 +Consumed Energy (mAh): 24.084653436720817 +Consumed Energy (mWs): 436963.2682387982 +Consumed Energy (mWh): 121.37868562188838 +Avg power (mW): 726.7345518189771 +Avg Current (mA): 144.13859085237885 +Avg Voltage (V): 5.041915197875567 +Exp Batt Life (hrs for 1000mAh battery): NOT COMPUTED +--- Monsoon power meter sampling is finished ! + --- experiment folder path /mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/last_tmp_expermiment_folder +--- frequency level of core 0 is 4 +--- frequency level of core 1 is 4 +--- frequency level of core 2 is 0 +--- frequency level of core 3 is 0 +--- frequency level of core 4 is 0 +--- frequency level of core 5 is 0 +--- frequency level of core 6 is 0 +--- frequency level of core 7 is 0 +--- Number of threads normally started = 2 +--- Number of thread ended: 2 +--- Now threads are stopped, getting the cc_info_level for samsung +--- Copying thread results locally +command /mnt/c/Program Files/Android/platform-tools_r33.0.1-windows/platform-tools/adb.exe pull /sdcard/experiments_automatization/app_output_folder C:\Users\lavoi\opportunist_task_on_android\scripts_valuable_files\experiment_automatization\last_tmp_expermiment_folder </dev/null +/sdcard/experiments_automatization/app_output_folder/: 4 files pulled, 0 skipped. 0.0 MB/s (904 bytes in 0.042s) +saving the logcat file to /mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/last_tmp_expermiment_folder -/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/last_tmp_expermiment_folder- +--- Parsing result from /mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/last_tmp_expermiment_folder to /mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/output_folder/raw_result.txt +--- Getting exact configuration with frequency +--- Configuration with frequencies = [1804801- 1804801- 0- 0- 0- 0- 0- 0] +--- Getting the powermeter summary +--- Powermeter summary: +time (s): 601.2273056507111 +Ins Current (mA):143.18321142857144 +Samples: 3000000 +Consumed Energy (mAs): 86704.75237219494 +Consumed Energy (mAh): 24.084653436720817 +Consumed Energy (mWs): 436963.2682387982 +Consumed Energy (mWh): 121.37868562188838 +Avg power (mW): 726.7345518189771 +Avg Current (mA): 144.13859085237885 +Avg Voltage (V): 5.041915197875567 + +--- Getting the total energy consumed of the google pixel +--- Energy consumed = 24.084653436720817 +--- Starting cc_info = 0 +--- Ending cc_info = 0 +--- Getting the average power +--- Avg Power = 726.7345518189771 +--- Printing the total threads summary +--- Thread results +Thread : 0 - ThreadProcess id: 5130 +---------------------------------------- +Starting time: Sun, 19 Dec 2021 04:42:44 +0100 +Core id: 0 +Ending time: Sun, 19 Dec 2021 04:52:44 +0100 - Duration: 600009 seconds +Real workload: 4.643146039958794E10 - Integer reached: 128412 - Number of reset = 0 +Battery stats: 0 mAH +Computed Drain: Null +Start: 50 % - End: 50 +Cc_info at the beginning: 0 mAh +Cc_info at the end: 0 mAh +Cc_info variation: 0.0 mAh + +Thread : 1 - ThreadProcess id: 5131 +---------------------------------------- +Starting time: Sun, 19 Dec 2021 04:42:44 +0100 +Core id: 1 +Ending time: Sun, 19 Dec 2021 04:52:45 +0100 - Duration: 600015 seconds +Real workload: 4.671513219891027E10 - Integer reached: 128787 - Number of reset = 0 +Battery stats: 0 mAH +Computed Drain: Null +Start: 50 % - End: 50 +Cc_info at the beginning: 0 mAh +Cc_info at the end: 0 mAh +Cc_info variation: 0.0 mAh + + +--- Counting the total workload command : print_total_workload /mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/last_tmp_expermiment_folder app_output_folder 4,4,0,0,0,0,0,0 /mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first +--- Total workload : 9.31466e+10 +--- Getting energy efficiency +--- Energy efficiency: 2.58567e-10 +--- Building what we will add to the total result file command +------ + (build_configuration_raw_result 440000-0-0 4,4,0,0,0,0,0,0 [1804801- 1804801- 0- 0- 0- 0- 0- 0] time (s): 601.2273056507111 +Ins Current (mA):143.18321142857144 +Samples: 3000000 +Consumed Energy (mAs): 86704.75237219494 +Consumed Energy (mAh): 24.084653436720817 +Consumed Energy (mWs): 436963.2682387982 +Consumed Energy (mWh): 121.37868562188838 +Avg power (mW): 726.7345518189771 +Avg Current (mA): 144.13859085237885 +Avg Voltage (V): 5.041915197875567 + Thread : 0 - ThreadProcess id: 5130 +---------------------------------------- +Starting time: Sun, 19 Dec 2021 04:42:44 +0100 +Core id: 0 +Ending time: Sun, 19 Dec 2021 04:52:44 +0100 - Duration: 600009 seconds +Real workload: 4.643146039958794E10 - Integer reached: 128412 - Number of reset = 0 +Battery stats: 0 mAH +Computed Drain: Null +Start: 50 % - End: 50 +Cc_info at the beginning: 0 mAh +Cc_info at the end: 0 mAh +Cc_info variation: 0.0 mAh + +Thread : 1 - ThreadProcess id: 5131 +---------------------------------------- +Starting time: Sun, 19 Dec 2021 04:42:44 +0100 +Core id: 1 +Ending time: Sun, 19 Dec 2021 04:52:45 +0100 - Duration: 600015 seconds +Real workload: 4.671513219891027E10 - Integer reached: 128787 - Number of reset = 0 +Battery stats: 0 mAH +Computed Drain: Null +Start: 50 % - End: 50 +Cc_info at the beginning: 0 mAh +Cc_info at the end: 0 mAh +Cc_info variation: 0.0 mAh + + 24.084653436720817 9.31466e+10 2.58567e-10 0 0 +------ + +--- Final result to print to File + -------------------------------------------------------------------------------- + +++++ +++++ +++++ Configuration Description +-------------------------------------------------------------------------------- +Configuration: 440000-0-0 +phone format: 4,4,0,0,0,0,0,0 +Exact values of frequencies: [1804801- 1804801- 0- 0- 0- 0- 0- 0] + +Power meter results +------------------------------------------------------------ +time (s): 601.2273056507111 +Ins Current (mA):143.18321142857144 +Samples: 3000000 +Consumed Energy (mAs): 86704.75237219494 +Consumed Energy (mAh): 24.084653436720817 +Consumed Energy (mWs): 436963.2682387982 +Consumed Energy (mWh): 121.37868562188838 +Avg power (mW): 726.7345518189771 +Avg Current (mA): 144.13859085237885 +Avg Voltage (V): 5.041915197875567 + +Threads results +------------------------------------------------------------ +Thread : 0 - ThreadProcess id: 5130 +---------------------------------------- +Starting time: Sun, 19 Dec 2021 04:42:44 +0100 +Core id: 0 +Ending time: Sun, 19 Dec 2021 04:52:44 +0100 - Duration: 600009 seconds +Real workload: 4.643146039958794E10 - Integer reached: 128412 - Number of reset = 0 +Battery stats: 0 mAH +Computed Drain: Null +Start: 50 % - End: 50 +Cc_info at the beginning: 0 mAh +Cc_info at the end: 0 mAh +Cc_info variation: 0.0 mAh + +Thread : 1 - ThreadProcess id: 5131 +---------------------------------------- +Starting time: Sun, 19 Dec 2021 04:42:44 +0100 +Core id: 1 +Ending time: Sun, 19 Dec 2021 04:52:45 +0100 - Duration: 600015 seconds +Real workload: 4.671513219891027E10 - Integer reached: 128787 - Number of reset = 0 +Battery stats: 0 mAH +Computed Drain: Null +Start: 50 % - End: 50 +Cc_info at the beginning: 0 mAh +Cc_info at the end: 0 mAh +Cc_info variation: 0.0 mAh + + +Expermiment results +------------------------------------------------------------ +Energy Consumed (mAh): 24.084653436720817 +Workload: 9.31466e+10 +Energy efficiency: 2.58567e-10 +-------------------------------------------------------------------------------- + + +--- Writing to the total result file +--- Removing previous tested configuration tmp_output folder +removed '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__04Oct22_06_26_02/app_output_folder/all_workloads.txt' +removed '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__04Oct22_06_26_02/app_output_folder/Thread_0_ended' +removed '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__04Oct22_06_26_02/app_output_folder/Thread_0_ready_for_sampling' +removed '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__04Oct22_06_26_02/app_output_folder/Thread_1_ended' +removed '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__04Oct22_06_26_02/app_output_folder/Thread_1_ready_for_sampling' +removed directory '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__04Oct22_06_26_02/app_output_folder' +removed '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__04Oct22_06_26_02/configuration_mesurement.csv' +removed '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__04Oct22_06_26_02/energy_power_workload_energyByWorkload_ccInfo' +removed '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__04Oct22_06_26_02/logcat_output' +removed '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__04Oct22_06_26_02/powermeter_summary.txt' +removed directory '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__04Oct22_06_26_02' +--- Moving the current experiment tmp_folder to the output result folder +writing a temporary file for the main script with format energy_power_workload_energyByWorkload_ccInfo +--- Obtaining experiment summary result to add to result folder +--- Experiment result, Energy consumed = 24.084653436720817 +--- Experiment result, Avg Power = 726.7345518189771 +--- Experiment result, Total Workload = 9.31466e+10 +--- Experiment result, Energy Efficiency = 2.58567e-10 +--- Adding result to summary file +--- Starting cc information : 0 +--- Ending cc information : 0 +--- The file /mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/output_folder/summary.csv exists we just appending the result to the file +--- Experiments performed on configuration 440000-0-0. +--- Observing a pause betwenn experiment; pause duration : 180 seconds; starting at 04Oct22_06_38_48 +--- Performing experiments on configuration 440000-0-0 +--- Cleaning the tmp expermiment folder : /mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/last_tmp_expermiment_folder +--- Second step : verifying the battery level +--- Verifying the battery level +--- Getting current battery level, adb command path: /mnt/c/Program Files/Android/platform-tools_r33.0.1-windows/platform-tools/adb.exe +--- Current battery level : 50 +Current battery level: OKAY +--- Third step calibrating phone core frequency +--- Resetting all frequency configurations + -- Command used : echo schedutil > /sys/devices/system/cpu/cpu1/cpufreq/scaling_governor + -- Command used : echo schedutil > /sys/devices/system/cpu/cpu2/cpufreq/scaling_governor + -- Command used : echo schedutil > /sys/devices/system/cpu/cpu3/cpufreq/scaling_governor + -- Command used : echo schedutil > /sys/devices/system/cpu/cpu4/cpufreq/scaling_governor + -- Command used : echo schedutil > /sys/devices/system/cpu/cpu5/cpufreq/scaling_governor + -- Command used : echo schedutil > /sys/devices/system/cpu/cpu6/cpufreq/scaling_governor + -- Command used : echo schedutil > /sys/devices/system/cpu/cpu7/cpufreq/scaling_governor +--- Frequency level of core 0 is 4 +--- Modifying the governor of core 0 to set the default value +--- Modifying the governor of core 0 +--- Frequency level of core 1 is 4 +--- Modifying the governor of core 1 to set the default value +--- Modifying the governor of core 1 +--- Frequency level of core 2 is 0 +--- Exact frequency of core 2: 0 +--- Modifying the governor of core 2 +--- Modifying the the current frequency of core 2 with frequency 0 +--- Frequency level of core 3 is 0 +--- Exact frequency of core 3: 0 +--- Modifying the governor of core 3 +--- Modifying the the current frequency of core 3 with frequency 0 +--- Frequency level of core 4 is 0 +--- Exact frequency of core 4: 0 +--- Modifying the governor of core 4 +--- Modifying the the current frequency of core 4 with frequency 0 +--- Frequency level of core 5 is 0 +--- Exact frequency of core 5: 0 +--- Modifying the governor of core 5 +--- Modifying the the current frequency of core 5 with frequency 0 +--- Frequency level of core 6 is 0 +--- Exact frequency of core 6: 0 +--- Modifying the governor of core 6 +--- Modifying the the current frequency of core 6 with frequency 0 +--- Frequency level of core 7 is 0 +--- Exact frequency of core 7: 0 +--- Modifying the governor of core 7 +--- Modifying the the current frequency of core 7 with frequency 0 +--- Calibrating Monsoon power meter, please wait for 10 seconds... +powermeter script : --- Inside the monsoon_power_meter, arg function: 1 +powermeter script : calibration duration = 10 +powermeter script : Creating the Monsoon engine +powermeter script : Creating the Monsoon engine +powermeter script : Configuring channels the Monsoon engine +powermeter script : Configuring output to : C:\Users\lavoi\opportunist_task_on_android\scripts_valuable_files\experiment_automatization\last_tmp_expermiment_folder\configuration_mesurement.csv +powermeter script : Starting sampling; number of sample = 50000 + returning 50000 samples after experiments +powermeter script : Power meter calibration okay +--- Monsoon power meter Calibrated +--- starting the benchmarking app +## writing the configuration inside the phone file + --- Removing file /sdcard/experiments_automatization +rm '/sdcard/experiments_automatization/current_configuration.txt' +rm '/sdcard/experiments_automatization/experiment_duration.txt' +rm '/sdcard/experiments_automatization/app_output_folder/Thread_0_ready_for_sampling' +rm '/sdcard/experiments_automatization/app_output_folder/Thread_1_ready_for_sampling' +rm '/sdcard/experiments_automatization/app_output_folder/Thread_0_ended' +rm '/sdcard/experiments_automatization/app_output_folder/Thread_1_ended' +rmdir '/sdcard/experiments_automatization/app_output_folder' +rmdir '/sdcard/experiments_automatization' + --- Clearing the logcat + --- Creating file /sdcard/experiments_automatization +----- Uninstalling experiment app +Success +----- Installing experiment app +Performing Streamed Install +Success +------ Giving rights to experiment app +----- Starting experiment app +Starting: Intent { cmp=com.opportunistask.scheduling.benchmarking_app_to_test_big_cores/.MainActivity } +adb command : ps -A | grep com.opportunistask.scheduling.benchmarking_app_to_test_big_cores + ----- Experiment app started with pid: 6028 +---- waiting for benchmarking app thread to be pinned and to be ready +--- frequency level of core 0 is 4 +--- frequency level of core 1 is 4 +--- frequency level of core 2 is 0 +--- frequency level of core 3 is 0 +--- frequency level of core 4 is 0 +--- frequency level of core 5 is 0 +--- frequency level of core 6 is 0 +--- frequency level of core 7 is 0 +--- Number of cores to occupy = 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 1 +--- The current number of thread ready to be sambled : 1, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 2 +--- Now threads are running and the phone is ready to be sampled with the power meter \n--- Threads pids +Thread_0_ready_for_sampling +Thread_1_ready_for_sampling +--- Printing cc_info beginning datas (for the samsung galaxy s8) + --- Starting power meter sampling for about 600 seconds +--- Sampling with the Monsoon power meter +powermeter script : --- Inside the monsoon_power_meter, arg function: 2 +powermeter script : Experiment duration = 600 +powermeter script : Creating the Monsoon engine +powermeter script : Creating the Monsoon engine +powermeter script : Configuring channels the Monsoon engine +powermeter script : Configuring output to : C:\Users\lavoi\opportunist_task_on_android\scripts_valuable_files\experiment_automatization\last_tmp_expermiment_folder\configuration_mesurement.csv +powermeter script : Starting sampling; number of sample = 3000000 + returning 3000000 samples after experiments +powermeter script : Total nomber of sample measured : 3000000 +powermeter script : Computing powermeter summary result + Number of samples = 3000000 +powermeter script : We computed the energy on 600 samples +powermeter script : average_power = 731.5033821974694 +powermeter script : average_power with numpy arrays = 731.5033821972852 +powermeter script : Summary Result = time (s): 601.5190861225128 +Ins Current (mA):146.8353078763314 +Samples: 3000000 +Consumed Energy (mAs): 88747.60592155956 +Consumed Energy (mAh): 24.652112755988767 +Consumed Energy (mWs): 447001.18780186377 +Consumed Energy (mWh): 124.16699661162882 +Avg power (mW): 731.5033821974694 +Avg Current (mA): 145.10593284987792 +Avg Voltage (V): 5.04116797866742 +Exp Batt Life (hrs for 1000mAh battery): NOT COMPUTED +--- Monsoon power meter sampling is finished ! + --- experiment folder path /mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/last_tmp_expermiment_folder +--- frequency level of core 0 is 4 +--- frequency level of core 1 is 4 +--- frequency level of core 2 is 0 +--- frequency level of core 3 is 0 +--- frequency level of core 4 is 0 +--- frequency level of core 5 is 0 +--- frequency level of core 6 is 0 +--- frequency level of core 7 is 0 +--- Number of threads normally started = 2 +--- Number of thread ended: 2 +--- Now threads are stopped, getting the cc_info_level for samsung +--- Copying thread results locally +command /mnt/c/Program Files/Android/platform-tools_r33.0.1-windows/platform-tools/adb.exe pull /sdcard/experiments_automatization/app_output_folder C:\Users\lavoi\opportunist_task_on_android\scripts_valuable_files\experiment_automatization\last_tmp_expermiment_folder </dev/null +/sdcard/experiments_automatization/app_output_folder/: 4 files pulled, 0 skipped. 0.0 MB/s (904 bytes in 0.041s) +saving the logcat file to /mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/last_tmp_expermiment_folder -/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/last_tmp_expermiment_folder- +--- Parsing result from /mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/last_tmp_expermiment_folder to /mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/output_folder/raw_result.txt +--- Getting exact configuration with frequency +--- Configuration with frequencies = [1804801- 1804801- 0- 0- 0- 0- 0- 0] +--- Getting the powermeter summary +--- Powermeter summary: +time (s): 601.5190861225128 +Ins Current (mA):146.8353078763314 +Samples: 3000000 +Consumed Energy (mAs): 88747.60592155956 +Consumed Energy (mAh): 24.652112755988767 +Consumed Energy (mWs): 447001.18780186377 +Consumed Energy (mWh): 124.16699661162882 +Avg power (mW): 731.5033821974694 +Avg Current (mA): 145.10593284987792 +Avg Voltage (V): 5.04116797866742 + +--- Getting the total energy consumed of the google pixel +--- Energy consumed = 24.652112755988767 +--- Starting cc_info = 0 +--- Ending cc_info = 0 +--- Getting the average power +--- Avg Power = 731.5033821974694 +--- Printing the total threads summary +--- Thread results +Thread : 0 - ThreadProcess id: 6053 +---------------------------------------- +Starting time: Sun, 19 Dec 2021 04:58:32 +0100 +Core id: 0 +Ending time: Sun, 19 Dec 2021 05:08:32 +0100 - Duration: 600002 seconds +Real workload: 4.645261022144905E10 - Integer reached: 128440 - Number of reset = 0 +Battery stats: 0 mAH +Computed Drain: Null +Start: 50 % - End: 50 +Cc_info at the beginning: 0 mAh +Cc_info at the end: 0 mAh +Cc_info variation: 0.0 mAh + +Thread : 1 - ThreadProcess id: 6054 +---------------------------------------- +Starting time: Sun, 19 Dec 2021 04:58:32 +0100 +Core id: 1 +Ending time: Sun, 19 Dec 2021 05:08:32 +0100 - Duration: 600027 seconds +Real workload: 4.674089615096642E10 - Integer reached: 128821 - Number of reset = 0 +Battery stats: 0 mAH +Computed Drain: Null +Start: 50 % - End: 50 +Cc_info at the beginning: 0 mAh +Cc_info at the end: 0 mAh +Cc_info variation: 0.0 mAh + + +--- Counting the total workload command : print_total_workload /mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/last_tmp_expermiment_folder app_output_folder 4,4,0,0,0,0,0,0 /mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first +--- Total workload : 9.31935e+10 +--- Getting energy efficiency +--- Energy efficiency: 2.64526e-10 +--- Building what we will add to the total result file command +------ + (build_configuration_raw_result 440000-0-0 4,4,0,0,0,0,0,0 [1804801- 1804801- 0- 0- 0- 0- 0- 0] time (s): 601.5190861225128 +Ins Current (mA):146.8353078763314 +Samples: 3000000 +Consumed Energy (mAs): 88747.60592155956 +Consumed Energy (mAh): 24.652112755988767 +Consumed Energy (mWs): 447001.18780186377 +Consumed Energy (mWh): 124.16699661162882 +Avg power (mW): 731.5033821974694 +Avg Current (mA): 145.10593284987792 +Avg Voltage (V): 5.04116797866742 + Thread : 0 - ThreadProcess id: 6053 +---------------------------------------- +Starting time: Sun, 19 Dec 2021 04:58:32 +0100 +Core id: 0 +Ending time: Sun, 19 Dec 2021 05:08:32 +0100 - Duration: 600002 seconds +Real workload: 4.645261022144905E10 - Integer reached: 128440 - Number of reset = 0 +Battery stats: 0 mAH +Computed Drain: Null +Start: 50 % - End: 50 +Cc_info at the beginning: 0 mAh +Cc_info at the end: 0 mAh +Cc_info variation: 0.0 mAh + +Thread : 1 - ThreadProcess id: 6054 +---------------------------------------- +Starting time: Sun, 19 Dec 2021 04:58:32 +0100 +Core id: 1 +Ending time: Sun, 19 Dec 2021 05:08:32 +0100 - Duration: 600027 seconds +Real workload: 4.674089615096642E10 - Integer reached: 128821 - Number of reset = 0 +Battery stats: 0 mAH +Computed Drain: Null +Start: 50 % - End: 50 +Cc_info at the beginning: 0 mAh +Cc_info at the end: 0 mAh +Cc_info variation: 0.0 mAh + + 24.652112755988767 9.31935e+10 2.64526e-10 0 0 +------ + +--- Final result to print to File + -------------------------------------------------------------------------------- + +++++ +++++ +++++ Configuration Description +-------------------------------------------------------------------------------- +Configuration: 440000-0-0 +phone format: 4,4,0,0,0,0,0,0 +Exact values of frequencies: [1804801- 1804801- 0- 0- 0- 0- 0- 0] + +Power meter results +------------------------------------------------------------ +time (s): 601.5190861225128 +Ins Current (mA):146.8353078763314 +Samples: 3000000 +Consumed Energy (mAs): 88747.60592155956 +Consumed Energy (mAh): 24.652112755988767 +Consumed Energy (mWs): 447001.18780186377 +Consumed Energy (mWh): 124.16699661162882 +Avg power (mW): 731.5033821974694 +Avg Current (mA): 145.10593284987792 +Avg Voltage (V): 5.04116797866742 + +Threads results +------------------------------------------------------------ +Thread : 0 - ThreadProcess id: 6053 +---------------------------------------- +Starting time: Sun, 19 Dec 2021 04:58:32 +0100 +Core id: 0 +Ending time: Sun, 19 Dec 2021 05:08:32 +0100 - Duration: 600002 seconds +Real workload: 4.645261022144905E10 - Integer reached: 128440 - Number of reset = 0 +Battery stats: 0 mAH +Computed Drain: Null +Start: 50 % - End: 50 +Cc_info at the beginning: 0 mAh +Cc_info at the end: 0 mAh +Cc_info variation: 0.0 mAh + +Thread : 1 - ThreadProcess id: 6054 +---------------------------------------- +Starting time: Sun, 19 Dec 2021 04:58:32 +0100 +Core id: 1 +Ending time: Sun, 19 Dec 2021 05:08:32 +0100 - Duration: 600027 seconds +Real workload: 4.674089615096642E10 - Integer reached: 128821 - Number of reset = 0 +Battery stats: 0 mAH +Computed Drain: Null +Start: 50 % - End: 50 +Cc_info at the beginning: 0 mAh +Cc_info at the end: 0 mAh +Cc_info variation: 0.0 mAh + + +Expermiment results +------------------------------------------------------------ +Energy Consumed (mAh): 24.652112755988767 +Workload: 9.31935e+10 +Energy efficiency: 2.64526e-10 +-------------------------------------------------------------------------------- + + +--- Writing to the total result file +--- Removing previous tested configuration tmp_output folder +removed '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__04Oct22_06_41_50/app_output_folder/all_workloads.txt' +removed '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__04Oct22_06_41_50/app_output_folder/Thread_0_ended' +removed '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__04Oct22_06_41_50/app_output_folder/Thread_0_ready_for_sampling' +removed '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__04Oct22_06_41_50/app_output_folder/Thread_1_ended' +removed '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__04Oct22_06_41_50/app_output_folder/Thread_1_ready_for_sampling' +removed directory '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__04Oct22_06_41_50/app_output_folder' +removed '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__04Oct22_06_41_50/configuration_mesurement.csv' +removed '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__04Oct22_06_41_50/energy_power_workload_energyByWorkload_ccInfo' +removed '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__04Oct22_06_41_50/logcat_output' +removed '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__04Oct22_06_41_50/powermeter_summary.txt' +removed directory '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__04Oct22_06_41_50' +--- Moving the current experiment tmp_folder to the output result folder +writing a temporary file for the main script with format energy_power_workload_energyByWorkload_ccInfo +--- Obtaining experiment summary result to add to result folder +--- Experiment result, Energy consumed = 24.652112755988767 +--- Experiment result, Avg Power = 731.5033821974694 +--- Experiment result, Total Workload = 9.31935e+10 +--- Experiment result, Energy Efficiency = 2.64526e-10 +--- Adding result to summary file +--- Starting cc information : 0 +--- Ending cc information : 0 +--- The file /mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/output_folder/summary.csv exists we just appending the result to the file +--- Experiments performed on configuration 440000-0-0. +--- Observing a pause betwenn experiment; pause duration : 180 seconds; starting at 04Oct22_06_54_37 +--- Performing experiments on configuration 440000-0-0 +--- Cleaning the tmp expermiment folder : /mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/last_tmp_expermiment_folder +--- Second step : verifying the battery level +--- Verifying the battery level +--- Getting current battery level, adb command path: /mnt/c/Program Files/Android/platform-tools_r33.0.1-windows/platform-tools/adb.exe +--- Current battery level : 50 +Current battery level: OKAY +--- Third step calibrating phone core frequency +--- Resetting all frequency configurations + -- Command used : echo schedutil > /sys/devices/system/cpu/cpu1/cpufreq/scaling_governor + -- Command used : echo schedutil > /sys/devices/system/cpu/cpu2/cpufreq/scaling_governor + -- Command used : echo schedutil > /sys/devices/system/cpu/cpu3/cpufreq/scaling_governor + -- Command used : echo schedutil > /sys/devices/system/cpu/cpu4/cpufreq/scaling_governor + -- Command used : echo schedutil > /sys/devices/system/cpu/cpu5/cpufreq/scaling_governor + -- Command used : echo schedutil > /sys/devices/system/cpu/cpu6/cpufreq/scaling_governor + -- Command used : echo schedutil > /sys/devices/system/cpu/cpu7/cpufreq/scaling_governor +--- Frequency level of core 0 is 4 +--- Modifying the governor of core 0 to set the default value +--- Modifying the governor of core 0 +--- Frequency level of core 1 is 4 +--- Modifying the governor of core 1 to set the default value +--- Modifying the governor of core 1 +--- Frequency level of core 2 is 0 +--- Exact frequency of core 2: 0 +--- Modifying the governor of core 2 +--- Modifying the the current frequency of core 2 with frequency 0 +--- Frequency level of core 3 is 0 +--- Exact frequency of core 3: 0 +--- Modifying the governor of core 3 +--- Modifying the the current frequency of core 3 with frequency 0 +--- Frequency level of core 4 is 0 +--- Exact frequency of core 4: 0 +--- Modifying the governor of core 4 +--- Modifying the the current frequency of core 4 with frequency 0 +--- Frequency level of core 5 is 0 +--- Exact frequency of core 5: 0 +--- Modifying the governor of core 5 +--- Modifying the the current frequency of core 5 with frequency 0 +--- Frequency level of core 6 is 0 +--- Exact frequency of core 6: 0 +--- Modifying the governor of core 6 +--- Modifying the the current frequency of core 6 with frequency 0 +--- Frequency level of core 7 is 0 +--- Exact frequency of core 7: 0 +--- Modifying the governor of core 7 +--- Modifying the the current frequency of core 7 with frequency 0 +--- Calibrating Monsoon power meter, please wait for 10 seconds... +powermeter script : --- Inside the monsoon_power_meter, arg function: 1 +powermeter script : calibration duration = 10 +powermeter script : Creating the Monsoon engine +powermeter script : Creating the Monsoon engine +powermeter script : Configuring channels the Monsoon engine +powermeter script : Configuring output to : C:\Users\lavoi\opportunist_task_on_android\scripts_valuable_files\experiment_automatization\last_tmp_expermiment_folder\configuration_mesurement.csv +powermeter script : Starting sampling; number of sample = 50000 + returning 50000 samples after experiments +powermeter script : Power meter calibration okay +--- Monsoon power meter Calibrated +--- starting the benchmarking app +## writing the configuration inside the phone file + --- Removing file /sdcard/experiments_automatization +rm '/sdcard/experiments_automatization/current_configuration.txt' +rm '/sdcard/experiments_automatization/experiment_duration.txt' +rm '/sdcard/experiments_automatization/app_output_folder/Thread_0_ready_for_sampling' +rm '/sdcard/experiments_automatization/app_output_folder/Thread_1_ready_for_sampling' +rm '/sdcard/experiments_automatization/app_output_folder/Thread_0_ended' +rm '/sdcard/experiments_automatization/app_output_folder/Thread_1_ended' +rmdir '/sdcard/experiments_automatization/app_output_folder' +rmdir '/sdcard/experiments_automatization' + --- Clearing the logcat + --- Creating file /sdcard/experiments_automatization +----- Uninstalling experiment app +Success +----- Installing experiment app +Performing Streamed Install +Success +------ Giving rights to experiment app +----- Starting experiment app +Starting: Intent { cmp=com.opportunistask.scheduling.benchmarking_app_to_test_big_cores/.MainActivity } +adb command : ps -A | grep com.opportunistask.scheduling.benchmarking_app_to_test_big_cores + ----- Experiment app started with pid: 6868 +---- waiting for benchmarking app thread to be pinned and to be ready +--- frequency level of core 0 is 4 +--- frequency level of core 1 is 4 +--- frequency level of core 2 is 0 +--- frequency level of core 3 is 0 +--- frequency level of core 4 is 0 +--- frequency level of core 5 is 0 +--- frequency level of core 6 is 0 +--- frequency level of core 7 is 0 +--- Number of cores to occupy = 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 0 +--- The current number of thread ready to be sambled : 0, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 1 +--- The current number of thread ready to be sambled : 1, still lower than the experiment one : 2 +--- Number of thread in experiment phase : 2 +--- Now threads are running and the phone is ready to be sampled with the power meter \n--- Threads pids +Thread_0_ready_for_sampling +Thread_1_ready_for_sampling +--- Printing cc_info beginning datas (for the samsung galaxy s8) + --- Starting power meter sampling for about 600 seconds +--- Sampling with the Monsoon power meter +powermeter script : --- Inside the monsoon_power_meter, arg function: 2 +powermeter script : Experiment duration = 600 +powermeter script : Creating the Monsoon engine +powermeter script : Creating the Monsoon engine +powermeter script : Configuring channels the Monsoon engine +powermeter script : Configuring output to : C:\Users\lavoi\opportunist_task_on_android\scripts_valuable_files\experiment_automatization\last_tmp_expermiment_folder\configuration_mesurement.csv +powermeter script : Starting sampling; number of sample = 3000000 + returning 3000000 samples after experiments +powermeter script : Total nomber of sample measured : 3000000 +powermeter script : Computing powermeter summary result + Number of samples = 3000000 +powermeter script : We computed the energy on 600 samples +powermeter script : average_power = 722.8338437003015 +powermeter script : average_power with numpy arrays = 722.8338437002925 +powermeter script : Summary Result = time (s): 601.4938430786133 +Ins Current (mA):134.11726589106533 +Samples: 3000000 +Consumed Energy (mAs): 85552.04363776669 +Consumed Energy (mAh): 23.764456566046302 +Consumed Energy (mWs): 431239.42553198145 +Consumed Energy (mWh): 119.7887293144393 +Avg power (mW): 722.8338437003015 +Avg Current (mA): 143.34871658549497 +Avg Voltage (V): 5.042485631667266 +Exp Batt Life (hrs for 1000mAh battery): NOT COMPUTED +--- Monsoon power meter sampling is finished ! + --- experiment folder path /mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/last_tmp_expermiment_folder +--- frequency level of core 0 is 4 +--- frequency level of core 1 is 4 +--- frequency level of core 2 is 0 +--- frequency level of core 3 is 0 +--- frequency level of core 4 is 0 +--- frequency level of core 5 is 0 +--- frequency level of core 6 is 0 +--- frequency level of core 7 is 0 +--- Number of threads normally started = 2 +--- Number of thread ended: 2 +--- Now threads are stopped, getting the cc_info_level for samsung +--- Copying thread results locally +command /mnt/c/Program Files/Android/platform-tools_r33.0.1-windows/platform-tools/adb.exe pull /sdcard/experiments_automatization/app_output_folder C:\Users\lavoi\opportunist_task_on_android\scripts_valuable_files\experiment_automatization\last_tmp_expermiment_folder </dev/null +/sdcard/experiments_automatization/app_output_folder/: 4 files pulled, 0 skipped. 0.0 MB/s (904 bytes in 0.032s) +saving the logcat file to /mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/last_tmp_expermiment_folder -/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/last_tmp_expermiment_folder- +--- Parsing result from /mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/last_tmp_expermiment_folder to /mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/output_folder/raw_result.txt +--- Getting exact configuration with frequency +--- Configuration with frequencies = [1804801- 1804801- 0- 0- 0- 0- 0- 0] +--- Getting the powermeter summary +--- Powermeter summary: +time (s): 601.4938430786133 +Ins Current (mA):134.11726589106533 +Samples: 3000000 +Consumed Energy (mAs): 85552.04363776669 +Consumed Energy (mAh): 23.764456566046302 +Consumed Energy (mWs): 431239.42553198145 +Consumed Energy (mWh): 119.7887293144393 +Avg power (mW): 722.8338437003015 +Avg Current (mA): 143.34871658549497 +Avg Voltage (V): 5.042485631667266 + +--- Getting the total energy consumed of the google pixel +--- Energy consumed = 23.764456566046302 +--- Starting cc_info = 0 +--- Ending cc_info = 0 +--- Getting the average power +--- Avg Power = 722.8338437003015 +--- Printing the total threads summary +--- Thread results +Thread : 0 - ThreadProcess id: 6893 +---------------------------------------- +Starting time: Sun, 19 Dec 2021 05:14:21 +0100 +Core id: 0 +Ending time: Sun, 19 Dec 2021 05:24:21 +0100 - Duration: 600007 seconds +Real workload: 4.636804094730455E10 - Integer reached: 128328 - Number of reset = 0 +Battery stats: 0 mAH +Computed Drain: Null +Start: 50 % - End: 50 +Cc_info at the beginning: 0 mAh +Cc_info at the end: 0 mAh +Cc_info variation: 0.0 mAh + +Thread : 1 - ThreadProcess id: 6894 +---------------------------------------- +Starting time: Sun, 19 Dec 2021 05:14:21 +0100 +Core id: 1 +Ending time: Sun, 19 Dec 2021 05:24:22 +0100 - Duration: 600003 seconds +Real workload: 4.658642310643213E10 - Integer reached: 128617 - Number of reset = 0 +Battery stats: 0 mAH +Computed Drain: Null +Start: 50 % - End: 50 +Cc_info at the beginning: 0 mAh +Cc_info at the end: 0 mAh +Cc_info variation: 0.0 mAh + + +--- Counting the total workload command : print_total_workload /mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/last_tmp_expermiment_folder app_output_folder 4,4,0,0,0,0,0,0 /mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first +--- Total workload : 9.29545e+10 +--- Getting energy efficiency +--- Energy efficiency: 2.55657e-10 +--- Building what we will add to the total result file command +------ + (build_configuration_raw_result 440000-0-0 4,4,0,0,0,0,0,0 [1804801- 1804801- 0- 0- 0- 0- 0- 0] time (s): 601.4938430786133 +Ins Current (mA):134.11726589106533 +Samples: 3000000 +Consumed Energy (mAs): 85552.04363776669 +Consumed Energy (mAh): 23.764456566046302 +Consumed Energy (mWs): 431239.42553198145 +Consumed Energy (mWh): 119.7887293144393 +Avg power (mW): 722.8338437003015 +Avg Current (mA): 143.34871658549497 +Avg Voltage (V): 5.042485631667266 + Thread : 0 - ThreadProcess id: 6893 +---------------------------------------- +Starting time: Sun, 19 Dec 2021 05:14:21 +0100 +Core id: 0 +Ending time: Sun, 19 Dec 2021 05:24:21 +0100 - Duration: 600007 seconds +Real workload: 4.636804094730455E10 - Integer reached: 128328 - Number of reset = 0 +Battery stats: 0 mAH +Computed Drain: Null +Start: 50 % - End: 50 +Cc_info at the beginning: 0 mAh +Cc_info at the end: 0 mAh +Cc_info variation: 0.0 mAh + +Thread : 1 - ThreadProcess id: 6894 +---------------------------------------- +Starting time: Sun, 19 Dec 2021 05:14:21 +0100 +Core id: 1 +Ending time: Sun, 19 Dec 2021 05:24:22 +0100 - Duration: 600003 seconds +Real workload: 4.658642310643213E10 - Integer reached: 128617 - Number of reset = 0 +Battery stats: 0 mAH +Computed Drain: Null +Start: 50 % - End: 50 +Cc_info at the beginning: 0 mAh +Cc_info at the end: 0 mAh +Cc_info variation: 0.0 mAh + + 23.764456566046302 9.29545e+10 2.55657e-10 0 0 +------ + +--- Final result to print to File + -------------------------------------------------------------------------------- + +++++ +++++ +++++ Configuration Description +-------------------------------------------------------------------------------- +Configuration: 440000-0-0 +phone format: 4,4,0,0,0,0,0,0 +Exact values of frequencies: [1804801- 1804801- 0- 0- 0- 0- 0- 0] + +Power meter results +------------------------------------------------------------ +time (s): 601.4938430786133 +Ins Current (mA):134.11726589106533 +Samples: 3000000 +Consumed Energy (mAs): 85552.04363776669 +Consumed Energy (mAh): 23.764456566046302 +Consumed Energy (mWs): 431239.42553198145 +Consumed Energy (mWh): 119.7887293144393 +Avg power (mW): 722.8338437003015 +Avg Current (mA): 143.34871658549497 +Avg Voltage (V): 5.042485631667266 + +Threads results +------------------------------------------------------------ +Thread : 0 - ThreadProcess id: 6893 +---------------------------------------- +Starting time: Sun, 19 Dec 2021 05:14:21 +0100 +Core id: 0 +Ending time: Sun, 19 Dec 2021 05:24:21 +0100 - Duration: 600007 seconds +Real workload: 4.636804094730455E10 - Integer reached: 128328 - Number of reset = 0 +Battery stats: 0 mAH +Computed Drain: Null +Start: 50 % - End: 50 +Cc_info at the beginning: 0 mAh +Cc_info at the end: 0 mAh +Cc_info variation: 0.0 mAh + +Thread : 1 - ThreadProcess id: 6894 +---------------------------------------- +Starting time: Sun, 19 Dec 2021 05:14:21 +0100 +Core id: 1 +Ending time: Sun, 19 Dec 2021 05:24:22 +0100 - Duration: 600003 seconds +Real workload: 4.658642310643213E10 - Integer reached: 128617 - Number of reset = 0 +Battery stats: 0 mAH +Computed Drain: Null +Start: 50 % - End: 50 +Cc_info at the beginning: 0 mAh +Cc_info at the end: 0 mAh +Cc_info variation: 0.0 mAh + + +Expermiment results +------------------------------------------------------------ +Energy Consumed (mAh): 23.764456566046302 +Workload: 9.29545e+10 +Energy efficiency: 2.55657e-10 +-------------------------------------------------------------------------------- + + +--- Writing to the total result file +--- Removing previous tested configuration tmp_output folder +removed '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__04Oct22_06_57_39/app_output_folder/all_workloads.txt' +removed '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__04Oct22_06_57_39/app_output_folder/Thread_0_ended' +removed '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__04Oct22_06_57_39/app_output_folder/Thread_0_ready_for_sampling' +removed '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__04Oct22_06_57_39/app_output_folder/Thread_1_ended' +removed '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__04Oct22_06_57_39/app_output_folder/Thread_1_ready_for_sampling' +removed directory '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__04Oct22_06_57_39/app_output_folder' +removed '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__04Oct22_06_57_39/configuration_mesurement.csv' +removed '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__04Oct22_06_57_39/energy_power_workload_energyByWorkload_ccInfo' +removed '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__04Oct22_06_57_39/logcat_output' +removed '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__04Oct22_06_57_39/powermeter_summary.txt' +removed directory '/mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/can_be_reused/to_delete_first/last_tmp_expermiment_folder__deleted__on__04Oct22_06_57_39' +--- Moving the current experiment tmp_folder to the output result folder +writing a temporary file for the main script with format energy_power_workload_energyByWorkload_ccInfo +--- Obtaining experiment summary result to add to result folder +--- Experiment result, Energy consumed = 23.764456566046302 +--- Experiment result, Avg Power = 722.8338437003015 +--- Experiment result, Total Workload = 9.29545e+10 +--- Experiment result, Energy Efficiency = 2.55657e-10 +--- Adding result to summary file +--- Starting cc information : 0 +--- Ending cc information : 0 +--- The file /mnt/c/Users/lavoi/opportunist_task_on_android/scripts_valuable_files/experiment_automatization/output_folder/summary.csv exists we just appending the result to the file +--- Experiments performed on configuration 440000-0-0. +--- Observing a pause betwenn experiment; pause duration : 180 seconds; starting at 04Oct22_07_10_26 diff --git a/experiment_automatization/summary_files_only/summary___04Oct22_07_13_26.csv b/experiment_automatization/summary_files_only/summary___04Oct22_07_13_26.csv new file mode 100755 index 0000000000000000000000000000000000000000..dbab3fa0744413ca5f8be5715d7d378e01d02987 --- /dev/null +++ b/experiment_automatization/summary_files_only/summary___04Oct22_07_13_26.csv @@ -0,0 +1,61 @@ +configurations,generic format,exact frequency,google pixel format,exact frequencies,phone energy,phone power,workload,energy by workload,starting cc_info,ending cc_info +100001-0-0,[1- 0- 0- 0- 0- 1- 0- 0- 0- 0- 0- 0- 0],[576000- 0- 0- 0- 0- 576000- 0- 0- 0- 0- 0- 0- 0],[1- 0- 0- 0- 0- 1- 0- 0],[576000- 0- 0- 0- 0- 576000- 0- 0],23.92680302847992,726.3511644901749,9.39183e+10,2.54762e-10,0,0 +100001-0-0,[1- 0- 0- 0- 0- 1- 0- 0- 0- 0- 0- 0- 0],[576000- 0- 0- 0- 0- 576000- 0- 0- 0- 0- 0- 0- 0],[1- 0- 0- 0- 0- 1- 0- 0],[576000- 0- 0- 0- 0- 576000- 0- 0],24.008138624748163,726.6547674245342,9.39365e+10,2.55578e-10,0,0 +100001-0-0,[1- 0- 0- 0- 0- 1- 0- 0- 0- 0- 0- 0- 0],[576000- 0- 0- 0- 0- 576000- 0- 0- 0- 0- 0- 0- 0],[1- 0- 0- 0- 0- 1- 0- 0],[576000- 0- 0- 0- 0- 576000- 0- 0],24.04973010017626,725.0266611494385,9.40412e+10,2.55736e-10,0,0 +100010-0-0,[1- 0- 0- 0- 1- 0- 0- 0- 0- 0- 0- 0- 0],[576000- 0- 0- 0- 576000- 0- 0- 0- 0- 0- 0- 0- 0],[1- 0- 0- 0- 1- 0- 0- 0],[576000- 0- 0- 0- 576000- 0- 0- 0],23.768609723161067,721.9359233930851,9.38028e+10,2.53389e-10,0,0 +100010-0-0,[1- 0- 0- 0- 1- 0- 0- 0- 0- 0- 0- 0- 0],[576000- 0- 0- 0- 576000- 0- 0- 0- 0- 0- 0- 0- 0],[1- 0- 0- 0- 1- 0- 0- 0],[576000- 0- 0- 0- 576000- 0- 0- 0],23.907751006381503,719.5124735980693,9.4169e+10,2.53881e-10,0,0 +100010-0-0,[1- 0- 0- 0- 1- 0- 0- 0- 0- 0- 0- 0- 0],[576000- 0- 0- 0- 576000- 0- 0- 0- 0- 0- 0- 0- 0],[1- 0- 0- 0- 1- 0- 0- 0],[576000- 0- 0- 0- 576000- 0- 0- 0],23.647042756264316,717.3536897466823,9.38666e+10,2.51922e-10,0,0 +100100-0-0,[1- 0- 0- 1- 0- 0- 0- 0- 0- 0- 0- 0- 0],[576000- 0- 0- 576000- 0- 0- 0- 0- 0- 0- 0- 0- 0],[1- 0- 0- 1- 0- 0- 0- 0],[576000- 0- 0- 576000- 0- 0- 0- 0],24.34321151135318,731.1453068380349,9.52989e+10,2.55441e-10,0,0 +100100-0-0,[1- 0- 0- 1- 0- 0- 0- 0- 0- 0- 0- 0- 0],[576000- 0- 0- 576000- 0- 0- 0- 0- 0- 0- 0- 0- 0],[1- 0- 0- 1- 0- 0- 0- 0],[576000- 0- 0- 576000- 0- 0- 0- 0],23.66236144271759,723.4942902904883,9.41097e+10,2.51434e-10,0,0 +100100-0-0,[1- 0- 0- 1- 0- 0- 0- 0- 0- 0- 0- 0- 0],[576000- 0- 0- 576000- 0- 0- 0- 0- 0- 0- 0- 0- 0],[1- 0- 0- 1- 0- 0- 0- 0],[576000- 0- 0- 576000- 0- 0- 0- 0],24.282936366326563,728.7494068467691,9.36904e+10,2.59183e-10,0,0 +101000-0-0,[1- 0- 1- 0- 0- 0- 0- 0- 0- 0- 0- 0- 0],[576000- 0- 576000- 0- 0- 0- 0- 0- 0- 0- 0- 0- 0],[1- 0- 1- 0- 0- 0- 0- 0],[576000- 0- 576000- 0- 0- 0- 0- 0],23.827633134312034,723.5133808912915,9.36934e+10,2.54315e-10,0,0 +101000-0-0,[1- 0- 1- 0- 0- 0- 0- 0- 0- 0- 0- 0- 0],[576000- 0- 576000- 0- 0- 0- 0- 0- 0- 0- 0- 0- 0],[1- 0- 1- 0- 0- 0- 0- 0],[576000- 0- 576000- 0- 0- 0- 0- 0],23.826661712544205,723.732867677299,9.39683e+10,2.53561e-10,0,0 +101000-0-0,[1- 0- 1- 0- 0- 0- 0- 0- 0- 0- 0- 0- 0],[576000- 0- 576000- 0- 0- 0- 0- 0- 0- 0- 0- 0- 0],[1- 0- 1- 0- 0- 0- 0- 0],[576000- 0- 576000- 0- 0- 0- 0- 0],24.05507728451459,730.1044749181781,9.42226e+10,2.55301e-10,0,0 +110000-0-0,[1- 1- 0- 0- 0- 0- 0- 0- 0- 0- 0- 0- 0],[576000- 576000- 0- 0- 0- 0- 0- 0- 0- 0- 0- 0- 0],[1- 1- 0- 0- 0- 0- 0- 0],[576000- 576000- 0- 0- 0- 0- 0- 0],24.42419267600996,729.2341965500051,9.32932e+10,2.618e-10,0,0 +110000-0-0,[1- 1- 0- 0- 0- 0- 0- 0- 0- 0- 0- 0- 0],[576000- 576000- 0- 0- 0- 0- 0- 0- 0- 0- 0- 0- 0],[1- 1- 0- 0- 0- 0- 0- 0],[576000- 576000- 0- 0- 0- 0- 0- 0],23.99322866107899,733.4804599940842,9.32632e+10,2.57264e-10,0,0 +110000-0-0,[1- 1- 0- 0- 0- 0- 0- 0- 0- 0- 0- 0- 0],[576000- 576000- 0- 0- 0- 0- 0- 0- 0- 0- 0- 0- 0],[1- 1- 0- 0- 0- 0- 0- 0],[576000- 576000- 0- 0- 0- 0- 0- 0],24.207459297994163,733.4058099502962,9.33509e+10,2.59317e-10,0,0 +200002-0-0,[2- 0- 0- 0- 0- 2- 0- 0- 0- 0- 0- 0- 0],[1363200- 0- 0- 0- 0- 1363200- 0- 0- 0- 0- 0- 0- 0],[2- 0- 0- 0- 0- 2- 0- 0],[1363200- 0- 0- 0- 0- 1363200- 0- 0],28.77615884915817,864.5467841074815,2.29888e+11,1.25175e-10,0,0 +200002-0-0,[2- 0- 0- 0- 0- 2- 0- 0- 0- 0- 0- 0- 0],[1363200- 0- 0- 0- 0- 1363200- 0- 0- 0- 0- 0- 0- 0],[2- 0- 0- 0- 0- 2- 0- 0],[1363200- 0- 0- 0- 0- 1363200- 0- 0],28.68325147336931,867.97589459951,2.29682e+11,1.24882e-10,0,0 +200002-0-0,[2- 0- 0- 0- 0- 2- 0- 0- 0- 0- 0- 0- 0],[1363200- 0- 0- 0- 0- 1363200- 0- 0- 0- 0- 0- 0- 0],[2- 0- 0- 0- 0- 2- 0- 0],[1363200- 0- 0- 0- 0- 1363200- 0- 0],28.155953672150755,859.9466955837246,2.29866e+11,1.22489e-10,0,0 +200020-0-0,[2- 0- 0- 0- 2- 0- 0- 0- 0- 0- 0- 0- 0],[1363200- 0- 0- 0- 1363200- 0- 0- 0- 0- 0- 0- 0- 0],[2- 0- 0- 0- 2- 0- 0- 0],[1363200- 0- 0- 0- 1363200- 0- 0- 0],24.03237046200954,731.917838387565,9.40429e+10,2.55547e-10,0,0 +200020-0-0,[2- 0- 0- 0- 2- 0- 0- 0- 0- 0- 0- 0- 0],[1363200- 0- 0- 0- 1363200- 0- 0- 0- 0- 0- 0- 0- 0],[2- 0- 0- 0- 2- 0- 0- 0],[1363200- 0- 0- 0- 1363200- 0- 0- 0],24.734270276684956,744.9448049456295,9.38012e+10,2.63688e-10,0,0 +200020-0-0,[2- 0- 0- 0- 2- 0- 0- 0- 0- 0- 0- 0- 0],[1363200- 0- 0- 0- 1363200- 0- 0- 0- 0- 0- 0- 0- 0],[2- 0- 0- 0- 2- 0- 0- 0],[1363200- 0- 0- 0- 1363200- 0- 0- 0],23.743288058460422,717.9204299633639,9.38168e+10,2.53081e-10,0,0 +200200-0-0,[2- 0- 0- 2- 0- 0- 0- 0- 0- 0- 0- 0- 0],[1363200- 0- 0- 1363200- 0- 0- 0- 0- 0- 0- 0- 0- 0],[2- 0- 0- 2- 0- 0- 0- 0],[1363200- 0- 0- 1363200- 0- 0- 0- 0],23.750591714866186,720.3754498598336,9.37602e+10,2.53312e-10,0,0 +200200-0-0,[2- 0- 0- 2- 0- 0- 0- 0- 0- 0- 0- 0- 0],[1363200- 0- 0- 1363200- 0- 0- 0- 0- 0- 0- 0- 0- 0],[2- 0- 0- 2- 0- 0- 0- 0],[1363200- 0- 0- 1363200- 0- 0- 0- 0],23.505960200642747,720.5358246997052,9.35508e+10,2.51264e-10,0,0 +200200-0-0,[2- 0- 0- 2- 0- 0- 0- 0- 0- 0- 0- 0- 0],[1363200- 0- 0- 1363200- 0- 0- 0- 0- 0- 0- 0- 0- 0],[2- 0- 0- 2- 0- 0- 0- 0],[1363200- 0- 0- 1363200- 0- 0- 0- 0],23.42848921387117,715.786262487798,9.53721e+10,2.45653e-10,0,0 +202000-0-0,[2- 0- 2- 0- 0- 0- 0- 0- 0- 0- 0- 0- 0],[1363200- 0- 1363200- 0- 0- 0- 0- 0- 0- 0- 0- 0- 0],[2- 0- 2- 0- 0- 0- 0- 0],[1363200- 0- 1363200- 0- 0- 0- 0- 0],24.092534379540634,727.6323355556636,9.46278e+10,2.54603e-10,0,0 +202000-0-0,[2- 0- 2- 0- 0- 0- 0- 0- 0- 0- 0- 0- 0],[1363200- 0- 1363200- 0- 0- 0- 0- 0- 0- 0- 0- 0- 0],[2- 0- 2- 0- 0- 0- 0- 0],[1363200- 0- 1363200- 0- 0- 0- 0- 0],24.21312283502527,727.6231161055088,9.36479e+10,2.58555e-10,0,0 +202000-0-0,[2- 0- 2- 0- 0- 0- 0- 0- 0- 0- 0- 0- 0],[1363200- 0- 1363200- 0- 0- 0- 0- 0- 0- 0- 0- 0- 0],[2- 0- 2- 0- 0- 0- 0- 0],[1363200- 0- 1363200- 0- 0- 0- 0- 0],24.183210213672954,724.8966738025193,9.33887e+10,2.58952e-10,0,0 +220000-0-0,[2- 2- 0- 0- 0- 0- 0- 0- 0- 0- 0- 0- 0],[1363200- 1363200- 0- 0- 0- 0- 0- 0- 0- 0- 0- 0- 0],[2- 2- 0- 0- 0- 0- 0- 0],[1363200- 1363200- 0- 0- 0- 0- 0- 0],23.877164417300968,723.8593883501256,9.31481e+10,2.56335e-10,0,0 +220000-0-0,[2- 2- 0- 0- 0- 0- 0- 0- 0- 0- 0- 0- 0],[1363200- 1363200- 0- 0- 0- 0- 0- 0- 0- 0- 0- 0- 0],[2- 2- 0- 0- 0- 0- 0- 0],[1363200- 1363200- 0- 0- 0- 0- 0- 0],24.264174107781162,729.5652161595167,9.33644e+10,2.59887e-10,0,0 +220000-0-0,[2- 2- 0- 0- 0- 0- 0- 0- 0- 0- 0- 0- 0],[1363200- 1363200- 0- 0- 0- 0- 0- 0- 0- 0- 0- 0- 0],[2- 2- 0- 0- 0- 0- 0- 0],[1363200- 1363200- 0- 0- 0- 0- 0- 0],24.344031085422476,730.7086812082333,9.32224e+10,2.61139e-10,0,0 +300003-0-0,[3- 0- 0- 0- 0- 3- 0- 0- 0- 0- 0- 0- 0],[1804800- 0- 0- 0- 0- 1804800- 0- 0- 0- 0- 0- 0- 0],[3- 0- 0- 0- 0- 3- 0- 0],[1804800- 0- 0- 0- 0- 1804800- 0- 0],35.32232791967017,1062.5906794670752,3.08338e+11,1.14557e-10,0,0 +300003-0-0,[3- 0- 0- 0- 0- 3- 0- 0- 0- 0- 0- 0- 0],[1804800- 0- 0- 0- 0- 1804800- 0- 0- 0- 0- 0- 0- 0],[3- 0- 0- 0- 0- 3- 0- 0],[1804800- 0- 0- 0- 0- 1804800- 0- 0],35.53991612451346,1054.6014541487316,3.07609e+11,1.15536e-10,0,0 +300003-0-0,[3- 0- 0- 0- 0- 3- 0- 0- 0- 0- 0- 0- 0],[1804800- 0- 0- 0- 0- 1804800- 0- 0- 0- 0- 0- 0- 0],[3- 0- 0- 0- 0- 3- 0- 0],[1804800- 0- 0- 0- 0- 1804800- 0- 0],35.71754166492727,1067.4886839615626,3.08096e+11,1.1593e-10,0,0 +300030-0-0,[3- 0- 0- 0- 3- 0- 0- 0- 0- 0- 0- 0- 0],[1804800- 0- 0- 0- 1804800- 0- 0- 0- 0- 0- 0- 0- 0],[3- 0- 0- 0- 3- 0- 0- 0],[1804800- 0- 0- 0- 1804800- 0- 0- 0],23.716971835375215,716.9613184199904,9.36904e+10,2.53142e-10,0,0 +300030-0-0,[3- 0- 0- 0- 3- 0- 0- 0- 0- 0- 0- 0- 0],[1804800- 0- 0- 0- 1804800- 0- 0- 0- 0- 0- 0- 0- 0],[3- 0- 0- 0- 3- 0- 0- 0],[1804800- 0- 0- 0- 1804800- 0- 0- 0],23.953804227268574,725.4706873172738,9.41463e+10,2.54432e-10,0,0 +300030-0-0,[3- 0- 0- 0- 3- 0- 0- 0- 0- 0- 0- 0- 0],[1804800- 0- 0- 0- 1804800- 0- 0- 0- 0- 0- 0- 0- 0],[3- 0- 0- 0- 3- 0- 0- 0],[1804800- 0- 0- 0- 1804800- 0- 0- 0],23.66038518521068,716.9842985354938,9.37224e+10,2.52452e-10,0,0 +300300-0-0,[3- 0- 0- 3- 0- 0- 0- 0- 0- 0- 0- 0- 0],[1804800- 0- 0- 1804800- 0- 0- 0- 0- 0- 0- 0- 0- 0],[3- 0- 0- 3- 0- 0- 0- 0],[1804800- 0- 0- 1804800- 0- 0- 0- 0],24.1559718861257,724.3399358849308,9.36752e+10,2.57869e-10,0,0 +300300-0-0,[3- 0- 0- 3- 0- 0- 0- 0- 0- 0- 0- 0- 0],[1804800- 0- 0- 1804800- 0- 0- 0- 0- 0- 0- 0- 0- 0],[3- 0- 0- 3- 0- 0- 0- 0],[1804800- 0- 0- 1804800- 0- 0- 0- 0],24.32865158873136,727.0622958983141,9.37709e+10,2.59448e-10,0,0 +300300-0-0,[3- 0- 0- 3- 0- 0- 0- 0- 0- 0- 0- 0- 0],[1804800- 0- 0- 1804800- 0- 0- 0- 0- 0- 0- 0- 0- 0],[3- 0- 0- 3- 0- 0- 0- 0],[1804800- 0- 0- 1804800- 0- 0- 0- 0],23.538369217832788,719.868752090157,9.37981e+10,2.50947e-10,0,0 +303000-0-0,[3- 0- 3- 0- 0- 0- 0- 0- 0- 0- 0- 0- 0],[1804800- 0- 1804800- 0- 0- 0- 0- 0- 0- 0- 0- 0- 0],[3- 0- 3- 0- 0- 0- 0- 0],[1804800- 0- 1804800- 0- 0- 0- 0- 0],23.867682919071562,721.217272312583,9.36983e+10,2.54729e-10,0,0 +303000-0-0,[3- 0- 3- 0- 0- 0- 0- 0- 0- 0- 0- 0- 0],[1804800- 0- 1804800- 0- 0- 0- 0- 0- 0- 0- 0- 0- 0],[3- 0- 3- 0- 0- 0- 0- 0],[1804800- 0- 1804800- 0- 0- 0- 0- 0],23.84547723870087,715.5813654301581,9.39638e+10,2.53773e-10,0,0 +303000-0-0,[3- 0- 3- 0- 0- 0- 0- 0- 0- 0- 0- 0- 0],[1804800- 0- 1804800- 0- 0- 0- 0- 0- 0- 0- 0- 0- 0],[3- 0- 3- 0- 0- 0- 0- 0],[1804800- 0- 1804800- 0- 0- 0- 0- 0],24.080718397086365,729.1129229668635,9.34993e+10,2.5755e-10,0,0 +330000-0-0,[3- 3- 0- 0- 0- 0- 0- 0- 0- 0- 0- 0- 0],[1804800- 1804800- 0- 0- 0- 0- 0- 0- 0- 0- 0- 0- 0],[3- 3- 0- 0- 0- 0- 0- 0],[1804800- 1804800- 0- 0- 0- 0- 0- 0],24.08059502443054,735.9135240776465,9.35164e+10,2.57501e-10,0,0 +330000-0-0,[3- 3- 0- 0- 0- 0- 0- 0- 0- 0- 0- 0- 0],[1804800- 1804800- 0- 0- 0- 0- 0- 0- 0- 0- 0- 0- 0],[3- 3- 0- 0- 0- 0- 0- 0],[1804800- 1804800- 0- 0- 0- 0- 0- 0],24.637735624906814,745.9699120502246,9.2968e+10,2.65013e-10,0,0 +330000-0-0,[3- 3- 0- 0- 0- 0- 0- 0- 0- 0- 0- 0- 0],[1804800- 1804800- 0- 0- 0- 0- 0- 0- 0- 0- 0- 0- 0],[3- 3- 0- 0- 0- 0- 0- 0],[1804800- 1804800- 0- 0- 0- 0- 0- 0],24.641747385770024,743.5584038893306,9.31343e+10,2.64583e-10,0,0 +400004-0-0,[4- 0- 0- 0- 0- 4- 0- 0- 0- 0- 0- 0- 0],[1804801- 0- 0- 0- 0- 1804801- 0- 0- 0- 0- 0- 0- 0],[4- 0- 0- 0- 0- 4- 0- 0],[1804801- 0- 0- 0- 0- 1804801- 0- 0],35.68737472207005,1066.2012562271907,3.07857e+11,1.15922e-10,0,0 +400004-0-0,[4- 0- 0- 0- 0- 4- 0- 0- 0- 0- 0- 0- 0],[1804801- 0- 0- 0- 0- 1804801- 0- 0- 0- 0- 0- 0- 0],[4- 0- 0- 0- 0- 4- 0- 0],[1804801- 0- 0- 0- 0- 1804801- 0- 0],36.26627936290422,1083.1078081043274,3.07816e+11,1.17818e-10,0,0 +400004-0-0,[4- 0- 0- 0- 0- 4- 0- 0- 0- 0- 0- 0- 0],[1804801- 0- 0- 0- 0- 1804801- 0- 0- 0- 0- 0- 0- 0],[4- 0- 0- 0- 0- 4- 0- 0],[1804801- 0- 0- 0- 0- 1804801- 0- 0],35.74753244365377,1065.0050069453305,3.08344e+11,1.15934e-10,0,0 +400040-0-0,[4- 0- 0- 0- 4- 0- 0- 0- 0- 0- 0- 0- 0],[1804801- 0- 0- 0- 1804801- 0- 0- 0- 0- 0- 0- 0- 0],[4- 0- 0- 0- 4- 0- 0- 0],[1804801- 0- 0- 0- 1804801- 0- 0- 0],24.208364980550822,726.6868306972233,9.38028e+10,2.58077e-10,0,0 +400040-0-0,[4- 0- 0- 0- 4- 0- 0- 0- 0- 0- 0- 0- 0],[1804801- 0- 0- 0- 1804801- 0- 0- 0- 0- 0- 0- 0- 0],[4- 0- 0- 0- 4- 0- 0- 0],[1804801- 0- 0- 0- 1804801- 0- 0- 0],24.545508459651504,744.9521003748002,9.33706e+10,2.62883e-10,0,0 +400040-0-0,[4- 0- 0- 0- 4- 0- 0- 0- 0- 0- 0- 0- 0],[1804801- 0- 0- 0- 1804801- 0- 0- 0- 0- 0- 0- 0- 0],[4- 0- 0- 0- 4- 0- 0- 0],[1804801- 0- 0- 0- 1804801- 0- 0- 0],23.955644418717593,720.1107195961464,9.37345e+10,2.55569e-10,0,0 +400400-0-0,[4- 0- 0- 4- 0- 0- 0- 0- 0- 0- 0- 0- 0],[1804801- 0- 0- 1804801- 0- 0- 0- 0- 0- 0- 0- 0- 0],[4- 0- 0- 4- 0- 0- 0- 0],[1804801- 0- 0- 1804801- 0- 0- 0- 0],20.892728190680728,614.4824082169501,9.39793e+10,2.22312e-10,0,0 +400400-0-0,[4- 0- 0- 4- 0- 0- 0- 0- 0- 0- 0- 0- 0],[1804801- 0- 0- 1804801- 0- 0- 0- 0- 0- 0- 0- 0- 0],[4- 0- 0- 4- 0- 0- 0- 0],[1804801- 0- 0- 1804801- 0- 0- 0- 0],23.056442545915072,714.8303589060488,9.38391e+10,2.45702e-10,0,0 +400400-0-0,[4- 0- 0- 4- 0- 0- 0- 0- 0- 0- 0- 0- 0],[1804801- 0- 0- 1804801- 0- 0- 0- 0- 0- 0- 0- 0- 0],[4- 0- 0- 4- 0- 0- 0- 0],[1804801- 0- 0- 1804801- 0- 0- 0- 0],23.859797472163574,722.632215692879,9.36145e+10,2.54873e-10,0,0 +404000-0-0,[4- 0- 4- 0- 0- 0- 0- 0- 0- 0- 0- 0- 0],[1804801- 0- 1804801- 0- 0- 0- 0- 0- 0- 0- 0- 0- 0],[4- 0- 4- 0- 0- 0- 0- 0],[1804801- 0- 1804801- 0- 0- 0- 0- 0],23.929599517536357,721.3687521773078,9.36221e+10,2.55598e-10,0,0 +404000-0-0,[4- 0- 4- 0- 0- 0- 0- 0- 0- 0- 0- 0- 0],[1804801- 0- 1804801- 0- 0- 0- 0- 0- 0- 0- 0- 0- 0],[4- 0- 4- 0- 0- 0- 0- 0],[1804801- 0- 1804801- 0- 0- 0- 0- 0],23.98063541047566,721.8407875668076,9.38907e+10,2.5541e-10,0,0 +404000-0-0,[4- 0- 4- 0- 0- 0- 0- 0- 0- 0- 0- 0- 0],[1804801- 0- 1804801- 0- 0- 0- 0- 0- 0- 0- 0- 0- 0],[4- 0- 4- 0- 0- 0- 0- 0],[1804801- 0- 1804801- 0- 0- 0- 0- 0],24.285864392102688,735.3564781139453,9.3745e+10,2.59063e-10,0,0 +440000-0-0,[4- 4- 0- 0- 0- 0- 0- 0- 0- 0- 0- 0- 0],[1804801- 1804801- 0- 0- 0- 0- 0- 0- 0- 0- 0- 0- 0],[4- 4- 0- 0- 0- 0- 0- 0],[1804801- 1804801- 0- 0- 0- 0- 0- 0],24.084653436720817,726.7345518189771,9.31466e+10,2.58567e-10,0,0 +440000-0-0,[4- 4- 0- 0- 0- 0- 0- 0- 0- 0- 0- 0- 0],[1804801- 1804801- 0- 0- 0- 0- 0- 0- 0- 0- 0- 0- 0],[4- 4- 0- 0- 0- 0- 0- 0],[1804801- 1804801- 0- 0- 0- 0- 0- 0],24.652112755988767,731.5033821974694,9.31935e+10,2.64526e-10,0,0 +440000-0-0,[4- 4- 0- 0- 0- 0- 0- 0- 0- 0- 0- 0- 0],[1804801- 1804801- 0- 0- 0- 0- 0- 0- 0- 0- 0- 0- 0],[4- 4- 0- 0- 0- 0- 0- 0],[1804801- 1804801- 0- 0- 0- 0- 0- 0],23.764456566046302,722.8338437003015,9.29545e+10,2.55657e-10,0,0 diff --git a/kernel_ridge_linear_model/kernel_ridge.py b/kernel_ridge_linear_model/kernel_ridge.py index 205dee66b6c9571ae8975a2dd903831e79999206..975a338b280691b7ee5412403178e325c622e71f 100755 --- a/kernel_ridge_linear_model/kernel_ridge.py +++ b/kernel_ridge_linear_model/kernel_ridge.py @@ -271,9 +271,15 @@ if (generate_plots): kernel_ridge_ax.bar(X,y, width=0.4) # Add title and axis names print ("Size of X ---: ", len(X)) +<<<<<<< HEAD print ("Size of Y ---: ", len(y)) print ("Size of X ---: ", X) print ("Size of Y ---: ", y) +======= + print ("Size of y ---: ", len(y)) + print ("X ---: ", X) + print ("y ---: ", y) +>>>>>>> 776940c8ae39e461306dc39f57349e722dfb9334 kernel_ridge_ax.set_title('All energy/workload ratio') kernel_ridge_ax.set_xlabel('Configuration') kernel_ridge_ax.set_ylabel(r'Energy consumed/Workload ($\times 10E-11$)') diff --git a/kernel_ridge_linear_model/log_file_for_strange_cases_exploration.txt b/kernel_ridge_linear_model/log_file_for_strange_cases_exploration.txt index e3ac01873bf612e03bf10d9dff069d6e33b005c1..a8dbc6d0aa153c808846f82ca4444ab8ae87f0c0 100755 --- a/kernel_ridge_linear_model/log_file_for_strange_cases_exploration.txt +++ b/kernel_ridge_linear_model/log_file_for_strange_cases_exploration.txt @@ -235,54 +235,3 @@ column mean vector= [4841464250.873068, 4841464250.873068, 4841464250.873068, 4 End computing r squared, result = -0.06746042254849738 Kernel ridge R2 score = -0.06746042254849738 printing plots ----> getting userfriendly values from X values -Size of X ---: 60 -Start computin r squared, result = -column mean vector= [4841464250.873068, 4841464250.873068, 4841464250.873068, 4841464250.873068, 4841464250.873068, 4841464250.873068, 4841464250.873068, 4841464250.873068, 4841464250.873068, 4841464250.873068, 4841464250.873068, 4841464250.873068, 4841464250.873068, 4841464250.873068, 4841464250.873068, 4841464250.873068, 4841464250.873068, 4841464250.873068, 4841464250.873068, 4841464250.873068] - diff with mean vector [-9.63526228e+08 -9.16232073e+08 3.78413307e+09 -9.26190769e+08 - -7.70681480e+08 3.64620317e+09 -8.80315201e+08 -9.93638080e+08 - -1.03749062e+09 3.78443069e+09 -9.28764410e+08 3.88781462e+09 - -1.06193193e+09 -9.40319265e+08 -9.09332839e+08 -8.97640082e+08 - -9.54406598e+08 -9.81399325e+08 -1.01208603e+09 -9.28626622e+08] - diff with mean vector squared [9.28382792e+17 8.39481212e+17 1.43196631e+19 8.57829341e+17 - 5.93949944e+17 1.32947975e+19 7.74954853e+17 9.87316635e+17 - 1.07638679e+18 1.43219156e+19 8.62603329e+17 1.51151025e+19 - 1.12769942e+18 8.84200320e+17 8.26886212e+17 8.05757717e+17 - 9.10891954e+17 9.63144634e+17 1.02431813e+18 8.62347403e+17] - diff with predicted vector [-5.54488822e+08 -2.12227184e+07 4.14463176e+09 -5.65692077e+08 - -8.93759957e+08 4.00670186e+09 -4.71277794e+08 -1.11671656e+09 - -6.76991928e+08 4.19346809e+09 -3.37550547e+07 4.29685203e+09 - -6.52894524e+08 -1.06339774e+09 -1.43234840e+07 -2.63072732e+06 - -5.93972430e+07 -6.20900632e+08 -1.13516450e+09 -5.68127929e+08] - diff with predicted vector squared [3.07457853e+17 4.50403775e+14 1.71779725e+19 3.20007526e+17 - 7.98806862e+17 1.60536598e+19 2.22102759e+17 1.24705587e+18 - 4.58318070e+17 1.75851746e+19 1.13940372e+15 1.84629374e+19 - 4.26271259e+17 1.13081476e+18 2.05162195e+14 6.92072622e+12 - 3.52803248e+15 3.85517595e+17 1.28859845e+18 3.22769344e+17] -End computing r squared, result = -0.06746042254849738 -Start computin r squared, result = -column mean vector= [4841464250.873068, 4841464250.873068, 4841464250.873068, 4841464250.873068, 4841464250.873068, 4841464250.873068, 4841464250.873068, 4841464250.873068, 4841464250.873068, 4841464250.873068, 4841464250.873068, 4841464250.873068, 4841464250.873068, 4841464250.873068, 4841464250.873068, 4841464250.873068, 4841464250.873068, 4841464250.873068, 4841464250.873068, 4841464250.873068] - diff with mean vector [-9.63526228e+08 -9.16232073e+08 3.78413307e+09 -9.26190769e+08 - -7.70681480e+08 3.64620317e+09 -8.80315201e+08 -9.93638080e+08 - -1.03749062e+09 3.78443069e+09 -9.28764410e+08 3.88781462e+09 - -1.06193193e+09 -9.40319265e+08 -9.09332839e+08 -8.97640082e+08 - -9.54406598e+08 -9.81399325e+08 -1.01208603e+09 -9.28626622e+08] - diff with mean vector squared [9.28382792e+17 8.39481212e+17 1.43196631e+19 8.57829341e+17 - 5.93949944e+17 1.32947975e+19 7.74954853e+17 9.87316635e+17 - 1.07638679e+18 1.43219156e+19 8.62603329e+17 1.51151025e+19 - 1.12769942e+18 8.84200320e+17 8.26886212e+17 8.05757717e+17 - 9.10891954e+17 9.63144634e+17 1.02431813e+18 8.62347403e+17] - diff with predicted vector [-5.54488822e+08 -2.12227184e+07 4.14463176e+09 -5.65692077e+08 - -8.93759957e+08 4.00670186e+09 -4.71277794e+08 -1.11671656e+09 - -6.76991928e+08 4.19346809e+09 -3.37550547e+07 4.29685203e+09 - -6.52894524e+08 -1.06339774e+09 -1.43234840e+07 -2.63072732e+06 - -5.93972430e+07 -6.20900632e+08 -1.13516450e+09 -5.68127929e+08] - diff with predicted vector squared [3.07457853e+17 4.50403775e+14 1.71779725e+19 3.20007526e+17 - 7.98806862e+17 1.60536598e+19 2.22102759e+17 1.24705587e+18 - 4.58318070e+17 1.75851746e+19 1.13940372e+15 1.84629374e+19 - 4.26271259e+17 1.13081476e+18 2.05162195e+14 6.92072622e+12 - 3.52803248e+15 3.85517595e+17 1.28859845e+18 3.22769344e+17] -End computing r squared, result = -0.06746042254849738 - R2 error = -0.06746042254849738 - --- Actual line: ['google_pixel_4a_5g', 'google_pixel_4a_5g_format', False, False, 1000, 0.01000000099, False, '----', 0, 1000000000.0, 1000000000.0, 1e-09, 1000, 0.1, 100, False, -0.06746042254849738, 10, 10, 'base_Y_F_N_on_socket'] ---- Total execution time: 0.854985237121582 seconds = 0.014249753952026368 mins