millisec - millisecond timer — Inferno 1ed
millisec - millisecond timer
include "sys.m"; sys:= load Sys Sys->PATH; millisec: fn(): int;
Description
millisec ( )
The millisec returns the value of an internal system clock in milliseconds.The actual resolution of the clock is a property of the underlying system and may be coarser than a millisecond. The epoch is arbitrary, so millisec is useful for measuring durations but not absolute time. If the system operates continuously, the millisecond counter overflows every couple of months. A reboot resets the epoch.
See Also
Limbo System Module and sleep - delay execution
infernosupport@lucent.com Copyright © 1996,Lucent Technologies, Inc. All rights reserved.