How can I measure time with microsecond precision in Java?

My guess is that since System.nanoTime() uses the “most precise available system timer” which apparently only has millisecond-precision on your system, you can’t get anything better.

Leave a Comment