I want to count the time elapsed between two events in nanoseconds. To do that, I can use System.nanoTime() as mentioned here. The problem is that the two event
System.nanoTime()
It's supposed to be, but due to buggy kernels or hardware, the answer can be no, at least in some environments.