Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ () — Motorola System V 88k Release 3.2 Version 1.2C

Media Vault

Software Library

Restoration Projects

Artifacts Sought



  CLOCK(3C)       (C Programming Language Utilities)      CLOCK(3C)



  NAME
       clock - report CPU time used

  SYNOPSIS
       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 its
       terminated child processes for which it has executed
       wait(2), pclose(3S), or system(3S).

       The resolution of the clock is 10 milliseconds on AT&T 3B
       computers.

  SEE ALSO
       times(2), wait(2), popen(3S), system(3S).

  BUGS
       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 only 2147 seconds of CPU time
       (about 36 minutes).

















  Page 1                                                   May 1989
















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