Skip to content

Instantly share code, notes, and snippets.

@tekk555
Created August 11, 2013 13:52
Show Gist options
  • Save tekk555/6204994 to your computer and use it in GitHub Desktop.
Save tekk555/6204994 to your computer and use it in GitHub Desktop.
ナノ秒精度での計測:java
long t1 = System.nanoTime();
long t2 = System.nanoTime();
System.out.println(t2-t1);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment