Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ (2) — Plan9 3rd Edition (Vita Nuova)

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

sys-intro(2)

sys-sleep(2)

SYS-MILLISEC(2)

NAME

millisec − millisecond timer

SYNOPSIS

include "sys.m";
sys := load Sys Sys->PATH;
 millisec:fn(): int;

DESCRIPTION

­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 few months; a reboot resets the epoch. 

SEE ALSO

sys-intro(2), sys-sleep(2)

Plan 9  —  June 29, 2000

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026