FileDocCategorySizeDatePackage
ComputeBench.javaAPI DocAndroid 5.1 API1163Thu Mar 12 22:22:54 GMT 2015com.example.android.rs.computebench

ComputeBench

public class ComputeBench extends android.app.Activity

Fields Summary
private android.renderscript.RenderScript
mRS
private Benchmark
mBenchmark
Constructors Summary
Methods Summary
protected voidonCreate(android.os.Bundle savedInstanceState)

        super.onCreate(savedInstanceState);
        setContentView(R.layout.main);

        mRS = RenderScript.create(this);

        mBenchmark = new Benchmark(mRS, getResources());
        mBenchmark.run();