LightBlog

dimanche 22 mars 2015

Getting nanosecond time from adb shell?

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.





from xda-developers http://ift.tt/1MYmARb

via IFTTT

Aucun commentaire:

Enregistrer un commentaire