*** UNIX MANUAL PAGE BROWSER ***

A Nergahak database for man pages research.

Navigation

Directory Browser

1Browse 4.4BSD4.4BSD
1Browse Digital UNIXDigital UNIX 4.0e
1Browse FreeBSDFreeBSD 14.3
1Browse MINIXMINIX 3.4.0rc6-d5e4fc0
1Browse NetBSDNetBSD 10.1
1Browse OpenBSDOpenBSD 7.7
1Browse UNIX v7Version 7 UNIX
1Browse UNIX v10Version 10 UNIX

Manual Page Search

Manual Page Result

0 Command: clock_getcpuclockid | Section: 3 | Source: OpenBSD | File: clock_getcpuclockid.3
CLOCK_GETCPUCLOCKID(3) FreeBSD Library Functions Manual NAME clock_getcpuclockid - get a clock measuring process CPU time SYNOPSIS #include <time.h> int clock_getcpuclockid(pid_t pid, clockid_t *clock_id); DESCRIPTION The clock_getcpuclockid() function allows the calling process to get a clockid_t value that measures the time spent by CPUs running in user or kernel mode on behalf of the process specified by pid. If pid is zero, then a clock for the calling process will be returned. RETURN VALUES If successful, clock_getcpuclockid() will return zero. Otherwise an error number will be returned to indicate the error. ERRORS clock_getcpuclockid() will fail if: [EPERM] pid is neither zero nor the PID of the calling process. SEE ALSO clock_gettime(2), pthread_getcpuclockid(3) STANDARDS The clock_getcpuclockid() function conforms to IEEE Std 1003.1-2008 ("POSIX.1"). HISTORY The clock_getcpuclockid() function first appeared in IEEE Std 1003.1d-1999 ("POSIX.1d") and has been available since OpenBSD 5.4. FreeBSD 14.1-RELEASE-p8 January 15, 2015 FreeBSD 14.1-RELEASE-p8

Navigation Options