clock man page on Ultrix

Man page or keyword search:  
man Server   3690 pages
apropos Keyword Search (all sections)
Output format
Ultrix logo
[printable version]

clock(3)							      clock(3)

       clock - report CPU time used

       #include <time.h>

       clock_t clock ( )


       The routine returns the amount of CPU time (in microseconds) used since
       the first call to 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 or To determine the time in  seconds,  the	 value
       returned by should be divided by the value of the macro CLOCKS_PER_SEC.

       The resolution of the clock is 16.667 milliseconds.

       The value returned by 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).

See Also
       wait(2), times(3), system(3)


List of man pages available for Ultrix

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
Vote for polarhome
Free Shell Accounts :: the biggest list on the net