On 8 March 2011 02:37, Jim Huang <jim.hu...@linaro.org> wrote: > I just updated wiki page about Google's compiler benchmark suite: > https://wiki.linaro.org/Platform/Android/UpstreamToolchain > Please check the section, "Evaluate Benchmark suite". > Through adb[1], 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 http://android.git.kernel.org/?p=toolchain/benchmark.git;a=blob;f=scripts/timestamp/src/timestamp.c;hb=HEAD 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. Sincerely, -jserv _______________________________________________ linaro-dev mailing list linaro-dev@lists.linaro.org http://lists.linaro.org/mailman/listinfo/linaro-dev