blob: 6bfb515b04f313cc51e1400f9ca08cd7f72d04aa (
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
|
package org.linaro.iasenov.benchmarkframework;
import android.util.Log;
import java.util.Arrays;
import java.util.List;
/**
* Created by iasenov on 8/31/16.
*/
public class Test7 extends BaseBenchmark {
private String TAG = "iozone";
public String startBenchmark(int count) {
version = " Iozone3_465 ";
benchmarkName = "Test7";
executable_name = "iozone";
integrationType = "EX";
clear();
startTest = System.currentTimeMillis();
TESTCOMMANDS = getCommands(executable_name, benchmarkName);
xout[2] = copyAssetsExecFileAndRun(executable_name, TESTCOMMANDS);
endTest = System.currentTimeMillis();
return benchmarkName + ":" + getBenchmarkResult(5, integrationType);
}
public boolean stopBenchmark(){
Log.i(TAG, "Destroy Process:" + process_exec.toString());
process_exec.destroy();
return true;
}
}
|