Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ clock(3C) — sys5 — Apollo Domain/IX SR9.5

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

times(2)

wait(2)

system(3S)



CLOCK(3C)                DOMAIN/IX SYS5                 CLOCK(3C)



NAME
     clock - report CPU time used

USAGE
     long clock()

DESCRIPTION
     Clock returns the amount of CPU time (in microseconds) used
     since the first call to clock.  The time reported is the sum
     of the user and system times of the calling process and any
     terminated child processes for which it has executed wait(2)
     or system(3S).

NOTES
     The value returned by clock is defined in microseconds, for
     compatibility with systems that have CPU clocks with much
     higher resolution.  Because of this, the value returned will
     wrap around after accumulating 2147 seconds of CPU time
     (about 36 minutes).

RELATED INFORMATION
     times(2), wait(2), system(3S)































Printed 12/4/86                                           CLOCK-1





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