blob: f853da11eb8b8d9a1381a4342b63c3beffe3b88a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
|
package org.linaro.iasenov.benchmarkframework;
import android.util.Log;
/**
* Created by iasenov on 10/24/16.
*/
public class Test34 extends BaseBenchmark{
private String TAG = "Hint";
public String startBenchmark(int count)
{
version = " Hint";
benchmarkName = "Test34";
executable_name = "hint";
integrationType = "EX";
chartName = "Hint";
clear();
startTest = System.currentTimeMillis();
String param = "";
TESTCOMMANDS = getCommands(executable_name, benchmarkName);
xout[2] = copyAssetsExecFileAndRun(executable_name, TESTCOMMANDS);
endTest = System.currentTimeMillis();
sendElapsedTimeToChart();
submitElapsedTime(endTest-startTest);
return benchmarkName + ":" + getBenchmarkResult(5, integrationType);
}
public boolean stopBenchmark(){
process_exec.destroy();
Log.i(TAG, "Destroy Process:" + process_exec.toString());
return true;
}
}
|