*nix Documentation Project
·  Home
 +   man pages
·  Linux HOWTOs
·  FreeBSD Tips
·  *niX Forums

  man pages->OpenBSD man pages -> clock (3)              



NAME    [Toc]    [Back]

     clock - determine processor time used

SYNOPSIS    [Toc]    [Back]

     #include <time.h>


DESCRIPTION    [Toc]    [Back]

     The clock() function determines the amount of processor time
used since
     the   invocation   of   the  calling  process,  measured  in

RETURN VALUES    [Toc]    [Back]

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

SEE ALSO    [Toc]    [Back]


STANDARDS    [Toc]    [Back]

     The  clock()  function  conforms to ANSI X3.159-1989 (``ANSI

OpenBSD      3.6                           June      4,      1993
[ Back ]
 Similar pages
Name OS Title
clock Linux Determine processor time
__pset_rtctl HP-UX real-time processor set control
intr_strobe_ics_pct HP-UX limit for the percent of time a processor is allowed to spend in interrupt context
ldconfig Linux determine run-time link bindings
pset_assign_cpu Tru64 Assigns a processor to a processor set
assign_cpu_to_pset Tru64 Assigns a processor to a processor set
create_link HP-UX Creates a soft link and optionally specifies an expiration time and an extension time
vxfs_ifree_timelag HP-UX VxFS inode free time lag (specifies the minimum time to be spent on a freelist)
adjkerntz FreeBSD adjust local time CMOS clock to reflect time zone changes and keep current timezone offset for the k...
TIMEVAL32TO64 Tru64 Gets and sets date and time and converts time between timeval and timeval64
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service