Difference between revisions of "SysTime"
From Wiki
m (→Example) |
|||
Line 10: | Line 10: | ||
set %testCnt %testCnt + 1 | set %testCnt %testCnt + 1 | ||
} | } | ||
− | set %endTime | + | set %endTime #sysTime - %startTime |
Display ok time elapsed in milliseconds: , #spc , %endTime | Display ok time elapsed in milliseconds: , #spc , %endTime | ||
halt | halt |
Revision as of 20:38, 5 September 2005
⇒ | Represents the time passed since 01/Jan/1980 UTC (it is timezone independant) in millisecond increments. It can be useful for timing and time calculations. it is also not affected by overflow issues or speedhack tools. |
Example
set %startTime #sysTime for %testLoop 1 1000 { set %testCnt %testCnt + 1 } set %endTime #sysTime - %startTime Display ok time elapsed in milliseconds: , #spc , %endTime halt
See also
Main Page | Documentation |