Node:Keeping track of Time, Next:Miscellaneous Words, Previous:Passing Commands to the OS, Up:Words
Wait at least n milli-second.
msn -- facility-ext ``ms''
Report the current time of day. Seconds, minutes and hours are numbered from 0. Months are numbered from 1.
time&date-- nsec nmin nhour nday nmonth nyear facility-ext ``time-and-date''
Report the current time in microseconds since some epoch.
utime-- dtime gforth ``utime''
duser and dsystem are the respective user- and system-level CPU times used since the start of the Forth system (excluding child processes), in microseconds (the granularity may be much larger, however). On platforms without the getrusage call, it reports elapsed time (since some epoch) for duser and 0 for dsystem.
cputime-- duser dsystem gforth ``cputime''