Mailing List Archive: 49091 messages
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search
 

[REBOL] How to get interval in tenth of sec ?

From: coussement::c::itc::mil::be at: 18-Oct-2000 15:46

Librarian comment

time now has a /precise refinement that should solve this problem:

forever [wait 0,1 print now/time/precise]
 10:32:24.94
 10:32:25.05
 10:32:25.16
 10:32:25.27
 10:32:25.38
 ....
 
Hi list: In the application i'm now developping, I need a mean to time a response interval to an item. I could use the classical : start-time: now/time delta-time: now/time - start-time but this produce a interval in seconds... I should need an interval in tenth of second ! Does REBOL/Core 2.3.0.3.1 support any function like CPU ( ) in some other language ? Does anybody have any solution to this problem ? Thanks in advance !!! ;-) Christophe Coussement