At least on my Linux computer, changing the time of the system affects System.nanoTime()
, making it unreliable to determine an interval if the time of the system is changed during that interval.
Is there an equivalent to this function which do not depend on the time of the system?