Take the 2-minute tour ×

Hy ,

I have to make a aplication on Android to verify the time of 2 types of databases (SQLite , MySQL) , so i need to make an "clock" or something like that to start a time , execute an sql operation and then stop it and take the time. How can i make it ?

share|improve this question

1 Answer 1

up vote 1 down vote accepted

System.nanoTime() or System.currentTimeMillis().

share|improve this answer

Your Answer


