--- a/AbstractOperatingSystem.st Fri Aug 04 20:10:56 2017 +0200
+++ b/AbstractOperatingSystem.st Mon Aug 07 11:56:45 2017 +0200
@@ -1,3 +1,5 @@
+"{ Encoding: utf8 }"
+
"
COPYRIGHT (c) 1988 by Claus Gittinger
All Rights Reserved
@@ -1137,6 +1139,7 @@
"Created: / 12.11.1998 / 14:39:20 / cg"
! !
+
!AbstractOperatingSystem class methodsFor:'executing OS commands-public'!
executeCommand:aCommandString
@@ -6789,6 +6792,23 @@
self subclassResponsibility
!
+getMonotonicNanosecondTime
+ "This returns the nanosecond timers value - if available.
+ On some machines, times with this precision may not be available,
+ on those, the returned value may be rounded towards some internal
+ clock resolution value.
+
+ If supported by the system, it uses a clock that cannot be set and represents
+ monotonic time since some unspecified starting point. This clock is not affected by
+ discontinuous jumps in the system time
+ (e.g., if the system administrator manually changes the clock), but is affected by
+ the incremental adjustments performed by adjtime(3) and NTP."
+
+ ^ self subclassResponsibility
+
+ "Modified (comment): / 07-08-2017 / 11:56:02 / stefan"
+!
+
getOSTime
"This returns the OS time.
The base of the returned value is not consistent across
@@ -6804,6 +6824,20 @@
self subclassResponsibility
!
+getRealNanosecondTime
+ "This returns the microsecond timers value - if available.
+ On some machines, times with this precision may not be available,
+ on those, the returned value may be rounded towards some internal
+ clock resolution value.
+ Note, that the timers value is not monotonic,
+ it may jump forward or backward if the sytsems time is changed by e.g. NTP
+ or the system administrator!!"
+
+ ^ self subclassResponsibility
+
+ "Modified (comment): / 07-08-2017 / 11:55:46 / stefan"
+!
+
maximumMillisecondTimeDelta
"this returns the maximum delta supported by millisecondCounter
based methods. The returned value is half the value at which the