AbstractOperatingSystem.st
changeset 3689 f3351f92641e
parent 3576 9287c054ac83
child 3736 718513f3284e
equal deleted inserted replaced
3688:95643ff0e080 3689:f3351f92641e
  2739      Conversion is to UTC."
  2739      Conversion is to UTC."
  2740 
  2740 
  2741     self subclassResponsibility
  2741     self subclassResponsibility
  2742 !
  2742 !
  2743 
  2743 
       
  2744 getMicrosecondTime
       
  2745     "This returns the microsecond timers value - if available. 
       
  2746      On some machines, times with this precision may not be available,
       
  2747      on those, the returned value may be rounded towards some internal
       
  2748      clock resolution value."
       
  2749 
       
  2750     "/ fallBack - use getMillisecondTime, which must be implemented
       
  2751     "/ for all OS's
       
  2752 
       
  2753     ^ self getMillisecondTime * 1000
       
  2754 
       
  2755     "Created: / 30.7.1998 / 16:38:26 / cg"
       
  2756 !
       
  2757 
  2744 getMillisecondTime
  2758 getMillisecondTime
  2745     "This returns the millisecond timers value. 
  2759     "This returns the millisecond timers value. 
  2746      The range is limited to 0..1fffffff (i.e. the SmallInteger range) to avoid
  2760      The range is limited to 0..1fffffff (i.e. the SmallInteger range) to avoid
  2747      LargeInteger arithmetic when doing timeouts and delays.
  2761      LargeInteger arithmetic when doing timeouts and delays.
  2748      Since this value is wrapping around in regular intervals, this can only be used for 
  2762      Since this value is wrapping around in regular intervals, this can only be used for 
  3247 ! !
  3261 ! !
  3248 
  3262 
  3249 !AbstractOperatingSystem class methodsFor:'documentation'!
  3263 !AbstractOperatingSystem class methodsFor:'documentation'!
  3250 
  3264 
  3251 version
  3265 version
  3252     ^ '$Header: /cvs/stx/stx/libbasic/AbstractOperatingSystem.st,v 1.1 1998-06-15 14:52:33 cg Exp $'
  3266     ^ '$Header: /cvs/stx/stx/libbasic/AbstractOperatingSystem.st,v 1.2 1998-07-30 14:38:54 cg Exp $'
  3253 ! !
  3267 ! !
  3254 AbstractOperatingSystem initialize!
  3268 AbstractOperatingSystem initialize!