A good skia [was: Re: [RFC] Linaro Toolchain for Android and NDK]
jim.huang at linaro.org
Fri Mar 11 21:01:24 UTC 2011
On 8 March 2011 02:37, Jim Huang <jim.huang at linaro.org> wrote:
> I just updated wiki page about Google's compiler benchmark suite:
> Please check the section, "Evaluate Benchmark suite".
> Through adb, it is highly convenient to bench generated binary
> files on Android device:
> time adb shell 'cd /data/local/perflab; echo
> Android_TIME_STAMP_$(timestamp); /data/local/perflab/skia_bench
> -repeat 15; echo Android_TIME_STAMP_$(timestamp)'
> 0.00user 0.00system 4:33.25elapsed 0%CPU (0avgtext+0avgdata 4208maxresident)k
> 0inputs+0outputs (0major+325minor)pagefaults 0swaps
> timestamp: not found
> The function "timestamp" is broken at the moment, and I am still
> looking for the details.
Here "timestamp" is an Android command line tool which reports the
current time in seconds.
You can get it from scripts/timestamp/src/timestamp.c
To build the tool, enter the timestamp directory and type
../bench.py --action=build --toolchain=<Android toolchain path>
adb push out/timestamp to /system/bin on Android device.
Then you are able to call timestamp to report time stamp in seconds.
More information about the linaro-dev