public static native monotonicMs() as Double
Returns a monotonic timestamp in milliseconds.
This value is intended for elapsed-time measurements. Unlike Application.timeMs(), it is not tied to the system wall clock and does not move backwards when the operating system adjusts the current time.
A monotonic timestamp expressed as milliseconds.
begin = Application.monotonicMs()
# Work to measure
end = Application.monotonicMs()
print(f"Duration = {end-begin} ms")