Forums Register Login

Nano Timer

+Pie Number of slices to send: Send
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?
+Pie Number of slices to send: Send
System.nanoTime() - since 1.5. Doesn't sound too reliable though.
+Pie Number of slices to send: Send
not without JNI or upgrading to 1.5.
Space seems cool in the movies, but once you get out there, it is super boring. Now for a fascinating tiny ad:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com


reply
reply
This thread has been viewed 766 times.
Similar Threads
getting the time in milliseconds
Clocking
current time
current time
get milliseconds from java.sql.Timestamp
More...

All times above are in ranch (not your local) time.
The current ranch time is
Mar 28, 2024 23:28:09.