Process.monotonicClockTime

Dear users and developers,

What does Process.monotonicClockTime: mean?
I could not find any clue…

Best regards,

One can test it:

(
r = SystemClock.schedAbs(SystemClock.seconds.roundUp,
	Routine {
		loop {
			(
				logicalTime: SystemClock.seconds,
				elapsedTime: Main.elapsedTime,
				monotonic: Process.monotonicClockTime
			).postln;
			1.0.wait;
		}
	}
);
)

( 'logicalTime': 8.0, 'monotonic': 111746.18758955, 'elapsedTime': 8.000117771 )
( 'logicalTime': 9.0, 'monotonic': 111747.18764963, 'elapsedTime': 9.000177314 )
( 'logicalTime': 10.0, 'monotonic': 111748.1876564, 'elapsedTime': 10.000183695 )
( 'logicalTime': 11.0, 'monotonic': 111749.18765177, 'elapsedTime': 11.000179424 )
( 'logicalTime': 12.0, 'monotonic': 111750.18764555, 'elapsedTime': 12.000172963 )
( 'logicalTime': 13.0, 'monotonic': 111751.18771313, 'elapsedTime': 13.000240807 )
( 'logicalTime': 14.0, 'monotonic': 111752.18770075, 'elapsedTime': 14.000227998 )
( 'logicalTime': 15.0, 'monotonic': 111753.18758011, 'elapsedTime': 15.000108591 )

First impression is that it doesn’t appear to be very useful, and it’s probably not worth wasting any time on it.

hjh

1 Like