How to measure time from adb shell with milliseconds resolution?
问题 How can I measure time from adb shell with milliseconds or nanoseconds resolution? Using date +%.%N from adb shell returns 1401546811.N (seconds resolution) instead of something like 1401547289.231869798 (nanoseconds resolution). How can I get either milliseconds or nanoseconds resolution from adb shell? Is there some terminal program that I can use to give me this? I am able to measure time using System.currentTimeMillis() and System.nanoTime() from Android application code itself, but I