Quantcast
Channel: xda-developers - Android Software and Hacking General [Developers Only]
Viewing all articles
Browse latest Browse all 3614

Getting nanosecond time from adb shell?

$
0
0
I need some way of getting nanosecond time inside adb shell (to measure precise execution time of utilities). The %N in 'date +%s.%N' returns simply %N or N.

Before I been using botbrew shell to run date command from there (which had support for the nanoseconds precision -- date +%s.%N ). However now it seems to be inactive. No repository is maintained.

Viewing all articles
Browse latest Browse all 3614

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>