• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Nano Timer

 
Tom Hill
Ranch Hand
Posts: 115
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi guys, I hope you can help:
Im developing in java 1.4.2 is there a mechanism to get the current time in Nano seconds rather than just milliseconds?
 
Paul Sturrock
Bartender
Posts: 10336
Eclipse IDE Hibernate Java
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
System.nanoTime() - since 1.5. Doesn't sound too reliable though.
 
Michael Lloyd Lee
Greenhorn
Posts: 22
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
not without JNI or upgrading to 1.5.
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic