Add certain control options for being started by am
authorJeremy Chang <jeremy@0xlab.org>
Thu, 20 Jan 2011 16:28:31 +0000 (00:28 +0800)
committerJeremy Chang <jeremy@0xlab.org>
Tue, 25 Jan 2011 12:21:42 +0000 (20:21 +0800)
commitfa1daea6c1e4c03687ebd152904cb4d35a779686
treec924b5e7573b1a7b6f3ddc4bf40cdb364b61d226
parenta4131e85246aad62ac0cfd2ad9fe0ebe1549fce9
Add certain control options for being started by am

0xbench can be launched with certain bench categories checked and antorun
enabled by command as below example:
$ adb shell am start -n org.zeroxlab.benchmark/org.zeroxlab.benchmark.Benchmark
 --ez math true --ez vm true --ez autorun true

Also after finishing the bench, the benchmark result will be uploaded
automatically if autoupload is set true as "--ez autoupload true"
src/org/zeroxlab/benchmark/Benchmark.java
src/org/zeroxlab/benchmark/Report.java
src/org/zeroxlab/benchmark/Upload.java