GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages


Manual Reference Pages  -  CLOCK (3)

NAME

clock - determine processor time used

CONTENTS

Library
Synopsis
Description
Return Values
See Also
Standards

LIBRARY


.Lb libc

SYNOPSIS


.In time.h clock_t clock void

DESCRIPTION

The clock function determines the amount of processor time used since the invocation of the calling process, measured in CLOCKS_PER_SEC s of a second.

RETURN VALUES

The clock function returns the amount of time used unless an error occurs, in which case the return value is -1.

SEE ALSO

getrusage(2), clocks(7)

STANDARDS

The clock function conforms to -isoC. However, -susv2 requires CLOCKS_PER_SEC to be defined as one million.
.Fx does not conform to this requirement; changing the value would introduce binary incompatibility and one million is still inadequate on modern processors.
Search for    or go to Top of page |  Section 3 |  Main Index


Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.