| package org.linaro.iasenov.benchmarkframework; |
| |
| import android.util.Log; |
| |
| /** |
| * Created by iasenov on 10/19/16. |
| */ |
| public class Test28 extends BaseBenchmark{ |
| |
| private String TAG = "stream"; |
| |
| public String startBenchmark(int count) |
| { |
| version = " Stream"; |
| benchmarkName = "Test28"; |
| executable_name = "stream"; |
| integrationType = "EX"; |
| chartName = "Stream"; |
| |
| |
| |
| 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; |
| } |
| } |